From f1c2fe7e17b688f3ec312ce47aa8897f185c1f1d Mon Sep 17 00:00:00 2001 From: David P Date: Thu, 14 Nov 2019 15:58:35 -0300 Subject: nonsystemd/opentmpfiles: install openrc init script include it here instead of doing it in openrc Signed-off-by: David P --- nonsystemd/opentmpfiles/PKGBUILD | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'nonsystemd') diff --git a/nonsystemd/opentmpfiles/PKGBUILD b/nonsystemd/opentmpfiles/PKGBUILD index 25a366aac..c6dc9824f 100644 --- a/nonsystemd/opentmpfiles/PKGBUILD +++ b/nonsystemd/opentmpfiles/PKGBUILD @@ -4,7 +4,7 @@ pkgname=opentmpfiles pkgver=0.2 -pkgrel=1 +pkgrel=2 pkgdesc="A standalone utility for handling systemd-style tmpfiles.d settings" arch=('any') url="https://github.com/OpenRC/opentmpfiles" @@ -31,7 +31,17 @@ package_opentmpfiles() { ln -snf "/usr/bin/tmpfiles" "${pkgdir}/usr/bin/systemd-tmpfiles" + install -d "${pkgdir}"/etc/{conf,init}.d "${pkgdir}"/etc/runlevels/{boot,sysinit} + + install -m755 openrc/opentmpfiles-dev.confd "${pkgdir}"/etc/conf.d/opentmpfiles-dev + install -m755 openrc/opentmpfiles-dev.initd "${pkgdir}"/etc/init.d/opentmpfiles-dev + + install -m755 openrc/opentmpfiles-setup.confd "${pkgdir}"/etc/conf.d/opentmpfiles-setup + install -m755 openrc/opentmpfiles-setup.initd "${pkgdir}"/etc/init.d/opentmpfiles-setup + + ln -snf /etc/init.d/opentmpfiles-dev "${pkgdir}"/etc/runlevels/sysinit/opentmpfiles-dev + ln -snf /etc/init.d/opentmpfiles-setup "${pkgdir}"/etc/runlevels/boot/opentmpfiles-setup + install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 "license" "${pkgdir}/usr/share/licenses/${pkgname}/" } - -- cgit v1.2.3