diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2024-03-20 15:33:17 +0100 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2024-03-25 16:51:16 +0100 |
commit | 10ac38ddd38673c55efa83bbccbc78529289cf07 (patch) | |
tree | 0badfa388f6d43829ebf8a3b7f8d7467f067fb5d /mkosi.images/system | |
parent | Merge pull request #31730 from yuwata/network-dhcp-server-lease-file-follow-ups (diff) | |
download | systemd-10ac38ddd38673c55efa83bbccbc78529289cf07.tar.xz systemd-10ac38ddd38673c55efa83bbccbc78529289cf07.zip |
mkosi: Remove testuser from base/mkosi.postinst.chroot
The testuser user is only needed for integration tests,
which are used in the system user and this config
can be provided as drop-ins instead of inline in postinst scripts.
Diffstat (limited to 'mkosi.images/system')
-rw-r--r-- | mkosi.images/system/mkosi.extra/usr/lib/sysusers.d/testuser.conf | 1 | ||||
-rw-r--r-- | mkosi.images/system/mkosi.extra/usr/lib/tmpfiles.d/testuser.conf | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/mkosi.images/system/mkosi.extra/usr/lib/sysusers.d/testuser.conf b/mkosi.images/system/mkosi.extra/usr/lib/sysusers.d/testuser.conf new file mode 100644 index 0000000000..9d65a0ee09 --- /dev/null +++ b/mkosi.images/system/mkosi.extra/usr/lib/sysusers.d/testuser.conf @@ -0,0 +1 @@ +u testuser 4711 "Test User" /home/testuser diff --git a/mkosi.images/system/mkosi.extra/usr/lib/tmpfiles.d/testuser.conf b/mkosi.images/system/mkosi.extra/usr/lib/tmpfiles.d/testuser.conf new file mode 100644 index 0000000000..1b6ecb6f54 --- /dev/null +++ b/mkosi.images/system/mkosi.extra/usr/lib/tmpfiles.d/testuser.conf @@ -0,0 +1 @@ +q /home/testuser 0700 4711 4711 |