[PATCH 4/4] Add 'eject' to the anaconda initramfs

Will Woods wwoods at redhat.com
Sun Feb 10 02:10:33 UTC 2013


No wonder we can't seem to eject the DVD - we don't have the eject
binary! Include it in the initramfs.
---
 dracut/module-setup.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dracut/module-setup.sh b/dracut/module-setup.sh
index cdf3e4f..b9997f8 100755
--- a/dracut/module-setup.sh
+++ b/dracut/module-setup.sh
@@ -15,6 +15,8 @@ depends() {
 }
 
 install() {
+    # binaries we want in initramfs
+    dracut_install eject
     # anaconda
     inst "$moddir/anaconda-lib.sh" "/lib/anaconda-lib.sh"
     inst_hook cmdline 25 "$moddir/parse-anaconda-options.sh"
-- 
1.8.1



More information about the anaconda-patches mailing list