summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-07-11 16:49:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-07-11 16:49:21 +0000
commit4c2fb3914a389afd7a79bbabea1dde6968448505 (patch)
tree6a8bce94bd86081a8ea16575ac04aa8497165731 /rescue
parent7bde119e6549da24984faa80c892e2f028e10d4f (diff)
downloaddrakx-4c2fb3914a389afd7a79bbabea1dde6968448505.tar
drakx-4c2fb3914a389afd7a79bbabea1dde6968448505.tar.gz
drakx-4c2fb3914a389afd7a79bbabea1dde6968448505.tar.bz2
drakx-4c2fb3914a389afd7a79bbabea1dde6968448505.tar.xz
drakx-4c2fb3914a389afd7a79bbabea1dde6968448505.zip
no_comment
Diffstat (limited to 'rescue')
-rw-r--r--rescue/list1
-rw-r--r--rescue/list.i3861
-rwxr-xr-xrescue/make_rescue_img1
-rwxr-xr-xrescue/tree/etc/rc.sysinit1
-rwxr-xr-xrescue/tree/sbin/modprobe1
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";