diff --git a/dracut/Makefile.am b/dracut/Makefile.am index dc303b5240d..a7dfa4a23e3 100644 --- a/dracut/Makefile.am +++ b/dracut/Makefile.am @@ -22,6 +22,7 @@ dist_dracut_SCRIPTS = module-setup.sh \ python-deps \ kickstart_version.py \ anaconda-lib.sh \ + apply-dracut-updates.sh \ parse-anaconda-options.sh \ parse-anaconda-repo.sh \ parse-anaconda-kickstart.sh \ diff --git a/dracut/apply-dracut-updates.sh b/dracut/apply-dracut-updates.sh new file mode 100755 index 00000000000..190a6dbb912 --- /dev/null +++ b/dracut/apply-dracut-updates.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# apply-dracut-updates.sh - run a well-known script injected into initramfs + +echo "Applying anaocnda dracut updates: '/upd-dracut.sh d'" +/upd-dracut.sh d diff --git a/dracut/module-setup.sh b/dracut/module-setup.sh index b1972e9b316..9683d958f65 100755 --- a/dracut/module-setup.sh +++ b/dracut/module-setup.sh @@ -34,6 +34,7 @@ install() { # anaconda inst "$moddir/anaconda-lib.sh" "/lib/anaconda-lib.sh" + inst_hook cmdline 24 "$moddir/apply-dracut-updates.sh" inst_hook cmdline 25 "$moddir/parse-anaconda-options.sh" inst_hook cmdline 26 "$moddir/parse-anaconda-kickstart.sh" inst_hook cmdline 27 "$moddir/parse-anaconda-repo.sh"