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