Skip to content

Commit

Permalink
enable dracut livenet support
Browse files Browse the repository at this point in the history
Closes #18.
  • Loading branch information
leahneukirchen committed Sep 14, 2021
1 parent de29eb4 commit fefa7cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions hrmpf.packages
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -73,8 +74,8 @@ horst
hostapd
httptunnel
ifenslave
iftop
ifstatus
iftop
inadyn
inetutils-hostname
inetutils-talk
Expand Down
4 changes: 2 additions & 2 deletions mklive.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fefa7cc

Please sign in to comment.