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

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.
This commit is contained in:
freesource 2002-01-15 06:39:58 +00:00
parent ce893535ff
commit b14a469786
2 changed files with 10 additions and 5 deletions

View File

@ -2160,6 +2160,7 @@ sub entry_advanced {
$entry_advanced->signal_connect( "changed", sub { $entry_advanced->signal_connect( "changed", sub {
$entry_advanced[$numa] = $entry_advanced->get_text(); $entry_advanced[$numa] = $entry_advanced->get_text();
print $entry_advanced[$numa], " $numa\n";
if ($numa == 4) { if ($numa == 4) {
$ars->{filename} = $entry_advanced[$numa]; $ars->{filename} = $entry_advanced[$numa];
ars($ars); ars($ars);
@ -3058,6 +3059,7 @@ sub lilo_put_it_together {
# root lilo power, before going on. # root lilo power, before going on.
else { else {
# Ask the user if they have su lilo priviliges. # Ask the user if they have su lilo priviliges.
# Hopefully, password free, but that can be incorporated. # Hopefully, password free, but that can be incorporated.
mtab(3); mtab(3);
@ -3614,9 +3616,9 @@ sub initrd {
if ( $fs_type eq "genext2fs" ) { if ( $fs_type eq "genext2fs" ) {
# Assuming busybox is being used, so bzip2 should still be standard # Assuming busybox is being used, so bzip2 should still be standard
# just another link .. just for testing. # just another link .. just for testing.
if ( $compress eq "bzip2" ) { ##if ( $compress eq "bzip2" ) {
$compress = "bunzip2"; ## $compress = "bunzip2";
} ##}
} }
my $broot_image = basename($root_image); my $broot_image = basename($root_image);

View File

@ -1,12 +1,15 @@
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.
Added another technique in the FAQ to show how space can be saved on the Added another technique in the FAQ to show how space can be saved on the
root_fs by using the libraries from the initrd. Liav instigated this by root_fs by using the libraries from the initrd. Liav instigated this by
asking a question related to FAQ question 16, "So if I understand correctly, asking a question related to FAQ question 14, "So if I understand correctly,
it is not possible to copy libc from /dev/ram0 to /dev/ram1 before mounting it is not possible to copy libc from /dev/ram0 to /dev/ram1 before mounting
/dev/ram1 as / ? /dev/ram1 as / ?
Liav pointed out how Yard can make boot/root floppies with a compressed root Liav pointed out how Yard can make boot/root floppies with a compressed root
filesystem. Edited FAQ question 16 to correctly reflect how gz compressed filesystem. Edited FAQ question 13 to correctly reflect how gz compressed
root filesystems may be booted without an initrd. root filesystems may be booted without an initrd.
State is saved for the Compression off check box and the Root Filename save State is saved for the Compression off check box and the Root Filename save