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

230 Commits

Author SHA1 Message Date
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
freesource
9de4fc1d56 Remembers state for the new mtd emulation. 2002-03-04 20:33:19 +00:00
freesource
935b5983c8 Added a MTD emulation line to the UML box and some functionality. 2002-03-04 19:32:18 +00:00
freesource
bf98923042 This properly deals with differening mconsole locations. 2002-03-04 17:48:30 +00:00
freesource
896f2a9519 Added cad "Ctrl-Alt-Del" to mconsole interface, and documented it.
Now looks for mconsole at both old location /tmp/uml/$umid/mconsole and
new location $ENV{HOME}/.uml/$umid/mconsole.
2002-03-04 02:06:58 +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
fddfcac837 Updated to 1.3.4 2002-02-11 04:27:14 +00:00
freesource
5f7d6c8941 Improved Replacements Box GUI. 2002-01-22 21:21:20 +00:00
freesource
dac5b05c88 Added a button to open up the Filesystem Box from the ARS, this is on the same
line as Filesystem Size.
2002-01-20 17:17:01 +00:00
freesource
77f64443e3 Getting ready for another release.
During the boot stage the filsystem type was used to determine whether
to use the genext2fs (non-root) method or the normal method used by root.
Now the user type is used, this is better because it prevents conflicts
if a different filesystem type is chosen, or if a non-root user changes to a
different filesystem type in the filesystem box and forgets to change back
to genext2fs; however, it prevents root from using the genext2fs method,
which isn't a problem.  The sudo requirement for lilo is too much of a
requirement, and will be changed in future versions.
2002-01-15 17:34:55 +00:00
freesource
fb9b3ed43b Fixed another non-root boot/root bug. The info had it correct, but the actual
copy with genext2fs was being done from the wrong location.  This has been
fixed.
2002-01-15 07:01:02 +00:00
freesource
b14a469786 Had some testing code which was providing the wrong value for $compress, this
made non-root booting fail for bzip2 because bunzip2 didn't exist in the
initrd.
2002-01-15 06:39:58 +00:00
freesource
8cac3030ca State is saved for the Compression off check box and the Root Filename save
check box.
2002-01-14 01:19:59 +00:00
freesource
b8ad37acb1 The UML Kernel entry box in the ARS remembers state now. 2002-01-14 01:06:05 +00:00
freesource
769e0b8200 Changed the behavior of save_as so that when compression is chosen, the
entry won't be the same as that found in Root Filename, but instead reflects
the newly compressed file.  This change was precipitated by the previous
change to the Accept behavior.
2002-01-14 00:41:27 +00:00