when I try to bootstrap using "cd /usr/portage; ./scripts/bootstrap.sh", I get the following output: Gentoo Linux; http://www.gentoo.org/ Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL Starting Bootstrap of base system ... Using Using Using >=sys-devel/binutils-2.13.90.0.4 Using <sys-devel/gcc-3.4 Using Using Using Using Using Configuring environment... emerge: please tell me what to do. Usage: emerge [ options ] [ action ] [ ebuildfile | tbz2file | dependency ] [ ... ] emerge [ options ] [ action ] < system | world > emerge < sync | info > emerge --resume [ --pretend | --ask | --skipfirst ] emerge help [ system | config | sync ] Options: -[abcCdDefhikKlnoOpPsSuUvV] [--oneshot] [--noconfmem] [--columns] [--nospinner] Actions: [ clean | depclean | inject | prune | regen | search | unmerge ] For more help try 'emerge --help' or consult the man page. I am not sure I did everything right, but I tested some things: - verified md5 of stage1-x86-2004.2 file - used own rsync-server - emerge regen - started fresh - used main rotation rsync-server - tried different profiles default-x86.2004.2, hardened-x86 At least bootstrap should give a MUCH better error-message. Used own server for
ok, I filed the bug at 5:00 am, so I had some sleep, did some debugging, started fresh. I formatted the partition I was using for this, untarred a md5sum-checked stage1-x86-2004.2 in it, put some hosts, hostname, resolv.conf, make.conf in it, mounted /proc, chrooted in, env-update, source /etc/profile, emerge sync. Here it gets interesting. doing "cd /usr/portage; ./scripts/bootstrap.sh" all works fine. when I stop that, do "cd /etc; rm make.profile; ln -s /usr/portage/profiles/hardened/x86 make.profile" and then bootstrap again, I get the above "emerge: please tell me what to do" error. Even after changing back to the default-x86-2004.2 profile, the problem stays.
you have to use bootstrap-cascade.sh for cascading profiles