|
Harald Hoyer |
460d2c |
From 01b7163a591c3debec794b5f46b52156a16ee934 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
460d2c |
From: Daniel Molkentin <dmolkentin@suse.com>
|
|
Harald Hoyer |
460d2c |
Date: Wed, 5 Aug 2020 19:32:35 +0200
|
|
Harald Hoyer |
460d2c |
Subject: [PATCH] 90lvm: do not add newline to cmdline
|
|
Harald Hoyer |
460d2c |
|
|
Harald Hoyer |
460d2c |
Fixes #862
|
|
Harald Hoyer |
460d2c |
---
|
|
Harald Hoyer |
460d2c |
modules.d/90lvm/module-setup.sh | 2 +-
|
|
Harald Hoyer |
460d2c |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Harald Hoyer |
460d2c |
|
|
Harald Hoyer |
460d2c |
diff --git a/modules.d/90lvm/module-setup.sh b/modules.d/90lvm/module-setup.sh
|
|
Harald Hoyer |
460d2c |
index 52c803f7..1eeba79d 100755
|
|
Harald Hoyer |
460d2c |
--- a/modules.d/90lvm/module-setup.sh
|
|
Harald Hoyer |
460d2c |
+++ b/modules.d/90lvm/module-setup.sh
|
|
Harald Hoyer |
460d2c |
@@ -36,7 +36,7 @@ cmdline() {
|
|
Harald Hoyer |
460d2c |
eval $(dmsetup splitname --nameprefixes --noheadings --rows "$dev" 2>/dev/null)
|
|
Harald Hoyer |
460d2c |
[[ ${DM_VG_NAME} ]] && [[ ${DM_LV_NAME} ]] || return 1
|
|
Harald Hoyer |
460d2c |
if ! [[ ${_activated[${DM_VG_NAME}/${DM_LV_NAME}]} ]]; then
|
|
Harald Hoyer |
460d2c |
- printf " rd.lvm.lv=%s\n" "${DM_VG_NAME}/${DM_LV_NAME} "
|
|
Harald Hoyer |
460d2c |
+ printf " rd.lvm.lv=%s " "${DM_VG_NAME}/${DM_LV_NAME} "
|
|
Harald Hoyer |
460d2c |
_activated["${DM_VG_NAME}/${DM_LV_NAME}"]=1
|
|
Harald Hoyer |
460d2c |
fi
|
|
Harald Hoyer |
460d2c |
done
|
|
Harald Hoyer |
460d2c |
|