[node-patches] Change in ovirt-node[ovirt-3.5]: Update os-release for plymouth

fabiand at redhat.com fabiand at redhat.com
Mon Jan 12 17:30:31 UTC 2015


Fabian Deutsch has uploaded a new change for review.

Change subject: Update os-release for plymouth
......................................................................

Update os-release for plymouth

Plymouth uses /etc/os-release in el7, so we also need to name the
product there.

Change-Id: I01ea0e2b06b3322207bcb095d4d1fc0d18caaed6
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
(cherry picked from commit ffac79f6ea7a51a75d566283e8ac2432e1002b9c)
---
M recipe/common-nochroot.ks
1 file changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/18/36818/1

diff --git a/recipe/common-nochroot.ks b/recipe/common-nochroot.ks
index b52dbb7..f2ab496 100644
--- a/recipe/common-nochroot.ks
+++ b/recipe/common-nochroot.ks
@@ -97,6 +97,9 @@
 echo "Kernel \r on an \m (\l)" >> $INSTALL_ROOT/etc/issue
 cp $INSTALL_ROOT/etc/issue $INSTALL_ROOT/etc/issue.net
 
+# Also update os-release, this is where ply 7.0 is taking the name from
+sed -i "/^PRETTY_NAME/ s/.*/PRETTY_NAME=\"$PRODUCT release $VERSION\"/" $INSTALL_ROOT/etc/os-release
+
 NAME=$(grep CDLABEL $LIVE_ROOT/isolinux/isolinux.cfg |head -n1|sed -r 's/^.*CDLABEL\=([a-zA-Z0-9_\.-]+) .*$/\1/g')
 
 %include common-efi.ks


-- 
To view, visit http://gerrit.ovirt.org/36818
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I01ea0e2b06b3322207bcb095d4d1fc0d18caaed6
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.5
Gerrit-Owner: Fabian Deutsch <fabiand at redhat.com>



More information about the node-patches mailing list