Blame 0018-dmsquash-live-dmsquash-live-genrules.sh-fixed-udev-r.patch
|
Harald Hoyer |
a0a888 |
From 98b108284cc62203d3f9cc392b287affdee35305 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
a0a888 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
a0a888 |
Date: Thu, 31 Mar 2011 08:24:15 +0200
|
|
Harald Hoyer |
a0a888 |
Subject: [PATCH] dmsquash-live/dmsquash-live-genrules.sh: fixed udev rule location
|
|
Harald Hoyer |
a0a888 |
|
|
Harald Hoyer |
a0a888 |
Fixed the rule directory to $UDEVRULESD
|
|
Harald Hoyer |
a0a888 |
---
|
|
Harald Hoyer |
a0a888 |
.../90dmsquash-live/dmsquash-live-genrules.sh | 2 +-
|
|
Harald Hoyer |
a0a888 |
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
Harald Hoyer |
a0a888 |
|
|
Harald Hoyer |
a0a888 |
diff --git a/modules.d/90dmsquash-live/dmsquash-live-genrules.sh b/modules.d/90dmsquash-live/dmsquash-live-genrules.sh
|
|
Harald Hoyer |
a0a888 |
index 1128be4..404d1c5 100755
|
|
Harald Hoyer |
a0a888 |
--- a/modules.d/90dmsquash-live/dmsquash-live-genrules.sh
|
|
Harald Hoyer |
a0a888 |
+++ b/modules.d/90dmsquash-live/dmsquash-live-genrules.sh
|
|
Harald Hoyer |
a0a888 |
@@ -8,7 +8,7 @@ case "$root" in
|
|
Harald Hoyer |
a0a888 |
${root#live:/dev/}
|
|
Harald Hoyer |
a0a888 |
printf 'SYMLINK=="%s", SYMLINK+="live"\n' \
|
|
Harald Hoyer |
a0a888 |
${root#live:/dev/}
|
|
Harald Hoyer |
a0a888 |
- } >> /dev/.udev/rules.d/99-live-mount.rules
|
|
Harald Hoyer |
a0a888 |
+ } >> $UDEVRULESD/99-live-mount.rules
|
|
Harald Hoyer |
a0a888 |
{
|
|
Harald Hoyer |
a0a888 |
printf 'KERNEL=="%s", RUN+="/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root $env{DEVNAME}"\n' \
|
|
Harald Hoyer |
a0a888 |
${root#live:/dev/}
|