removed cdrom hack for live CDs
authorHarald Hoyer <harald@redhat.com>
Mon, 15 Feb 2010 08:55:20 +0000 (09:55 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 15 Feb 2010 08:55:20 +0000 (09:55 +0100)
The hack does not work reliable for CDROMs with the firmware bug.
We have really to fix cdrom_id.

modules.d/90dmsquash-live/cdrom-hack.sh [deleted file]
modules.d/90dmsquash-live/install
modules.d/90dmsquash-live/parse-dmsquash-live.sh

diff --git a/modules.d/90dmsquash-live/cdrom-hack.sh b/modules.d/90dmsquash-live/cdrom-hack.sh
deleted file mode 100755 (executable)
index ad1a220..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -e /dev/sr0 ] && {
-       blkid /dev/sr0;
-       blkid /dev/sr0;
-} 2>/dev/null
index 7600158..ad1d29c 100755 (executable)
@@ -21,4 +21,3 @@ inst_hook pre-udev 30 "$moddir/dmsquash-liveiso-genrules.sh"
 inst "$moddir/dmsquash-live-root" "/sbin/dmsquash-live-root"
 # should probably just be generally included
 inst_rules 60-cdrom_id.rules
-inst "$moddir/cdrom-hack.sh" /sbin/cdrom-hack.sh
index 81181f5..24b854e 100755 (executable)
@@ -39,7 +39,5 @@ case "$liveroot" in
 esac
 info "root was $root, liveroot is now $liveroot"
 
-[ $rootok = "1" ] && initqueue --settled /sbin/cdrom-hack.sh
-
 # make sure that init doesn't complain
 [ -z "$root" ] && root="live"