PPM tweaks

Rerwin posted some little fixes for my recent changes to PPM scripts.

Woof commit:

Posted on 7 Jan 2012, 18:10


Posted on 7 Jan 2012, 19:26 by 01micko
PPM debs
Hi Barry,

Have you found gold, meteorites, skylab yet? :)

I don't know if this is fixed or not, but apparently Ubuntu packagers are rather sloppy. They leave all sorts of permissions and ownerships on directories and the packaging system does not seem to filter it out. Consequently, installing random (even "official") .debs can be very hazardous to a puppy system using dpkg-deb. I think runt21 (macpup dev) came up with a fix by unpacking in a sandbox then merging with the system.

Just thought I'd mention it while your on PPM.

Hope you find a chunk of Skylab.

Posted on 8 Jan 2012, 4:29 by Dougal
Barry, this looks promising:
It should enable things like udev to avoid starting all the many modprobe instances and speed things up.

Posted on 8 Jan 2012, 7:41 by plinej
PPM scripts
I updated to your latest scripts in Fatdog64 just to see if they'd work. I compiled vercmp but running petget I just get the error: "unknown operator: lt". I changed the lines in the petget & installpreview.sh scripts from "if vercmp $JWMVER lt 547;then" to "if [ "$JWMVER" -lt 547 ];then" and it works (I'm using jwm 564). Is there a reason for using vercmp instead of the builtin bash less than?

Posted on 8 Jan 2012, 20:20 by BarryK
re vercmp
There are many variants of 'vercmp'. The Puppy one is inside Woof, in woof-code/boot/vercmp.c, binary in woof-code/boot/initrd-tree0/bin.

It gets built with every Woof-built Puppy.