overlay coreos/config: Mask some files from net-misc/ntp

We provide our own config and dropins for setting up environment. Also
do not install perl stuff as perl interpreter is not available in
production images.
This commit is contained in:
Krzesimir Nowak 2023-11-13 21:03:20 +01:00
parent 2dd4648957
commit 542ffeb375

View File

@ -0,0 +1,9 @@
# Do not install ntpdate or sntp systemd files in /etc.
INSTALL_MASK+=" /etc/systemd"
# Do not install the default ntp.conf, we provide our own in
# coreos-base/misc-files.
INSTALL_MASK+=" /etc/ntp.conf"
# Do not install perl scripts to /usr/bin.
INSTALL_MASK+=" /usr/bin/calc_tickadj /usr/bin/ntp-wait /usr/bin/ntptrace /usr/bin/update-leap"
# Do not install perl package to /usr/share/ntp.
INSTALL_MASK+=" /usr/share/ntp"