From b0f23d1e562e753cb78a473fdade956a25cc337b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 20 Nov 2016 17:42:34 +0100 Subject: finalize systemd as alternative init system Most important is the fix in patch-src_journal_journald-server_c, which breaks startup of systemd-journald when code is compiled with -DNDEBUG. A lot of base-files reorganizing to only install required files on sysv systems. --- package/systemd/files/systemd.postinst | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 package/systemd/files/systemd.postinst (limited to 'package/systemd/files/systemd.postinst') diff --git a/package/systemd/files/systemd.postinst b/package/systemd/files/systemd.postinst new file mode 100644 index 000000000..76e213117 --- /dev/null +++ b/package/systemd/files/systemd.postinst @@ -0,0 +1,27 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh +gid=$(get_next_gid) +add_group utmp $gid +gid=$(get_next_gid) +add_group systemd-journal $gid +gid=$(get_next_gid) +add_group systemd-bus-proxy $gid +add_user systemd-bus-proxy $(get_next_uid) $gid / +gid=$(get_next_gid) +add_group systemd-journal-gateway $gid +add_user systemd-journal-gateway $(get_next_uid) $gid / +gid=$(get_next_gid) +add_group systemd-journal-remote $gid +add_user systemd-journal-remote $(get_next_uid) $gid / +gid=$(get_next_gid) +add_group systemd-journal-upload $gid +add_user systemd-journal-upload $(get_next_uid) $gid / +gid=$(get_next_gid) +add_group systemd-network $gid +add_user systemd-network $(get_next_uid) $gid / +gid=$(get_next_gid) +add_group systemd-resolve $gid +add_user systemd-resolve $(get_next_uid) $gid / +gid=$(get_next_gid) +add_group systemd-timesync $gid +add_user systemd-timesync $(get_next_uid) $gid / -- cgit v1.2.3