diff options
author | Nicolas Iooss | 2014-09-06 20:56:15 +0200 |
---|---|---|
committer | Nicolas Iooss | 2015-06-27 11:44:57 +0800 |
commit | 28e3f103d649a15b865904971a5956211415d7a3 (patch) | |
tree | 3c44c2a46adf56f62ed66ace6dbe50761f836af8 /systemd.install | |
parent | 8bfcdfc3d277334a2debc59b3cfe30fa0961e718 (diff) | |
download | aur-28e3f103d649a15b865904971a5956211415d7a3.tar.gz |
systemd-selinux 216-3 update
Diffstat (limited to 'systemd.install')
-rw-r--r-- | systemd.install | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/systemd.install b/systemd.install index a075a28eef3b..8957a3336fea 100644 --- a/systemd.install +++ b/systemd.install @@ -1,7 +1,7 @@ #!/bin/bash sd_booted() { - [[ -d run/systemd/system ]] + [[ -d run/systemd/system && ! -L run/systemd/system ]] } add_privs() { @@ -36,8 +36,7 @@ _dir_empty() { } post_common() { - systemd-machine-id-setup - + systemd-sysusers udevadm hwdb --update journalctl --update-catalog } @@ -142,7 +141,18 @@ _215_2_changes() { systemd-tmpfiles --create etc.conf } +_216_2_changes() { + echo ':: Coredumps are handled by systemd by default. Collection behavior can be' + echo ' tuned in /etc/systemd/coredump.conf.' +} + post_install() { + # because systemd can't sanely manage this meanial task... + uuidgen | { + read + echo "${REPLY//-}">etc/machine-id + } + post_common "$@" add_journal_acls @@ -168,7 +178,8 @@ post_upgrade() { 210-1 213-4 214-2 - 215-2) + 215-2 + 216-2) for v in "${upgrades[@]}"; do if [[ $(vercmp "$v" "$2") -eq 1 ]]; then |