From 884afd866f5138f5a400ab2cc754fa96df74cd88 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Tue, 7 Jul 2026 23:26:17 +0100 Subject: Install and use sysusers.d config files sysusers.d config files allow a package to use declarative configuration instead of manually written maintainer scripts. This also allows image-based systems to be created with /usr/ only, and also allows for factory resetting a system and recreating /etc/ on boot. https://www.freedesktop.org/software/systemd/man/latest/sysusers.d.html Note that this does not require a hard dependency on systemd, debhelper generates depetencies correctly so that they work out of the box on non-systemd and non-linux Debian builds seamlessly. --- debian/control | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'debian/control') diff --git a/debian/control b/debian/control index cf41ba9..5854a15 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: lacme Section: utils Priority: optional Maintainer: Guilhem Moulin -Build-Depends: debhelper-compat (= 13), jq, pandoc (>= 2.1~) +Build-Depends: debhelper-compat (= 13), dh-sequence-installsysusers, jq, pandoc (>= 2.1~) Rules-Requires-Root: no Standards-Version: 4.7.0 Homepage: https://git.guilhem.org/lacme/about/ @@ -11,8 +11,7 @@ Vcs-Browser: https://salsa.debian.org/debian/lacme Package: lacme Architecture: all -Depends: adduser, - libconfig-tiny-perl, +Depends: libconfig-tiny-perl, libjson-perl, libnet-ssleay-perl, libtimedate-perl, -- cgit v1.2.3