[node-patches] Change in ovirt-node[node-3.0]: init: Symlink kernel into /boot for libguestfs
fabiand at fedoraproject.org
fabiand at fedoraproject.org
Wed Dec 18 08:37:24 UTC 2013
Fabian Deutsch has uploaded a new change for review.
Change subject: init: Symlink kernel into /boot for libguestfs
......................................................................
init: Symlink kernel into /boot for libguestfs
Change-Id: I59cbbeabe1a91eef8cc571f553100dd600627928
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1033508
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M scripts/ovirt-init-functions.sh.in
1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/02/22502/1
diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index 80d95f2..58bbce2 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -1279,6 +1279,15 @@
# Restart jorunald to pick up /var/log/journal
service systemd-journald restart
+ # Add symlink for libguestfs
+ if [ -f /dev/.initramfs/live/vmlinuz0 ];
+ then
+ ln -s /dev/.initramfs/live/vmlinuz0 /boot/vmlinuz-$(uname -r);
+ elif [ -f /dev/.initramfs/live/isolinux/vmlinuz0 ];
+ then
+ ln -s /dev/.initramfs/live/isolinux/vmlinuz0 /boot/vmlinuz-$(uname -r);
+ fi
+
BACKUP=$(mktemp)
ISSUE=/etc/issue
ISSUE_NET=/etc/issue.net
--
To view, visit http://gerrit.ovirt.org/22502
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I59cbbeabe1a91eef8cc571f553100dd600627928
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: node-3.0
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>
More information about the node-patches
mailing list