[node-patches] Change in ovirt-node[ovirt-3.5]: Include dmsquash-live in kdump's dracut
fabiand at redhat.com
fabiand at redhat.com
Mon Jan 12 17:31:30 UTC 2015
Fabian Deutsch has uploaded a new change for review.
Change subject: Include dmsquash-live in kdump's dracut
......................................................................
Include dmsquash-live in kdump's dracut
To do this, add it to dracut.conf (augeas won't deal with new
options in kdump.conf for dracut yet), and patch the hardcoded
hostonly bits out of mkdumprd so dmsquash-live gets pulled in. We
need it for kdumps of all types.
Change-Id: Ic46bfaee7eebe55f73120ced2f7f4b451baf315c
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1180371
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1180377
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1095140
Signed-off-by: Ryan Barry <rbarry at redhat.com>
(cherry picked from commit 49e877d145dc681b96f657d65d13301d61131952)
---
M recipe/rhevh7-post.ks
1 file changed, 17 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/19/36819/1
diff --git a/recipe/rhevh7-post.ks b/recipe/rhevh7-post.ks
index 265e052..61fe8c0 100644
--- a/recipe/rhevh7-post.ks
+++ b/recipe/rhevh7-post.ks
@@ -27,6 +27,23 @@
esac
EOF_kdump
+# include dmsquash-live in dracut for kdump
+sed -ie 's/^#add_dracutmodules+=""/add_dracutmodules+="dmsquash-live"/' /etc/dracut.conf
+
+# Don't use hostonly for kdump or we'll miss dmsquash-live
+patch -d /usr/sbin -p0 << \EOF_mkdumprd
+--- mkdumprd.orig 2015-01-09 11:05:44.132744400 -0700
++++ mkdumprd 2015-01-09 11:05:56.858840503 -0700
+@@ -14,7 +14,7 @@
+ SAVE_PATH=$(grep ^path $conf_file| cut -d' ' -f2)
+ [ -z "$SAVE_PATH" ] && SAVE_PATH="/var/crash"
+ extra_modules=""
+-dracut_args=("--hostonly" "--hostonly-cmdline" "-o" "plymouth dash")
++dracut_args=("-o" "plymouth dash")
+ OVERRIDE_RESETTABLE=0
+
+ perror_exit() {
+EOF_mkdumprd
# add RHEV-H rwtab locations
mkdir -p /rhev
--
To view, visit http://gerrit.ovirt.org/36819
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic46bfaee7eebe55f73120ced2f7f4b451baf315c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
More information about the node-patches
mailing list