mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-23 14:30:39 +01:00
integrate-distro.sh: Add command mkinitrd
This commit is contained in:
parent
ac3c82a224
commit
3f434c4a58
1 changed files with 10 additions and 2 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
arch=`uname -m`
|
arch=`uname -m`
|
||||||
o_name=suse-11.4
|
o_name=suse-11.4
|
||||||
cmd=install
|
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
|
# ata_piix (as opposed to ahci) doesn't seem to support sata-hotplugging
|
||||||
#kernel_version=2.6.37.4
|
#kernel_version=2.6.37.4
|
||||||
|
|
||||||
|
|
@ -160,7 +160,7 @@ usage()
|
||||||
echo "
|
echo "
|
||||||
|
|
||||||
usage: $myname -h
|
usage: $myname -h
|
||||||
$myname [options] [install|mount|unmount]
|
$myname [options] [install|mount|unmount|mkinitrd]
|
||||||
|
|
||||||
options:
|
options:
|
||||||
-d target-device
|
-d target-device
|
||||||
|
|
@ -945,6 +945,14 @@ unmount)
|
||||||
unmount_devices
|
unmount_devices
|
||||||
exit $?
|
exit $?
|
||||||
;;
|
;;
|
||||||
|
mkinitrd)
|
||||||
|
[ "$install_dev" ] && {
|
||||||
|
mount_devices
|
||||||
|
setup_boot_loader_local
|
||||||
|
}
|
||||||
|
setup_boot_loader_net
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
log "unknown command \"$cmd\""
|
log "unknown command \"$cmd\""
|
||||||
usage 1
|
usage 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue