summaryrefslogtreecommitdiffstats
path: root/rescue/tree
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-09 10:41:29 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-09 10:41:29 +0000
commit5bc101a73f3a217b56a5450a833ceca2dbe2517f (patch)
tree2309c954e5597af70ade7c5971bc4b1dedfa6ef0 /rescue/tree
parent8ab7c2b12580f5b0dcbce058119991d8778d69b0 (diff)
downloaddrakx-5bc101a73f3a217b56a5450a833ceca2dbe2517f.tar
drakx-5bc101a73f3a217b56a5450a833ceca2dbe2517f.tar.gz
drakx-5bc101a73f3a217b56a5450a833ceca2dbe2517f.tar.bz2
drakx-5bc101a73f3a217b56a5450a833ceca2dbe2517f.tar.xz
drakx-5bc101a73f3a217b56a5450a833ceca2dbe2517f.zip
fixed hd.img access right.
Diffstat (limited to 'rescue/tree')
-rwxr-xr-xrescue/tree/etc/oem3
1 files changed, 2 insertions, 1 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem
index cf98297c0..39401d70b 100755
--- a/rescue/tree/etc/oem
+++ b/rescue/tree/etc/oem
@@ -153,9 +153,10 @@ if (-e "/boot/vmlinuz" && -e "/boot/hd.rdz" || -e "/cdrom/boot/vmlinuz" && -e "/
} else {
mkdir "/hd/boot";
unless (-e "/tmp/hd/vmlinuz" && -e "/tmp/hd/hd.rdz") {
+ system "cp", "/cdrom/images/hd.img", "/tmp/hd.img";
mkdir "/tmp/hd";
system "modprobe", "loop";
- system "mount", "/cdrom/images/hd.img", "/tmp/hd", "-o", "loop";
+ system "mount", "/tmp/hd.img", "/tmp/hd", "-o", "loop";
}
system "cp", "-a", "/tmp/hd/vmlinuz", "/tmp/hd/hd.rdz", "/hd/boot";
}