diff options
Diffstat (limited to 'rescue')
-rw-r--r-- | rescue/list | 1 | ||||
-rw-r--r-- | rescue/list.i386 | 1 | ||||
-rwxr-xr-x | rescue/make_rescue_img | 1 | ||||
-rwxr-xr-x | rescue/tree/etc/rc.sysinit | 1 | ||||
-rwxr-xr-x | rescue/tree/sbin/modprobe | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/rescue/list b/rescue/list index 7a2ae2058..3272e63c1 100644 --- a/rescue/list +++ b/rescue/list @@ -118,6 +118,7 @@ /bin/sort /usr/bin/md5sum /etc/protocols +/etc/services /bin/rpm /sbin/mkraid /usr/lib/rpm/rpmrc diff --git a/rescue/list.i386 b/rescue/list.i386 index 247a42e56..17a7aee85 100644 --- a/rescue/list.i386 +++ b/rescue/list.i386 @@ -4,3 +4,4 @@ /usr/bin/lspci /usr/share/pci.ids /sbin/lilo +/boot/grub/stage[12] diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img index b276d3a17..9ea6b3c67 100755 --- a/rescue/make_rescue_img +++ b/rescue/make_rescue_img @@ -59,6 +59,7 @@ foreach (cat_("aliases")) { } _ "cp ../modules/modules.{cz*,dep} $tmp/modules"; +_ "install -s kernel_read_part $tmp/sbin" if $arch =~ /i.86/; __ "$sudo strip $tmp/{lib,bin,sbin}/* $tmp/usr/{bin,sbin}/* 2>/dev/null"; exit 0 if $ARGV[0]; diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit index 476c9bfe9..da7e07a8f 100755 --- a/rescue/tree/etc/rc.sysinit +++ b/rescue/tree/etc/rc.sysinit @@ -22,6 +22,7 @@ load ide-mod load ide-probe load ide-disk load ide-cd +load isofs load af_packet /sbin/ifconfig lo 127.0.0.1 netmask 255.0.0.0 diff --git a/rescue/tree/sbin/modprobe b/rescue/tree/sbin/modprobe index 494f5b2a2..f007d949c 100755 --- a/rescue/tree/sbin/modprobe +++ b/rescue/tree/sbin/modprobe @@ -30,6 +30,7 @@ sub load { system("extract_archive /modules/modules.cz* /tmp $name.o >/dev/null"); -r "/tmp/$name.o" or die "can't find module $name\n"; system("/sbin/insmod -f /tmp/$name.o"); $? and die("insmod $name failed"); + system("rm /tmp/$name.o"); } !@ARGV || $ARGV[0] =~ /-h/ and die "usage: modprobe <module> [<options...>]\n"; |