1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-23 09:03:23 -05:00

246 Commits

Author SHA1 Message Date
freesource
1e51a10101 This pretty much completes the development cycle for 1.4.0, unless
anything major comes up.  Added some links to the webpage, information
how to customize the kernel in the source package, and ups the date,
though that will probably be done one more time.
2003-01-11 03:56:08 +00:00
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
8c8fd921db 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 19:35:49 +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
28ba4c9b94 Preping for release. 2002-12-20 19:28:50 +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
7df8826e1e Made linux, linuxbr to avoid overlapping with other packages, ofcource
this could be made a variable, too, in BootRoot.pm.
2002-12-12 06:56:00 +00:00
freesource
81051244ae Just properly orders --help a little 2002-12-11 18:54:16 +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
6ad8077da8 documented genext2fs-dir 2002-12-08 23:01:45 +00:00
freesource
4c90daea57 Changed linuxbr to linux, may ultimately change it to linux so it doesn't
conflict with user-mode-linux, need to check on the set-up. Probably gbootroot
should be made to conflict with these deb packages.  Options has more
explanation and another hidden option added.
2002-11-20 06:18:00 +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
7727285976 Didn't do a save. 2002-11-14 19:51:09 +00:00
freesource
b78a85686f This add --help|-h and the corresponding text. Just need to get uml-exlusively
working properly
2002-11-14 19:49:12 +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
79631e765c Planning documentaion for variables for commandline. 2002-11-10 05:21:06 +00:00
freesource
9de07f7f5e This is the start of giving gbootroot some commandline functionality similar to
bootroot, but more specific with the primary goal of allowing root_fs
prototyping without the use of the GUI.
2002-11-10 04:21:10 +00:00
freesource
d077def592 Improved the parameter explanation .. ramdisk_size really wasn't crucial, and
removed mem=16M as a default, first of all this is already standard, and secondly
it may cause problems for users unaware of the MTD Emulators default settings.
2002-03-13 19:21:49 +00:00
freesource
59c8a5333e This only checks Root_Fs for $ubd0, which makes a lot more sense and avoides
unecessary duplications.
2002-03-11 17:25:01 +00:00
freesource
bcf2987f21 This adds better memory ratios for blkmtd. 2002-03-11 16:43:10 +00:00
freesource
63dc15fe8e Improves the mtd_init regexp even more. 2002-03-11 03:16:23 +00:00
freesource
2e41744e08 This makes for a better regexp .. will also match "/sbin/init 2" for mtd_init 2002-03-11 03:10:51 +00:00
freesource
24897ac61e This goes a step farther an allows ubd to be ubd\d{1] rather then confined to
1, however, mtd and mtdblock will be 0 for the first module invocation.
2002-03-09 06:50:27 +00:00
freesource
80ebd88aef This allow ubd0\w?, this works with mtdram, but causes blkmtd to fail. 2002-03-09 06:00:07 +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
4da04f8623 This adds ceil() to $total_size, and always makes sure that ramdisk_size is
at least 4096.
2002-03-08 07:35:32 +00:00
freesource
bf4200e3c5 Fixed a little bug where initrd= wasn't being passed. Everythings looks good
with the default Initrd.gz.
2002-03-08 03:45:26 +00:00
freesource
ecc03b1980 This completes the init and mtd_init recognization .. added single. 2002-03-07 17:54:23 +00:00
freesource
967df903ea This adds the mtd_init option to the kernel command-line so that the
pivot_root routine can be interacted with, and also checks for alternative
runlevels, all assigned to $init.
2002-03-07 07:27:10 +00:00
freesource
74dd88069a This is even nicer. It gives both mtdram and blkmtd the same memory parameters
for mem.  Just have to watch out for that nasty cramfsck by Linus.
2002-03-07 03:45:11 +00:00
freesource
fadcb89061 More mem adjustments, this time to the spin wheel, 1024 for 1, 8192 for 2,
these are great setting for mtdram .. <16M files can use the small adj.
>16M should zero down with 3 and increment with 2nd button.
2002-03-07 03:16:46 +00:00
freesource
30a11e4bf2 A few more improvements to the mtd code to handle memory better 16M increments
for mtdram, will probably do a similiar thing for blkmtd which appears to be
exponential 16 32 64 etc .. ofcourse at 128 things can get narly.
2002-03-07 02:55:32 +00:00
freesource
6b3eda4286 This pretty much covers it, have both mtdram and blkmtd working, just need to
figure out where Initrd.gz will be stored.
2002-03-06 20:30:06 +00:00
freesource
7fcb2ca973 Worked out lots of issues with mem, even using POSIX, tested well for mtdram,
interface is almost there.
2002-03-06 07:40:33 +00:00
freesource
07694a9bf1 This sets up everything, and tests the new mtd interface, looks good. 2002-03-06 03:55:19 +00:00
freesource
f7921951e1 This keeps a nice size ration for $mtd_total_size, and automatically checks if
the root_fs is real.
2002-03-05 07:20:58 +00:00
freesource
3fcea5beb5 Now it has the look. 2002-03-05 00:13:48 +00:00
freesource
4920a10f03 Better sizing. 2002-03-04 21:06:51 +00:00