Skip to content

Commit

Permalink
mkosi: Replace sysusers.d with useradd for test user
Browse files Browse the repository at this point in the history
sysusers.d is not intended for regular users, so let's use useradd
instead.
  • Loading branch information
DaanDeMeyer committed Jun 8, 2024
1 parent d5474f7 commit 27cd8a6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.

This file was deleted.

This file was deleted.

2 changes: 2 additions & 0 deletions mkosi.images/system/mkosi.postinst.chroot
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
set -e
set -o nounset

useradd --uid 4711 --create-home --user-group testuser

if command -v authselect >/dev/null; then
# authselect 1.5.0 renamed the minimal profile to the local profile without keeping backwards compat so
# let's use the new name if it exists.
Expand Down

0 comments on commit 27cd8a6

Please sign in to comment.