gentoo-asahi-releng/tools-hardened/desktop
2015-06-16 18:15:17 -04:00
..
configs tools-hardened/desktop: loop-AES-kernel.patch - Updates patch to newest version 2015-06-16 17:33:12 -04:00
files tools-hardened/desktop: Updates kernel to 4.0.4-hardened-r3 2015-06-16 17:47:27 -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 Cleans up code of .sh files 2015-03-15 15:20:15 -04:00
gnome3-run.sh tools-hardened/desktop gnome3-run.sh: Adds check for background dir existance 2015-03-19 16:34:07 -04:00
make.sh tools-hardened/desktop Cleans up code of .sh files 2015-03-15 15:20:15 -04:00
passwd.sh tools-hardened/desktop: Readds bluetooth support to build setup 2015-01-16 22:03:58 -05:00
README tools-hardened/desktop: Updates kernel to 4.0.4-hardened-r3 2015-06-16 17:47:27 -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: run-base.sh - Removes lvm to openRC init services 2015-06-16 18:15:17 -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 Cleans up code of .sh files 2015-03-15 15:20:15 -04:00

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

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

* sys-kernel/hardened-sources-4.0.4-r3
* >=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 ./configs/loop-AES-kernel.patch /usr/src/linux-tinhat/

Then apply the patch:

* cd /usr/src/linux-tinhat
* rm -f drivers/block/loop.c include/linux/loop.h
* patch -p1 < loop-AES-kernel.patch

Stage 3 tarball:
================
TinHat relies on a stage 3 tarball as it's seed to begin the chroot.
By default, it expects to see the tarball in:
"/var/tmp/catalyst/builds/hardened/amd64/stage3-amd64-hardened-latest.tar.bz2"
You can however inform TinHat of your own location of choice by passing it
as an environment variable: "STAGE3".

Feel free to grab a hardened amd64 stage3 of your choice at:
http://distfiles.gentoo.org/releases/amd64/autobuilds/

To run:
=======
ex.) STAGE3="/ministry/of/silly/walks/evil-rabbit.tar.bz2" ./<DM>-run.sh

or without the STAGE3 environment variable.

ex.) ./<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! ;)