dmsquash-live: addresss the device via it's symlink
Otherwise multipath parts might be passed, before it's assembled. https://bugzilla.redhat.com/show_bug.cgi?id=1152948master
parent
246d285561
commit
d829e7fce2
|
@ -3,10 +3,10 @@
|
|||
case "$root" in
|
||||
live:/dev/*)
|
||||
{
|
||||
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' \
|
||||
${root#live:/dev/}
|
||||
printf 'KERNEL=="%s", RUN+="/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root %s"\n' \
|
||||
"${root#live:/dev/}" "${root#live:}"
|
||||
printf 'SYMLINK=="%s", RUN+="/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root %s"\n' \
|
||||
"${root#live:/dev/}" "${root#live:}"
|
||||
} >> /etc/udev/rules.d/99-live-squash.rules
|
||||
wait_for_dev -n "${root#live:}"
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue