Files
new_install/operation/makeinitrd
fling d12ff2ddb2 bug 4.3/943
modified:   operation/configure_bootloader_cnf.sh
	modified:   operation/install_pkg.sh
	modified:   operation/makeinitrd
	modified:   xml/D5000-server.xml
	modified:   xml/D5000-workstation.xml
	new file:   xml/config.xml
	modified:   xml/dependency.xml
	deleted:    xml/server.xml
2011-07-18 17:46:28 +08:00

17 lines
421 B
Bash
Executable File

#!/bin/bash
source ./functions
modules=$(ls /Rocky/modules/)
for module in $modules
do
nocgroup=${module##*-}
if [ "$nocgroup" == `uname -m` ];then
initrd="initrd.gz"
else
initrd="initrd-$nocgroup.gz"
fi
LOGFILE=$LOG_FILE mkTmpfstab.sh -f "$TARGET/etc/fstab" -t "/tmp/fstab"
mkinitrd "$TARGET"/boot/$initrd $module --without-usb --without-multipath --fstab="/tmp/fstab" -f
done