site  contact  subhomenews

Wary built entirely from PETs

September 20, 2010 — BarryK
I wrote a script in Woof, support/compat2pets, that converts all the packages of a host distro (Ubuntu, Debian, Slackware, etc) used to build the Puppy, into PET packages.

I have applied this to Wary, which is built from T2 packages. By converting the T2 binary packages to PETs, the build system becomes totally divorced from T2, in the same way that Puppy 4.3.1 is.

There is not much difference from the end-user's point of view, except there is no longer any "t2-8.0Xorg7.3" repository in PPM, only "puppy-wary5". It is a subtle but I think good refinement.

I also did a lot of work on the Woof scripts to extract a common block of code that was repeated in four different scripts. This is code that looks at the PKGS_SPECS_TABLE variable and finds the appropriate packages. The scripts that had the common code are 1download, 2createpackages, findwoofinstalledpkgs and rootfs-skeleton/usr/local/petget/


Wary5 PETs uploaded
Username: BarryK
I should also add that I uploaded the converted packages here: They are now available for download by Woof when a Wary5 build is done. Username: 8 Aug 2010, 17:17
"01750"'Category for wary please"scsijon"do "we" have a wary Category (please barry) also noticed the Linux Magazine July 2010 has the deb packs for the "buntu's" in a separate directory. regards scsijon"8 Aug 2010, 18:54"01750"'Ash"Iguleder"Barry, have you considered replacing Bash with Ash in some scripts? I remember I had a script that passed on about 100 packages of my distro (mainly regular expressions work n' stuff, no I/O), around 30,000 files in total, Bash took 38 seconds while Ash did it in 30, almost 25% off."9 Aug 2010, 3:33"01750"'Re ash"BarryK"Yep! Some of Puppy's scripts do use Ash. For example, /etc/rc.d/rc.sysinit and /sbin/pup_event_frontend_d. You will also find some bash versus ash posts in this blog. "9 Aug 2010, 6:04"01750"'Updated Wary iso?"Terryphi"Do you intend producing an updated Wary iso to replace Wary 030?"9 Aug 2010, 18:51"01750"'Re updated Wary"BarryK"Yep, coming soon. Not sure exactly when, probably 4-5 days away. Username: 9 Aug 2010, 19:01

Tags: wary