bugs founds while running underneath uml. One percular bug pertaining
to OPTIONS was found after running a uml from the uml box then closing
it again making a new root_fs and opening it again the options were
missing. Haven't noticed this on the host system before. Will also
need to add a c program to determine whether the host kernel is tt or
skas to auto-magically determing what kernel mode to run in.
find port-helper, or otherwise root_fs complain. Have no idea why
this change exists with port-helper because wasn't the case before.
Also, added path for user-mode-linux/usr/bin to find the other tools.
Also, improves all in Makefile
for gui-mode and cli, and all executables can be properly specified.
Ex:
./gbootroot --home . --template Example-Mini.yard --uml-exclusively on
--expect-program ./expect_uml
--uml-kerneluser-mode-linux/usr/bin/linux --root-fs-helper
root_filesystem/root_fs_helper
./gbootroot --home . --template Example-Mini.yard --genext2fs-dir
genext2fs/ --filesystem-command "genext2fs -z -r0"
# I always thought the BEGIN statements were executed before everything else,
# but I have discovered that in this case it has to be placed before the
# use statements if exec /usr/bin/gbootroot is done via $PATH .. I guess
# that makes sense because $PATH is established in the BEGIN.
rearragned and put in BootRoot, but the BEGIN block which sets up the FHS
for perl's INC was now in this file, so ofcourse, gbootroot couldn't find the
modules.
Basically gbootroot has just one function start() called from BootRoot.
Eventually BootRoot will be split further into ARS and ABS. This makes more
sense then having one large gbootroot .. it just grew too much.
Information can come from three sources, the kernel version returned from
a selected kernel in the main section, the user defined kernel version
in the ABS, or `uname -r`. User defined kernel version overrides the kernel.
The root_fs needs to be built in relation to the actual kernel modules
it will run on. Previously the $RELEASE value wasn't returned properly
because of some bugs in kernel_version_check. This has been fixed.