Page 1 of 1

Woof-CE_2023 - 0setup

Posted: Sat Apr 15, 2023 3:17 pm
by stemsee

https://github.com/puppylinux-woof-CE/woof-CE

I'm gonna post my observations on using woof-ce to build a puppy. In this case ubuntu jammy, on my local machine.

Firstly I was trying to build a kernel with kernel kit....K6.2.9, using 6.1* config.

Kernel kit stopped at aufs-utils. My own sukk, based upon the older build.sh, has no problem.

Then I decided to have a go at building Jammy, with my custom populated rootfs skeleton.

The issues 0setup has, 1) if a package is not found the script exits.

Then I go to http://ubuntu-master.mirror.tudos.de/ub ... sts/jammy/ where all the missing packages can be found and downloaded. But in which folder do i download them to so that the 0setup can also search for them locally, and so not exit. Because once it exits you have to run 0setup again .... that means watching it download all the lists over and over again ... I have about 20 missing packages (so far!) ... so i had to do this routine 20 times before I got all the packages .... but not knowing where to put them I had to edit DISTRO_PACKAGES_SPECS-ubuntu-jammy changing yes to no and deleting '||yes' for those packages .... because previously I recall, being able to expand those packages in a build dir later in the process and still get a functional basesfs. ... why can't a directory be used in /tmp which is named and dated so that 0setup can know the lists there are already the latest, and not repeat the process until all missing packages are listed? The following script can instead refuse to run if some flag is either not removed or in-place.

to be continued ....


Re: Woof-CE_2023 - 0setup

Posted: Sat Apr 15, 2023 3:18 pm
by stemsee

reserved


Re: Woof-CE_2023 - 0setup

Posted: Sun Apr 16, 2023 6:10 am
by peebee

I can build 6.2 kernels OK ..... should be using aufs-util-6.0 - see funcs.sh

What is error displayed??

Downloaded packages go into packages-deb-jammy & packages-pet

which are links to:
../local-repositories/x86_64/packages-deb-jammy
../local-repositories/x86_64/packages-pet

but 0setup is not downloading - it is just checking that the packages specified are available in the repos specified in DISTRO_COMPAT_REPOS- and DISTRO_PET_REPOS

1download does the download.


Re: Woof-CE_2023 - 0setup

Posted: Mon Apr 17, 2023 2:03 pm
by stemsee

Probably I shouldn't run woof-ce on fatdog.....!


Re: Woof-CE_2023 - 0setup

Posted: Mon Apr 17, 2023 5:02 pm
by dimkr

Re: Woof-CE_2023 - 0setup

Posted: Tue Apr 18, 2023 9:19 am
by stemsee
dimkr wrote: Mon Apr 17, 2023 5:02 pm

If the dependencies are met, woof-CE can run in pretty much any distro (https://github.com/puppylinux-woof-CE/w ... ld.yml#L60).

All the builds in this table (https://github.com/puppylinux-woof-CE/w ... py-builder) plus kernel builds (https://github.com/puppylinux-woof-CE/w ... el-kit.yml, https://github.com/puppylinux-woof-CE/w ... kernel.yml, https://github.com/puppylinux-woof-CE/w ... kernel.yml) run on Ubuntu and Debian reliably.

So you have added vercmp installer, right? ... good!

Which part of the _func script do I alter to check for the existence of local downloaded packages, when not found online, or even if found online?