]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
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 ce1ca826a9dcec66d724bdb6bb12d84763b1bf5b..d6d0aa3bb63d7564a1c6a0938c515054027b0960 100755 (executable)
@@ -3,12 +3,6 @@
 # ex: ts=8 sw=4 sts=4 et filetype=sh
 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/}