[node-patches] Change in ovirt-node[master]: initramfs: Ensure to pass the right kernel version
fabiand at redhat.com
fabiand at redhat.com
Tue Nov 3 13:40:09 UTC 2015
Fabian Deutsch has uploaded a new change for review.
Change subject: initramfs: Ensure to pass the right kernel version
......................................................................
initramfs: Ensure to pass the right kernel version
Change-Id: Ibc2f161b6471dbf09aab9e5ddbc0e4688579c05e
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirt-node-rebuild-initramfs
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/16/48016/1
diff --git a/scripts/ovirt-node-rebuild-initramfs b/scripts/ovirt-node-rebuild-initramfs
index e25ef3c..08a21cf 100755
--- a/scripts/ovirt-node-rebuild-initramfs
+++ b/scripts/ovirt-node-rebuild-initramfs
@@ -31,7 +31,7 @@
initramfs = system.Initramfs()
try:
- kver = process.check_output(["uname", "-r"])
+ kver = process.check_output(["uname", "-r"]).strip()
initramfs.rebuild(kver)
except:
log.exception("Initramfs regeneration failed")
--
To view, visit https://gerrit.ovirt.org/48016
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibc2f161b6471dbf09aab9e5ddbc0e4688579c05e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>
More information about the node-patches
mailing list