From f905c1d7d62b7657ab3b01ac287dd6cbf0193ee7 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 14 Aug 2009 16:18:27 +0200 Subject: [PATCH] dmsquash-live: install the "real" eject eject might be a symlink to consolehelper --- modules.d/90dmsquash-live/install | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules.d/90dmsquash-live/install b/modules.d/90dmsquash-live/install index e8c78c04..db7408b9 100755 --- a/modules.d/90dmsquash-live/install +++ b/modules.d/90dmsquash-live/install @@ -3,7 +3,14 @@ inst dmsetup inst blkid inst dd inst losetup -inst eject + +# eject might be a symlink to consolehelper +if [ -L /usr/bin/eject ]; then + dracut_install /usr/sbin/eject +else + inst eject +fi + inst blockdev which checkisomd5 >/dev/null 2>&1 && inst checkisomd5 inst_hook cmdline 30 "$moddir/parse-dmsquash-live.sh"