From 0ceacdd9713e699ac92c6fcbb2a6a618dd9088e3 Mon Sep 17 00:00:00 2001 From: qin bo Date: Sun, 26 Sep 2010 18:04:06 +0800 Subject: [PATCH] add mkTmpfstab.sh in makeinitrd --- operation/makeinitrd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/operation/makeinitrd b/operation/makeinitrd index 6cd835f..a6ae753 100755 --- a/operation/makeinitrd +++ b/operation/makeinitrd @@ -3,4 +3,5 @@ source ./functions modules=$(ls /Rocky/modules/|grep -v .bak|grep -v .old) -mkinitrd "$TARGET"/boot/initrd.gz $modules --without-usb --without-multipath --fstab="$TARGET"/etc/fstab -f +mkTmpfstab.sh -f "$TARGET/etc/fstab" -t "/tmp/fstab" +mkinitrd "$TARGET"/boot/initrd.gz $modules --without-usb --without-multipath --fstab="/tmp/fstab" -f