mirror of
https://github.com/fspc/gbootroot.git
synced 2025-02-23 00:53: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:
parent
ce893535ff
commit
b14a469786
@ -2160,6 +2160,7 @@ sub entry_advanced {
|
||||
|
||||
$entry_advanced->signal_connect( "changed", sub {
|
||||
$entry_advanced[$numa] = $entry_advanced->get_text();
|
||||
print $entry_advanced[$numa], " $numa\n";
|
||||
if ($numa == 4) {
|
||||
$ars->{filename} = $entry_advanced[$numa];
|
||||
ars($ars);
|
||||
@ -3058,6 +3059,7 @@ sub lilo_put_it_together {
|
||||
# root lilo power, before going on.
|
||||
else {
|
||||
|
||||
|
||||
# Ask the user if they have su lilo priviliges.
|
||||
# Hopefully, password free, but that can be incorporated.
|
||||
mtab(3);
|
||||
@ -3614,9 +3616,9 @@ sub initrd {
|
||||
if ( $fs_type eq "genext2fs" ) {
|
||||
# Assuming busybox is being used, so bzip2 should still be standard
|
||||
# just another link .. just for testing.
|
||||
if ( $compress eq "bzip2" ) {
|
||||
$compress = "bunzip2";
|
||||
}
|
||||
##if ( $compress eq "bzip2" ) {
|
||||
## $compress = "bunzip2";
|
||||
##}
|
||||
}
|
||||
|
||||
my $broot_image = basename($root_image);
|
||||
|
7
Changes
7
Changes
@ -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
|
||||
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
|
||||
/dev/ram1 as / ?
|
||||
|
||||
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.
|
||||
|
||||
State is saved for the Compression off check box and the Root Filename save
|
||||
|
Loading…
x
Reference in New Issue
Block a user