Merge "Use binary-deps.d for dracut ramdisks"

This commit is contained in:
Jenkins 2014-10-30 06:25:30 +00:00 committed by Gerrit Code Review
commit 1e5ec9adb3
3 changed files with 16 additions and 1 deletions

View File

@ -0,0 +1,15 @@
tail
head
awk
ifconfig
cut
expr
route
ping
tgtd
tgtadm
nc
wget
curl
tftp
grep

View File

@ -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}" \