gentoo-asahi-releng/tools-hardened/desktop
2015-02-09 22:28:47 -05:00
..
configs tools-hardened/desktop: Removes unnecessary busybox.txt 2014-12-17 23:53:45 -05:00
files make.xfce4.{1, 2}: Disables libav USE flag 2015-02-09 22:26:43 -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: Code cleanup for build scripts 2015-01-01 23:37:40 -05:00
gnome3-run.sh tools-hardened/desktop: Code cleanup for build scripts 2015-01-01 23:37:40 -05: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: Readds bluetooth support to build setup 2015-01-16 22:03:58 -05:00
README tools-hardened/desktop: Updates kernel config to 3.17.7-r1 2015-01-26 19:18:56 -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: run-base.sh - Moves udev service to sysinit openRC runlevel 2015-02-09 22:28:47 -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: Code cleanup for build scripts 2015-01-01 23:37:40 -05:00

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

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

* sys-kernel/hardened-sources-3.17.7-r1
* >=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:

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