gentoo-asahi-releng/tools-hardened/desktop
Devan Franchini 301b3bcf25 tools-hardened/desktop: Adds KERNEL_DIR env var to emerge calls
It is important that when emerging packages no kernel configuration
is taken from the running kernel, to fix this all calls to emerge
have been prepended with the KERNEL_DIR env var which includes the
kernel src dir that emerge should look at inside the chroot.
2014-10-07 13:32:52 -04:00
..
configs tools-hardened/desktop/: Updates kernel to 3.14.2-r1. 2014-05-06 15:22:32 -04:00
files tools-hardened: Updates package requirements for gnome3-th building 2014-09-24 17:02:31 -04:00
thuser tools-hardened/desktop: initial commit of hardened amd64 desktop 2014-04-06 08:13:10 -04:00
fluxbox-run.sh tools-hardened/desktop: Adds kernel source population in chroot 2014-10-07 13:32:51 -04:00
gnome3-run.sh tools-hardened/desktop: Adds kernel source population in chroot 2014-10-07 13:32:51 -04:00
make.sh tools-hardened/desktop: centralizes common code for build scripts 2014-04-08 15:57:40 -04:00
passwd.sh tools-hardened/desktop: initial commit of hardened amd64 desktop 2014-04-06 08:13:10 -04:00
README tools-hardened: Updates TinHat kernel config to 3.15.8 2014-09-21 19:27:30 -04:00
rebuild.sh tools-hardened/desktop: Adds KERNEL_DIR env var to emerge calls 2014-10-07 13:32:52 -04:00
run-base.sh tools-hardened/desktop: Adds kernel source population in chroot 2014-10-07 13:32:51 -04:00
toolchain.sh tools-hardened/desktop: Adds KERNEL_DIR env var to emerge calls 2014-10-07 13:32:52 -04:00
update.sh tools-hardened/desktop: Adds KERNEL_DIR env var to emerge calls 2014-10-07 13:32:52 -04:00
xfce4-run.sh tools-hardened/desktop: Adds kernel source population in chroot 2014-10-07 13:32:51 -04:00

Kernel Requirements:
====================

On the host system, these packages need to be installed:

* sys-kernel/hardened-sources-3.15.8
* sys-kernel/linux-firmware-20131230
* sys-kernel/genkernel

Once you emerge these things, create a symbolic link of the hardened-sources
to point to "/usr/src/linux-tinhat".

After this you need to apply the Loop-AES patch by doing the following:

* cp ./config/loop-AES-kernel-3.14.patch /usr/src/linux-tinhat/

Then apply the patch:

* rm -f drivers/block/loop.c include/linux/loop.h
* patch -p1 < loop-AES-kernel-3.14.patch

To run:
=======

Execute ./<DM>-run.sh

Where <DM> is a desktop manager of three flavors of choice:

* Fluxbox
* Gnome3
* Xfce4

When your ISO is built, you can clean up by removing the th-<ARCH>-<DM>/
directory as it is no longer needed.

Enjoy! ;)