integrate-distro.sh: Add command mkinitrd

This commit is contained in:
Jan Lindemann 2012-02-13 09:41:01 +00:00 committed by Jan Lindemann
commit 3f434c4a58

View file

@ -5,7 +5,7 @@
arch=`uname -m`
o_name=suse-11.4
cmd=install
initrd_modules="aufs via-rhine e1000 e1000e myri10ge forcedeth usbcore ohci-hcd ehci-hcd uhci-hcd hid usbhid ahci sata_nv"
initrd_modules="aufs via-rhine e1000 e1000e myri10ge forcedeth usbcore ohci-hcd ehci-hcd uhci-hcd hid usbhid ahci 8139too sata_nv"
# ata_piix (as opposed to ahci) doesn't seem to support sata-hotplugging
#kernel_version=2.6.37.4
@ -160,7 +160,7 @@ usage()
echo "
usage: $myname -h
$myname [options] [install|mount|unmount]
$myname [options] [install|mount|unmount|mkinitrd]
options:
-d target-device
@ -945,6 +945,14 @@ unmount)
unmount_devices
exit $?
;;
mkinitrd)
[ "$install_dev" ] && {
mount_devices
setup_boot_loader_local
}
setup_boot_loader_net
exit $?
;;
*)
log "unknown command \"$cmd\""
usage 1