In order to set the background for user "thuser" on login a sed
needed to be done to insert the fbsetbg command in the .xinitrc
in the "thuser" home dir.
In order to give the build system more control over the USE flags
during the first and second phase of rebuilding the world packages
the package.use files have been split into two separate files.
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.
In order to make the building of the ISO non-reliant on any sort of
external settings from the build system, the kernel source for needs
to be populated into the chroot, along with the pre-made kernel config.
Previously, if you were to boot this image you would be greeted with
an error message telling you that the background could not be set.
To fix this the package eterm was added to the fluxbox world file
to be pulled in on build-time. However, this only solved the problem
of being unable to set the background manually. To have fluxbox set
it automatically the .xinit was altered to call "exec startfluxbox".
When fluxbox is called by that command it searches for and executes
the startup file located in ~/.fluxbox/. This commit also adds a
custom startup file which sets the background to the default background:
/usr/share/backgrounds/background.jpg. This commit also includes one
unrelated alteration to fluxbox-run.sh which changes the fluxbox init
file to look at the custom menu in /usr/share/fluxbox/usermenu instead
of ~/.fluxbox/my-menu.
The Fluxbox menu can either be a standard default or a custom file. While
there is already a custom menu file in existance under files/usermenu, it
was not previously being copied over prior to the creation of the ISO. This
caused the user to not have a custom menu file upon boot. To fix this, a line
has been added to the script which creates the .fluxbox directory prior to
building the image.
This update includes changes to the README which instruct on how to apply
the loop-AES patch along with updates to the kernel requirements. It also
updates the kernel config to a 3.14.2-r1 compatible .config file, as well as
updating the kernel-config variable to point towards the 3.14.2-r1 config
file.
The build scripts use genkernel to build the kernel and look for the
kernel in /usr/src/linux-tinhat. This detail has been added to make
it clearer for build script users.