mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
mkosi: Fix up ownership of testuser home directory on first boot
When building unprivileged, the testuser home directory ends up owned by root:root because mkosi can't chown directories to other owners when running unprivileged. So let's fix up the testuser ownership on first boot with tmpfiles instead.
This commit is contained in:
3
mkosi.extra/usr/lib/tmpfiles.d/testuser.conf
Normal file
3
mkosi.extra/usr/lib/tmpfiles.d/testuser.conf
Normal file
@@ -0,0 +1,3 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
z! /home/testuser 700 testuser testuser
|
||||
Reference in New Issue
Block a user