summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-11-12 14:00:45 +0000
committerOlivier Blin <oblin@mandriva.com>2008-11-12 14:00:45 +0000
commit6a5eb8abb7e04c984272e5d85a34b41ef513b229 (patch)
tree4982f8f2370b64da1f50f65de6e2abe7377f4343 /rescue
parenta64b58239f8a7509e383243d64891ff51728aab6 (diff)
downloaddrakx-6a5eb8abb7e04c984272e5d85a34b41ef513b229.tar
drakx-6a5eb8abb7e04c984272e5d85a34b41ef513b229.tar.gz
drakx-6a5eb8abb7e04c984272e5d85a34b41ef513b229.tar.bz2
drakx-6a5eb8abb7e04c984272e5d85a34b41ef513b229.tar.xz
drakx-6a5eb8abb7e04c984272e5d85a34b41ef513b229.zip
disable modprobe when running mkinitrd
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/restore-image.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh
index b35bb4b7e..5272b18fa 100755
--- a/rescue/restore-image.sh
+++ b/rescue/restore-image.sh
@@ -194,6 +194,7 @@ function expand_fs()
if [ -n "$MKINITRD" ]; then
mount -t sysfs none "$mnt_dir/sys"
mount -t proc none "$mnt_dir/proc"
+ echo > /proc/sys/kernel/modprobe # rescue's modprobe does not handle modprobe -q and aliases
chroot $mnt_dir bootloader-config --action rebuild-initrds
umount "$mnt_dir/sys"
umount "$mnt_dir/proc"