Blame 0038-dmsquash-live-really-changed-dev-live-baseloop-to-ru.patch

Harald Hoyer 83ebbb
From 027dbc9f85f2e55af283d6714b0b1fed478900dd Mon Sep 17 00:00:00 2001
Harald Hoyer 83ebbb
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 83ebbb
Date: Fri, 20 Jan 2012 12:02:15 +0100
Harald Hoyer 83ebbb
Subject: [PATCH] dmsquash-live: really changed /dev/live-baseloop to
Harald Hoyer 83ebbb
 /run/initramfs/
Harald Hoyer 83ebbb
Harald Hoyer 83ebbb
Forgot to amend my change to ce32e32f2a8288de15968c22f57fff306fa81753
Harald Hoyer 83ebbb
---
Harald Hoyer 83ebbb
 modules.d/90dmsquash-live/dmsquash-live-root |    2 +-
Harald Hoyer 83ebbb
 1 files changed, 1 insertions(+), 1 deletions(-)
Harald Hoyer 83ebbb
Harald Hoyer 83ebbb
diff --git a/modules.d/90dmsquash-live/dmsquash-live-root b/modules.d/90dmsquash-live/dmsquash-live-root
Harald Hoyer 83ebbb
index cb104e4..d9fcc43 100755
Harald Hoyer 83ebbb
--- a/modules.d/90dmsquash-live/dmsquash-live-root
Harald Hoyer 83ebbb
+++ b/modules.d/90dmsquash-live/dmsquash-live-root
Harald Hoyer 83ebbb
@@ -201,7 +201,7 @@ if [ -n "$ROOTFLAGS" ]; then
Harald Hoyer 83ebbb
 fi
Harald Hoyer 83ebbb
 
Harald Hoyer 83ebbb
 if [ -b "$BASE_LOOPDEV" ]; then
Harald Hoyer 83ebbb
-    ln -s $BASE_LOOPDEV /dev/live-baseloop
Harald Hoyer 83ebbb
+    ln -s $BASE_LOOPDEV /run/initramfs/live-baseloop
Harald Hoyer 83ebbb
 fi
Harald Hoyer 83ebbb
 ln -s /dev/mapper/live-rw /dev/root
Harald Hoyer 83ebbb
 printf '/bin/mount %s /dev/mapper/live-rw %s\n' "$ROOTFLAGS" "$NEWROOT" > $hookdir/mount/01-$$-live.sh