Woof '2compat2pets', '3compat2pets'

This is very specialized, only of interest to me and perhaps one or two others.

I reran the compile of packages in T2, with Xorg 7.3, mesa 6.5.2. I reran it because I wanted all package versions other than Xorg and mesa to be the same versions for the build with Xorg 7.5. Previously, there were different versions of pixman, which I thought might perhaps cause a conflict.

Anyway, having done the compile in T2, I created two new scripts in Woof to convert all of the T2 binary packages into PETs. It is a rather roundabout way of doing it. With file DISTRO_SPECS setup with:

DISTRO_BINARY_COMPAT='t2'
DISTRO_FILE_PREFIX='t2test'
DISTRO_COMPAT_VERSION='9'


I ran these scripts, in this order:

1 ./0pre
2 ./0setup
3 ./support/2compat2pets
4 ./2createpackages
5 ./3builddistro
6 ./support/3compat2pets


This has created a directory 'new-pets' with every binary package compiled in T2 converted to PETs. File 'z-new-pets-db' has all of the database entries.

Running 2createpackage and 3builddistro is not for building a usable Puppy. It only sets things up for 3compat2pets to perform the conversion to PETs with maximum optimizations.

Afterward, I can merge these PETs into directory packages-pet-wary5 and then change DISTRO_SPECS back to building a Wary Puppy.


Posted on 9 Sep 2011, 21:17


Comments:

Posted on 9 Sep 2011, 13:28 by Iguleder1
ntfs-3g template
Barry - Debian's (and therefore, also Ubuntu's) ntfs-3g package has all executables in /usr/bin, so a PLUSEXTRAFILES is needed in the template, otherwise you get a broken package.


Posted on 9 Sep 2011, 13:34 by pemasu
ntfs-3g template fix
I can confirm this need also. It would be nice to have it in woof already.
Cheers.


Posted on 9 Sep 2011, 21:16 by BarryK
re ntfs3g template
Ok, done.



Posted on 9 Sep 2011, 21:19 by BarryK
'3mergepets'
I have created another script, step 7:

7 ./support/3mergepets

...to merge the newly-created PETs into the existing ones.



Posted on 10 Sep 2011, 8:59 by BarryK
re ntfs-3g template
Actually, the way it is supposed to work, is that if a 0-byte file named say 'ntfs-3g' is in /bin in the template, then 2createpackages is supposed to find it where ever it is in the compat-distro binary pkg, and put it into /bin.
...it would seem that that mechanism is not working for you.