On 06/15/11 07:35, Jean-François Maeyhieux wrote:
Hi !

another "hardcore" solution could be to create a chroot fresh
installation whithin you import your system's preferences:

- Create directory - Untar last hardened stage 3 - Copy your /etc in
the chroot - Copy your world file in the chroot - Copy any kind of
data or local aplication to your chroot - chroot and update your
system - when things is done, test it - wipe your old gentoo and
move your chrooted one on /


that's "hardcore" but permit me several times to ressucite a old
gentoo system.

IF you can't do it, the normal way is:

- Recompile your toolchain by compiling twice this ports:
virtual/portage virtual/os-headers sys-libs/glibc
sys-devel/binutils-config sys-devel/binutils sys-devel/gcc-config
(don't forget to switch your gcc on the way and to clean your ccache
if you use it) - Recompile your system (emerge -Davut system) -
Finally recompile your world.



Somewhere you need to fool with profiles and make.conf. I *think* the
profiles will add, e.g., "hardened" to your gcc flag

There used to be a wiki somewhere that described the building of
hardened-gentoo step by step after branching off from the gentoo
handbook - to upgrade a standard box. It may have been called
gentooexperimental, but appears now dead.

IF anyone can point me to current documentation about building a
hardened box (which should include the make.conf and other hardened
settings), please post it here.

TIA

Reply via email to