From 3f434c4a583de311932af3a59a8adb996ea95b93 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Mon, 13 Feb 2012 09:41:01 +0000 Subject: [PATCH] integrate-distro.sh: Add command mkinitrd --- scripts/integrate-distro.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/scripts/integrate-distro.sh b/scripts/integrate-distro.sh index 446bed60..49bc4cfa 100644 --- a/scripts/integrate-distro.sh +++ b/scripts/integrate-distro.sh @@ -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