Blame SOURCES/0109-dmsquash-live-dmsquash-liveiso-genrules.sh-s-loop0-l.patch

a56a5e
From 5676a6d877fec50cf969369045788ff3ac59fdc0 Mon Sep 17 00:00:00 2001
966cef
From: Harald Hoyer <harald@redhat.com>
966cef
Date: Tue, 28 Jan 2014 18:33:36 +0100
966cef
Subject: [PATCH] dmsquash-live/dmsquash-liveiso-genrules.sh:
966cef
 s/loop0/loop-control/
966cef
966cef
If loop is a kernel module, /dev/loop0 will never show up as a udev
966cef
event, if the loop module is not manually loaded somewhere.
966cef
---
966cef
 modules.d/90dmsquash-live/dmsquash-liveiso-genrules.sh | 2 +-
966cef
 1 file changed, 1 insertion(+), 1 deletion(-)
966cef
966cef
diff --git a/modules.d/90dmsquash-live/dmsquash-liveiso-genrules.sh b/modules.d/90dmsquash-live/dmsquash-liveiso-genrules.sh
1755ca
index 30ea1805..0f913d79 100755
966cef
--- a/modules.d/90dmsquash-live/dmsquash-liveiso-genrules.sh
966cef
+++ b/modules.d/90dmsquash-live/dmsquash-liveiso-genrules.sh
966cef
@@ -3,7 +3,7 @@
966cef
 # ex: ts=8 sw=4 sts=4 et filetype=sh
966cef
 if [ "${root%%:*}" = "liveiso" ]; then
966cef
     {
966cef
-        printf 'KERNEL=="loop0", RUN+="/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root `/sbin/losetup -f --show %s`"\n' \
966cef
+        printf 'KERNEL=="loop-control", RUN+="/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root `/sbin/losetup -f --show %s`"\n' \
966cef
             ${root#liveiso:}
966cef
     } >> /etc/udev/rules.d/99-liveiso-mount.rules
966cef
 fi