From fb7715902039c229bbf5a0ed235adf8b82c7eedd Mon Sep 17 00:00:00 2001 From: Fabian Arrotin Date: Aug 03 2015 13:10:20 +0000 Subject: Fixed the grub menu entry when installed to disk by anaconda/liveinst --- diff --git a/ks/centos6-liveCD-desktop.cfg b/ks/centos6-liveCD-desktop.cfg index e555b36..36afb14 100644 --- a/ks/centos6-liveCD-desktop.cfg +++ b/ks/centos6-liveCD-desktop.cfg @@ -291,6 +291,8 @@ gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults # Switching to Thunderbird as the default MUA gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set /desktop/gnome/url-handlers/mailto/command "thunderbird %" >/dev/null +# Creating a file for anaconda, to create the correct grub entry +echo -e "CentOS.$(uname -m)\nCentOS Linux\n6\nyes" > /.buildstamp # detecting disk partitions and logical volumes CreateDesktopIconHD() diff --git a/ks/centos6-liveDVD-desktop.cfg b/ks/centos6-liveDVD-desktop.cfg index d46288c..3f66481 100644 --- a/ks/centos6-liveDVD-desktop.cfg +++ b/ks/centos6-liveDVD-desktop.cfg @@ -299,6 +299,8 @@ gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults # Switching to Thunderbird as the default MUA gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set /desktop/gnome/url-handlers/mailto/command "thunderbird %" >/dev/null +# Creating a file for anaconda, to create the correct grub entry +echo -e "CentOS.$(uname -m)\nCentOS Linux\n6\nyes" > /.buildstamp # detecting disk partitions and logical volumes CreateDesktopIconHD()