RPM package support in Woof
May 23, 2011 —
BarryK
A special thanks to Iguleder who has done this, see previous blog post:
http://bkhome.org/archive/blog2/201105/tmp-size-fix.html
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).
Comments
PPM supports RPMUsername: BarryK
I have updated the PPM to support RPM packages. Theoretically, not yet tested. The modified files: /usr/local/petget/petget, /usr/local/peget/installpkg.sh, /usr/local/petget/fetchinfo.sh. 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.
rpm
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?
Testing
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