Wary built entirely from PETs

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/findwoofinstalledpkgs.sh.


Posted on 20 Sep 2010, 17:09


Comments:

Posted on 8 Aug 2010, 17:17 by BarryK
Wary5 PETs uploaded
I should also add that I uploaded the converted packages here:

http://distro.ibiblio.org/pub/linux/distributions/puppylinux/pet_packages-wary5/

They are now available for download by Woof when a Wary5 build is done.



Posted on 8 Aug 2010, 18:54 by scsijon
Category for wary please
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


Posted on 9 Aug 2010, 3:33 by Iguleder
Ash
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.


Posted on 9 Aug 2010, 6:04 by BarryK
Re ash
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.


Posted on 9 Aug 2010, 18:51 by Terryphi
Updated Wary iso?
Do you intend producing an updated Wary iso to replace Wary 030?


Posted on 9 Aug 2010, 19:01 by BarryK
Re updated Wary
Yep, coming soon. Not sure exactly when, probably 4-5 days away.