1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-04-04 07:43:22 -04:00

116 Commits

Author SHA1 Message Date
freesource
9cede96d0f Fixed a bug which causes lock-ups during seconf fs creation with
EXPECT, and a bug where .options wasn't being written to disk or the
path was being altered when a variable was being altered.  This also
gets things trim and ready with the coolest discovery being that a
nested kernel can run on the host and in it's nest.  I'll be testing
other nested levels to discover how far this can go and be
incorporated in one package which is nice.
2003-01-05 21:07:15 +00:00
freesource
b7d2a338d7 This adds a new c program skas-or-tt mostly from uml code which
automates the recognition of whether or not the host kernel has the
skas patch applied.  Makefile edits itself, and all gui is automated.
2003-01-03 18:56:48 +00:00
freesource
62ac34672a This adds a new c program skas-or-tt mostly from uml code which
automates the recognition of whether or not the host kernel has the
skas patch applied.  Makefile edits itself, and all gui is automated.
2003-01-03 16:34:21 +00:00
freesource
1578dff32e Thought it was time to update the copy to 2003. Fixed a few minor
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.
2002-12-28 04:37:59 +00:00
freesource
0eadd6eec2 Tested gbootroot-nest1 within a uml, nice, will have to tweak the
logic for cmdline only to set-up .gbootroot* properly, and the logic
pertaining to mode={tt,skas}, but other than that things are working
nicely.  Will have to come out with a new make-debian-x11 package, but
then again will need to come out with a new root_fs representing the
nesting changes, too.
2002-12-27 06:40:08 +00:00
freesource
405d19a98e This gets things working nicely. Now exits sooner for root_fs_helper
because the nbd line no longer presents itself.  Makefile is almost
done.
2002-12-16 13:35:30 +00:00
freesource
953854a5a4 This gets everything working properly. Now --home works properly both
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"
2002-12-11 18:45:36 +00:00
freesource
29e9e73202 This allows adds the kernel option for UML in expect_uml, it's amazing
what you find when you remove the system package.  Getting closer.
2002-12-11 06:53:24 +00:00
freesource
50bbbb674c cvs from emacs 2002-12-08 23:11:24 +00:00
freesource
8827b1b0d4 Some even more elaborate changes so that the gui can be ran from the immediate
directory for testing using only the --home option.  Also, made sure genext2fs
can be found.
2002-11-20 06:13:56 +00:00
freesource
705d8a7856 Now there are some hidden options so that root_fs can be made from the
programs from within the source code like:

perl -I . ./gbootroot --home . --template Helper.yard --root-filename root_fs_experiment --root-fs-helper-location ./root_filesystem/root_fs_helper --uml-exclusively on --expect-program ./expect_uml
2002-11-18 19:52:46 +00:00
freesource
bfed2bb88f This corrects nss_check so that the proper version from libc6 is recognized
for nss libraries.  Hopefully, this corrects problems for even newer libc6
versions in the future.
2002-11-18 17:48:54 +00:00
freesource
578ddd6dd2 Now things are working perfectly. Had to add a last statement to the while
wrapper for expect_uml, this is a new bug.  And added preserve-permissions.
2002-11-17 04:01:23 +00:00
freesource
407879252c Changed stdout to no-stdout so that stdout is the default, but can be turned
off, and fixed a major bug with undef value used in dirname which caused to
program to die.
2002-11-14 08:38:41 +00:00
freesource
f960c66fcb This gets just about every option working, except for uml-kernel and
preserve-ownership.  Adds color --stdout.  Basically, the bare min is
--template and --stdout for display on console.
2002-11-14 08:21:18 +00:00
freesource
2f4e1cdcc6 This gets read_contents_file working, hopefully error() is the only gtk related
sub to watch out for.
2002-11-14 04:37:08 +00:00
freesource
830a1c109a Now gbootroot is functioning well as either a GUI or CLI in relation to whether or not arguments are added. Options.pm allows things to be checked before interpreting so that a determination can be made what mode to go in. 2002-11-14 00:54:50 +00:00
freesource
8db50ec6ac This adds some more doc, and begins to explore GetOpt, unfortunately it's presently going into an endless loop when there is an incorrect opt. 2002-11-11 08:04:12 +00:00
freesource
86f767a446 Yard won't attempt to make /dev on compressed fs and ro if /dev is a symbolic
link, won't complain when there is an unitialized value in concatation in
Boot,  Ramdisk_size is always 4096 for mtdram, this setting isn't really
necessary, but is left anyways.
2002-03-09 01:47:24 +00:00
freesource
93b5f23410 Now files for uml_exclusively are made in create_expect_uml which is
effectively known as the create stage.  This avoids the unecessary previous
requirement of having to select the copy stage again just to create a file
for /dev/ubd/0.  The file created is sparse, got this idea from a discussion
Jeff had with a user on uml-user.
2002-03-01 05:45:46 +00:00
freesource
d2fb7540f3 This adds jffs/jffs2 construction, expect_uml will have to be changed a little
bit more, but have tested this with an initrd, and it works pretty nicely
even with large fs assuming mem is set high enough.  Mtdram was chosen over
blkmtd for now.
2002-02-21 18:49:14 +00:00
freesource
033c61d043 Removed unecessary warning which warned that left-hand side replacements
couldn't be a directory if it happened to find that directory on the hostfs.
Directories can be replacements.
2002-02-13 19:42:53 +00:00
freesource
d64bb295d3 Time to update. 2002-01-04 00:51:28 +00:00
freesource
e017fcaa55 A little experiment with reiserfs which didn't work on a loop device, ofcourse,
but is set-up if it ever does.  More verbosity when dd runs.
2001-12-23 08:34:26 +00:00
freesource
69938bb625 No sense to have to removes of lost+found. 2001-12-22 23:25:50 +00:00
freesource
8180a0375f This ensures that the mount point is umount between the Copy and Create
stages when root is using a loop device.
2001-12-22 23:23:55 +00:00
freesource
209f162b71 Added a new stage button in the Yard Box called Copy. Create is now Copy, and
the uml_exclusively and genext2fs behavior are handled by Create, this is
much nicer because a new filsystem type can be created without having to wait
for everything to be copied again to the sources directory.
2001-12-22 21:44:40 +00:00
freesource
2f3fa62828 Starting to consider a new stage by replaceing create with copy, and associating
create only with the root_fs helper and uml_exclusively.
2001-12-22 20:42:30 +00:00
freesource
5a2e504c1d a little bit more verbosity change. 2001-12-21 18:44:55 +00:00
freesource
c7ff2c231c Made the uml_helper output verbosity 2. 2001-12-21 18:25:24 +00:00
freesource
79ceb15b1f This adds romfs capability. 2001-12-21 18:05:07 +00:00
freesource
08999ef628 perm changes for BootRoot, comment in Yard. 2001-12-21 17:00:32 +00:00
freesource
b261b47c4b Root Filename and verbosity are properly updated for the new *_cramfs. 2001-12-21 15:28:36 +00:00
freesource
dc17ffe59a Before, if the sources created from the template had a symlink in them already,
you couldn't just press create again .. (for instance for genext2f or
uml_exclusively).  This has been fixed.
2001-12-21 03:24:16 +00:00
freesource
180b6655de Making sure permissions are preserved for uml_exclusively in contrast to
preserve_ownership.
2001-12-21 02:56:29 +00:00
freesource
7a5dc8a73b Changed preserve_permissions to preserve_ownership. 2001-12-21 02:50:01 +00:00
freesource
f9ad7744a7 This makes sure that the uml_exclusively and preserve_permissions remain dynamic
in the YardBox.
2001-12-20 22:47:27 +00:00
freesource
82ced90590 Added preserve_permissions. 2001-12-19 06:03:46 +00:00
freesource
dac4e56455 The most recent changes .. reiserfs is working nicely now. 2001-12-19 05:53:50 +00:00
freesource
8842b19a6b Works nicely for normal user now, just need to improve logic a little, and
it is ready to ship.
2001-12-18 19:50:48 +00:00
freesource
619981c0cb Starting to carry the login of uml_exclusively and preserve_permissions over. 2001-12-17 23:47:58 +00:00
freesource
ce48f6e8e1 The ldd test was only checking for busybox .. now it checks for everything,
when ldd produces only STDERR then it isn't the libc6 ldd, ofcourse, this
should be tested on other alternative libs.
2001-12-15 09:31:44 +00:00
freesource
d67ceb97bb Making sure normal users get a /dev directory when fs_size > 8192. 2001-12-13 05:29:23 +00:00
freesource
185092ff21 This solves the freeze problem for particularly large templates ..
verbosity box still hogs cpu though.
2001-12-11 06:47:33 +00:00
freesource
8496cc1d6a Added a newline to that warning. 2001-12-08 04:18:36 +00:00
freesource
58e7a202da Made the termcap check just a warning if terminfo or termcap don't exist,
If a terminfo directory is found, linux will need to exist or the test will
return error.  This is better because the root filesystem can still work
if this information doesn't exist.  A minority of gettys will fail if they
use termcap or terminfo, but this check was removed from the chrooted tests
several months ago for the reason just cited.  Note: check_getty_type_call
was removed from Yard.pm, but exists in chrooted tests without the termcap
check.  Also, added a close which was missing.
2001-12-08 04:16:13 +00:00
freesource
1c435dfadc This removes a change which was placed when removing chrooted tests, this
was an unecessary change and permanently made chrooted tests 0.  Also noted
how sys could be used for verbosity 3.
2001-12-07 08:00:15 +00:00
freesource
1182907060 Now dd's for normal user if > 8192k, this will be made more sophisticated
in the future.
2001-12-06 18:38:22 +00:00
freesource
4f0acd4aaa Now global hashes are always cleared when a new check is ran, this makes more
sense and avoids subtle errors.
2001-12-03 18:44:41 +00:00
freesource
c85fc0f1a8 This turns on and off nss in the ldd loop. 2001-12-03 05:49:24 +00:00