coreos-base/update_engine: Port to tmpfiles eclass

This commit is contained in:
Krzesimir Nowak 2021-12-03 19:05:01 +01:00
parent 1e5df051b4
commit 13bb7c3bf3
2 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,8 @@ else
KEYWORDS="amd64 arm64"
fi
inherit autotools flag-o-matic toolchain-funcs cros-workon systemd
TMPFILES_OPTIONAL=1
inherit autotools flag-o-matic toolchain-funcs cros-workon systemd tmpfiles
DESCRIPTION="CoreOS OS Update Engine"
HOMEPAGE="https://github.com/coreos/update_engine"
@ -105,5 +106,5 @@ src_install() {
doins com.coreos.update1.conf
# Install rule to remove old UpdateEngine.conf from /etc
systemd_dotmpfilesd "${FILESDIR}"/update-engine.conf
dotmpfiles "${FILESDIR}"/update-engine.conf
}