about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2021-09-14 15:18:41 +0200
committerLeah Neukirchen <leah@vuxu.org>2021-09-14 15:36:43 +0200
commitfefa7cc85c90dc0054dbb5890f257fb921f9c702 (patch)
treeaa5d594f9606a7f5970ddabe90ce1ec827eef653
parentde29eb43646dd002b6408e8dbcfc50b2e5c08cac (diff)
downloadhrmpf-fefa7cc85c90dc0054dbb5890f257fb921f9c702.tar.gz
hrmpf-fefa7cc85c90dc0054dbb5890f257fb921f9c702.tar.xz
hrmpf-fefa7cc85c90dc0054dbb5890f257fb921f9c702.zip
enable dracut livenet support
Closes #18.
-rw-r--r--hrmpf.packages5
-rw-r--r--mklive.sh.in4
2 files changed, 5 insertions, 4 deletions
diff --git a/hrmpf.packages b/hrmpf.packages
index c05cad2..e658e50 100644
--- a/hrmpf.packages
+++ b/hrmpf.packages
@@ -57,13 +57,14 @@ arpwatch
 autossh
 bind-utils
 bmon
-bwm-ng
 bridge-utils
+bwm-ng
 chrony
 create_ap
 ddclient
 dhclient
 dhcpcd
+dracut-network
 ethstatus
 ethtool
 ferm
@@ -73,8 +74,8 @@ horst
 hostapd
 httptunnel
 ifenslave
-iftop
 ifstatus
+iftop
 inadyn
 inetutils-hostname
 inetutils-talk
diff --git a/mklive.sh.in b/mklive.sh.in
index afc7c14..a965566 100644
--- a/mklive.sh.in
+++ b/mklive.sh.in
@@ -169,9 +169,9 @@ generate_initramfs() {
         _args="--omit systemd"
     fi
     chroot $ROOTFS env -i /usr/bin/dracut -N --${INITRAMFS_COMPRESSION} \
-        --add-drivers "ahci" --force-add "vmklive" ${_args} "/boot/initrd-lts" $LTSKERNELVERSION
+        --add-drivers "ahci" --force-add "vmklive livenet" ${_args} "/boot/initrd-lts" $LTSKERNELVERSION
     chroot $ROOTFS env -i /usr/bin/dracut -N --${INITRAMFS_COMPRESSION} \
-        --add-drivers "ahci" --force-add "vmklive" ${_args} "/boot/initrd" $KERNELVERSION
+        --add-drivers "ahci" --force-add "vmklive livenet" ${_args} "/boot/initrd" $KERNELVERSION
     [ $? -ne 0 ] && die "Failed to generate the initramfs"
 
     mv $ROOTFS/boot/initrd-lts $BOOT_DIR