systemd: added local-d.service to start local scripts in /etc/local.d, disable plymouth support.
This commit is contained in:
parent
43529ac136
commit
bfbae11482
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=/etc/local.d execution
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/run-parts /etc/local.d
|
||||
TimeoutSec=0
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -1,11 +1,12 @@
|
|||
# Template file for 'systemd'
|
||||
pkgname=systemd
|
||||
version=42
|
||||
revision=1
|
||||
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.xz"
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-distro=other --with-rootprefix=
|
||||
--with-pamlibdir=/lib/security --disable-selinux --disable-tcpwrap
|
||||
--with-sysvinit-path= --with-sysvrcd-path= --disable-audit --enable-plymouth"
|
||||
--with-sysvinit-path= --with-sysvrcd-path= --disable-audit"
|
||||
short_desc="A system and service manager for Linux"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.freedesktop.org/wiki/Software/systemd"
|
||||
|
@ -33,9 +34,12 @@ conf_files="
|
|||
/etc/systemd/systemd-logind.conf"
|
||||
|
||||
# Required by systemd-loginctl enable-linger.
|
||||
make_dirs="/var/lib/systemd 0755 root root"
|
||||
make_dirs="
|
||||
/etc/local.d 0755 root root
|
||||
/var/lib/systemd 0755 root root"
|
||||
|
||||
Add_dependency run dbus
|
||||
Add_dependency run run-parts
|
||||
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build intltool
|
||||
|
@ -93,4 +97,9 @@ post_install() {
|
|||
sed -i -e "s|/sbin/sulogin|/bin/sh|" \
|
||||
${DESTDIR}/lib/systemd/system/${f}.service
|
||||
done
|
||||
# Install and enable local-d.service for multi-user.target
|
||||
# by default.
|
||||
vinstall ${FILESDIR}/local-d.service 644 lib/systemd/system
|
||||
ln -sf /lib/systemd/system/local-d.service \
|
||||
${DESTDIR}/lib/systemd/system/multi-user.target.wants/local-d.service
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue