site  contact  subhomenews

RPM package support in Woof

May 23, 2011 — BarryK
A special thanks to Iguleder who has done this, see previous blog post:

I have applied these patches to Woof. There are five files affected: 0setup, 1download, DISTRO_COMPAT_REPOS-scientific-6rolling, support/rpm2ppm, support/inline_get_compat.

'rpm2ppm' is a new Perl script written by Iguleder.

The scripts use Busybox 'rpm' and 'rpm2cpio' applets.

This is a fantastic initiative, something that I was meaning to do, but never got around to it. Iguleder's Perl coding ability is great as 'rpm2ppm' is significantly faster than what I would have achieved coding in Ash/Bash.

Ok, now the thing I have to do is add RPM support to the Puppy Package Manager (PPM).


PPM supports RPM
Username: BarryK
I have updated the PPM to support RPM packages. Theoretically, not yet tested. The modified files: /usr/local/petget/petget, /usr/local/peget/, /usr/local/petget/ I also added the mime-handling for Rox in rootfs-skeleton/root/Choices/MIME-types to launch petget for RPM files, and modified builddistro to override Rox mime files in rootfs-skeleton instead of possibly older ones in the Rox package.

Username: scsijon
"this almost makes me want to try my OpenSuSE 11.4 database out as they also use rpm. I take it I will have to create a "DISTRO_COMPAT_REPOS-scientific-6rolling" equivalent and the "?where is it found?" file for source location, any serious gotchas Barry / Iguleder I need to be aware of?

Username: Iguleder
"It was tested only against Scientific, so you should be careful. Maybe RPM repos are different - I don't know, that's something we need to test. I'm working on a Scientific Puppy at the moment, I aim at a bootable Puppy by two weeks from now :)

Tags: woof