Blame 0133-dmsquash-live-dmsquash-live-root-det_img_fs-redirect.patch
|
Harald Hoyer |
53404a |
From de7ab164dd0aa68100c290f355b858900193e004 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
53404a |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
53404a |
Date: Thu, 13 Oct 2016 09:20:33 +0200
|
|
Harald Hoyer |
53404a |
Subject: [PATCH] dmsquash-live/dmsquash-live-root: det_img_fs() redirect
|
|
Harald Hoyer |
53404a |
udevadm output to stderr
|
|
Harald Hoyer |
53404a |
|
|
Harald Hoyer |
53404a |
Otherwise the output is taken as input for modprobe.
|
|
Harald Hoyer |
53404a |
---
|
|
Harald Hoyer |
53404a |
modules.d/90dmsquash-live/dmsquash-live-root.sh | 2 +-
|
|
Harald Hoyer |
53404a |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Harald Hoyer |
53404a |
|
|
Harald Hoyer |
53404a |
diff --git a/modules.d/90dmsquash-live/dmsquash-live-root.sh b/modules.d/90dmsquash-live/dmsquash-live-root.sh
|
|
Harald Hoyer |
53404a |
index 68d076c..e58d7c2 100755
|
|
Harald Hoyer |
53404a |
--- a/modules.d/90dmsquash-live/dmsquash-live-root.sh
|
|
Harald Hoyer |
53404a |
+++ b/modules.d/90dmsquash-live/dmsquash-live-root.sh
|
|
Harald Hoyer |
53404a |
@@ -57,7 +57,7 @@ ln -s $livedev /run/initramfs/livedev
|
|
Harald Hoyer |
53404a |
|
|
Harald Hoyer |
53404a |
# determine filesystem type for a filesystem image
|
|
Harald Hoyer |
53404a |
det_img_fs() {
|
|
Harald Hoyer |
53404a |
- udevadm settle
|
|
Harald Hoyer |
53404a |
+ udevadm settle >&2
|
|
Harald Hoyer |
53404a |
blkid -s TYPE -u noraid -o value "$1"
|
|
Harald Hoyer |
53404a |
}
|
|
Harald Hoyer |
53404a |
|