systemd: create /run/console via tmpfiles, remove some useless conf_files.
This commit is contained in:
parent
46cfcf828b
commit
90e1bb44b0
1 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,7 @@
|
|||
# Template file for 'systemd'
|
||||
pkgname=systemd
|
||||
version=36
|
||||
revision=1
|
||||
distfiles="http://www.freedesktop.org/software/$pkgname/$pkgname-$version.tar.bz2"
|
||||
build_style=gnu_configure
|
||||
configure_args="--with-distro=other --with-rootdir= --localstatedir=/var
|
||||
|
@ -30,12 +31,7 @@ conf_files="
|
|||
/etc/locale.conf
|
||||
/etc/systemd/system.conf
|
||||
/etc/systemd/user.conf
|
||||
/etc/systemd/systemd-logind.conf
|
||||
/etc/dbus-1/system.d/org.freedesktop.systemd1.conf
|
||||
/etc/dbus-1/system.d/org.freedesktop.hostname1.conf
|
||||
/etc/dbus-1/system.d/org.freedesktop.login1.conf
|
||||
/etc/dbus-1/system.d/org.freedesktop.locale1.conf
|
||||
/etc/dbus-1/system.d/org.freedesktop.timedate1.conf"
|
||||
/etc/systemd/systemd-logind.conf"
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libudev
|
||||
|
@ -74,4 +70,8 @@ post_install()
|
|||
vinstall ${FILESDIR}/vconsole.conf 644 etc
|
||||
vinstall ${FILESDIR}/os-release 640 etc
|
||||
vinstall ${FILESDIR}/locale.conf 644 etc
|
||||
|
||||
printf "d /run/console 755 root root\n" > \
|
||||
${DESTDIR}/usr/lib/tmpfiles.d/console.conf
|
||||
chmod 644 ${DESTDIR}/usr/lib/tmpfiles.d/console.conf
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue