systemd: disable ima; update udev hwdb and journald catalogs at post-inst.
This commit is contained in:
parent
7386fb02d2
commit
7629f03253
3 changed files with 4 additions and 3 deletions
|
@ -7,6 +7,8 @@ post)
|
||||||
systemctl enable getty@.service || :
|
systemctl enable getty@.service || :
|
||||||
fi
|
fi
|
||||||
if [ "$UPDATE" = "yes" -a -e sys/fs/cgroup/systemd ]; then
|
if [ "$UPDATE" = "yes" -a -e sys/fs/cgroup/systemd ]; then
|
||||||
|
udevadm hwdb --update
|
||||||
|
journalctl --update-catalog
|
||||||
systemctl --system daemon-reexec || :
|
systemctl --system daemon-reexec || :
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -16,4 +16,3 @@ d /usr/lib/systemd/ntp-units.d 0755 root root
|
||||||
d /usr/lib/binfmt.d 0755 root root
|
d /usr/lib/binfmt.d 0755 root root
|
||||||
d /usr/lib/sysctl.d 0755 root root
|
d /usr/lib/sysctl.d 0755 root root
|
||||||
d /usr/lib/modules-load.d 0755 root root
|
d /usr/lib/modules-load.d 0755 root root
|
||||||
d /var/lib/systemd 0755 root root
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'systemd'
|
# Template file for 'systemd'
|
||||||
pkgname=systemd
|
pkgname=systemd
|
||||||
version=196
|
version=196
|
||||||
revision=6
|
revision=7
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-distro=other --libexecdir=/usr/lib
|
configure_args="--with-distro=other --libexecdir=/usr/lib
|
||||||
--disable-selinux --disable-tcpwrap --with-rootprefix=/usr
|
--disable-selinux --disable-tcpwrap --with-rootprefix=/usr
|
||||||
--with-sysvinit-path= --with-sysvrcd-path= --disable-audit
|
--with-sysvinit-path= --with-sysvrcd-path= --disable-audit
|
||||||
--disable-static"
|
--disable-static --disable-ima"
|
||||||
depends="dbus run-parts kbd libcap-progs"
|
depends="dbus run-parts kbd libcap-progs"
|
||||||
makedepends="pkg-config intltool gperf libxslt docbook-xsl acl-devel pam-devel
|
makedepends="pkg-config intltool gperf libxslt docbook-xsl acl-devel pam-devel
|
||||||
dbus-devel libcap-devel libkmod-devel liblzma-devel cryptsetup-devel
|
dbus-devel libcap-devel libkmod-devel liblzma-devel cryptsetup-devel
|
||||||
|
|
Loading…
Reference in a new issue