Commit 89d660dc authored by Jon Severinsson's avatar Jon Severinsson Committed by Sjoerd Simons
Browse files

Add new system group "input" used by udev rules in udev postinst.

parent 127c3c3d
......@@ -15,6 +15,7 @@ systemd (214-1) UNRELEASED; urgency=medium
* Remove pre-generated rules and unit files in debian/rules clean target.
* Add new systemd service users in systemd postinst (systemd-timesync,
systemd-network, systemd-resolve)
* Add new system group "input" used by udev rules in udev postinst.
[ Sjoerd Simons ]
* debian/patches/shared-include-stdbool.h-in-mkdir.h.patch
......
......@@ -280,6 +280,7 @@ Multi-Arch: foreign
Pre-Depends: debconf (>= 1.4.69) | debconf-2.0
Depends: ${shlibs:Depends},
${misc:Depends},
adduser,
libudev1 (= ${binary:Version}),
lsb-base (>= 3.0-6),
util-linux (>= 2.16),
......
......@@ -146,6 +146,11 @@ case "$1" in
# update/create hwdb before we (re)start udev
update_hwdb
# Add new system group used by udev rules
if ! getent group "input" >/dev/null; then
addgroup --system "input"
fi
if [ -z "$2" ]; then # first install
if ! chrooted && ! in_debootstrap; then
write_interfaces_rules
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment