90dmsquash-live: do not symlink to /dev/live
authorHarald Hoyer <harald@redhat.com>
Mon, 19 Sep 2011 10:20:11 +0000 (12:20 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 19 Sep 2011 10:20:11 +0000 (12:20 +0200)
/dev/live should not be used anyway

modules.d/90dmsquash-live/dmsquash-live-genrules.sh

index ce1ca82..d6d0aa3 100755 (executable)
@@ -4,12 +4,6 @@
 case "$root" in
   live:/dev/*)
     {
-        printf 'KERNEL=="%s", SYMLINK+="live"\n' \
-            ${root#live:/dev/}
-        printf 'SYMLINK=="%s", SYMLINK+="live"\n' \
-            ${root#live:/dev/}
-    } >> $UDEVRULESD/99-live-mount.rules
-    {
         printf 'KERNEL=="%s", RUN+="/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root $env{DEVNAME}"\n' \
             ${root#live:/dev/}
         printf 'SYMLINK=="%s", RUN+="/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root $env{DEVNAME}"\n' \