gentoo-asahi-releng/tools-hardened/desktop
2014-12-11 18:20:26 -05:00
..
configs tools-hardened/desktop: Moves loop-AES-kernel-3.14.patch to loop-AES-kernel.patch 2014-12-11 17:13:46 -05:00
files tools-hardened/desktop: Replaces cpufreq-utils with cpupower in world files 2014-12-09 22:21:54 -05: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/*-run.sh: Explicitly sets locale to en_US.utf8 2014-10-23 10:47:08 -04:00
gnome3-run.sh tools-hardened/desktop/*-run.sh: Explicitly sets locale to en_US.utf8 2014-10-23 10:47:08 -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/desktop: Updates README to include information about the stage3 tarball 2014-12-11 18:20:26 -05: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: Replaces cpufreq-utils with cpupower in world files 2014-12-09 22:21:54 -05: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/*-run.sh: Explicitly sets locale to en_US.utf8 2014-10-23 10:47:08 -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.patch /usr/src/linux-tinhat/

Then apply the patch:

* 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".

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! ;)