Merge "Use binary-deps.d for dracut ramdisks"
This commit is contained in:
commit
1e5ec9adb3
15
elements/dracut-ramdisk/binary-deps.d/dracut-ramdisk
Normal file
15
elements/dracut-ramdisk/binary-deps.d/dracut-ramdisk
Normal file
@ -0,0 +1,15 @@
|
||||
tail
|
||||
head
|
||||
awk
|
||||
ifconfig
|
||||
cut
|
||||
expr
|
||||
route
|
||||
ping
|
||||
tgtd
|
||||
tgtadm
|
||||
nc
|
||||
wget
|
||||
curl
|
||||
tftp
|
||||
grep
|
@ -51,7 +51,7 @@ cp "$TMP_MOUNT_PATH/init" "$MODULE_PATH/80deploy-ramdisk/init.sh"
|
||||
# -o: Force omission of these dracut modules. Our scripts are written for bash,
|
||||
# so dash is not desirable, and plymouth was causing some issues on Ubuntu.
|
||||
dracut -N \
|
||||
--install 'tail head awk ifconfig cut expr route ping tgtd tgtadm nc wget curl tftp grep' \
|
||||
--install "$(cat /etc/dib_binary_deps)" \
|
||||
--kernel-cmdline "rd.shell rd.debug rd.neednet=1 rd.driver.pre=ahci" \
|
||||
--include "$TMP_MOUNT_PATH/init-func" /init-func \
|
||||
--kver "${KERNEL_VERSION}" \
|
||||
|
Loading…
Reference in New Issue
Block a user