Add package ntp and remove it except ntp.conf file.
Related: rhbz#1085013
Added label: rhel7-branch.
From: Jiri Konecny jkonecny@redhat.com
Add package ntp and remove it except ntp.conf file.
Related: rhbz#1085013 --- share/runtime-cleanup.tmpl | 2 ++ share/runtime-install.tmpl | 3 +++ 2 files changed, 5 insertions(+)
diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl index 0552669..d4cb3bf 100644 --- a/share/runtime-cleanup.tmpl +++ b/share/runtime-cleanup.tmpl @@ -45,6 +45,8 @@ removepkg logrotate remove /etc/logrotate.d ## anaconda needs this to do media check removefrom isomd5sum --allbut /usr/bin/checkisomd5 +## remove ntp keep only config file +removefrom ntp --allbut /etc/ntp.conf
## various other things we remove to save space removepkg avahi-autoipd coreutils-libs dash db4-utils diffutils file diff --git a/share/runtime-install.tmpl b/share/runtime-install.tmpl index 62bb4d9..179922b 100644 --- a/share/runtime-install.tmpl +++ b/share/runtime-install.tmpl @@ -96,6 +96,9 @@ installpkg tigervnc-server-module %endif installpkg net-tools
+## ntp packages +installpkg ntp + ## hardware utilities/libraries installpkg pciutils usbutils ipmitool installpkg mt-st smartmontools
Looks good to me.
Added label: ACK.
I don't understand how this solved the problem in the bug. Adding the ntp.conf to the install image isn't going to have any effect on the packages installed to their system.
Removed label: ACK.
@bcl you must look on main commit for this patch in this [PR](https://github.com/rhinstaller/anaconda/pull/144). Here I add configuration file to install environment and in that PR the servers are changed and they are copied to the installed system.
Sorry I mentioned this in the second PR and I forgot to add it here too.
Thanks for the explanation, could you add that to the commit before pushing?
Added label: ACK.
OK, I will add some information to commit message.
anaconda-patches@lists.fedorahosted.org