mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-08 10:52:03 +01:00
Merge pull request #1317 from marineam/logrotate
coreos-init: update for logrotate support
This commit is contained in:
commit
98264ef1b3
@ -10,7 +10,7 @@ CROS_WORKON_REPO="git://github.com"
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
else
|
||||
CROS_WORKON_COMMIT="af207c09eff3b8447d457c5e534a0b7ff3aae514"
|
||||
CROS_WORKON_COMMIT="d301028d546e4a774345dab69d0429f6bc527ae0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
fi
|
||||
|
||||
@ -36,6 +36,7 @@ DEPEND="
|
||||
test? ( dev-lang/python:2.7 )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
app-admin/logrotate
|
||||
sys-block/parted
|
||||
sys-apps/gptfdisk
|
||||
>=sys-apps/systemd-207-r5
|
||||
|
||||
@ -18,6 +18,9 @@ ETCD_PROTOCOLS="1 2"
|
||||
# Extra use flags for CoreOS SDK
|
||||
USE="${USE} cros_host expat -introspection -cups -tcpd -pcre -berkdb"
|
||||
|
||||
# Never install cron or cron jobs
|
||||
USE="${USE} -cron"
|
||||
|
||||
# No need for zeroconf, that's a desktop world thing.
|
||||
# Namely dhcpcd shoudln't make up random ipv4 addresses using ipv4ll
|
||||
USE="${USE} -zeroconf"
|
||||
@ -61,11 +64,9 @@ CONFIG_PROTECT="
|
||||
|
||||
# Remove libtool .la files for non-plugin libraries.
|
||||
# Remove Gentoo init files since we use systemd.
|
||||
# Remove logrotate.d files since we don't use logrotate.
|
||||
INSTALL_MASK="
|
||||
/usr/lib*/*.la
|
||||
/etc/init.d /etc/conf.d
|
||||
/etc/logrotate.d
|
||||
"
|
||||
|
||||
# Keep the default languages small.
|
||||
|
||||
@ -27,6 +27,8 @@ INSTALL_MASK="${INSTALL_MASK}
|
||||
/etc/dmtab
|
||||
/etc/e2fsck.conf
|
||||
/etc/lvm/*
|
||||
/etc/logrotate.conf
|
||||
/etc/logrotate.d
|
||||
/etc/mdadm.conf
|
||||
/etc/rsyncd.conf
|
||||
/etc/sudoers
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user