the stage2 script has this bit of code: if [ -n "${clst_PKGCACHE}" ] then export EMERGE_OPTS="--usepkg --buildpkg" fi however, the last thing the catalyst stage2 script does is run the bootstrap script ... that script doesnt use $EMERGE_OPTS thus packages are never built/used ... one way to solve the building of packages is to add a line like this: export clst_myfeatures="${clst_myfeatures} buildpkg" to the aforementioned if statement ... i dont think 'usepkg' is a valid FEATURE though, so i'm not sure how to have tell the bootstrap script to use packages ...
its a problem with bootstrap.sh itself. the shoddy code contained within does not allow for variables such as EMERGE_OPTS. kick solar and rac in the ass so that they get their uber bootstrap script completed ;) i'd much rather have this fixed at the source then creating a kludge in catalyst for it. closing.
i fixed the bootstrap-cascade script with like 2 or 3 lines of code :p all catalyst has to do is run the bootstrap script with the '-r' option
is bootstrap-cascade.sh the defacto bootstrap script now?
it is for cascading profiles ;) i'm pretty sure it'll work but i havent tested
the functionality is added to catalyst, but bootstrap-cascade does not seem to work w/ pkgcache. Portage uses its tbz2 just fine, but every package after it does not use its previously created binary package.
i just tested it here with portage-2.0.50-r11 and it worked fine: <snip> --- /usr/share/ --- /sbin/ >>> /sbin/ldconfig >>> Regenerating /etc/ld.so.cache... >>> dev-libs/uclibc-0.9.26-r5 merged. >>> emerge (3 of 7) sys-devel/gnuconfig-20040214 to / >>> extracting info >>> extracting gnuconfig-20040214 >>> Merging sys-devel/gnuconfig-20040214 to / noman noinfo nodoc sfperms --- /usr/ --- /usr/share/ >>> /usr/share/gnuconfig/ <snip>
Re comment #3 (please yes.. all others should be depreciated) For the next release cycle to make it easier on Swift and crew we should simply just move -cascade to the bootstrap.sh slot and then remove bootstrap-2.6. Note that in portage's eye every profile is a cascading one. Please confirm that this can be done and make the needed changes when releng is ready.
Created attachment 39238 [details, diff] stage2-pkgcache-support.patch patch that works for me
releng has no problem using the new bootstrap script. just get it renamed to bootstrap.sh and I will apply this patch. thanks for the work!
fixed in CVS