From 89a4aa37716c5fe89e9c5c09405493770597f82d Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 2 Nov 2018 18:17:37 +0100 Subject: [PATCH] prepare-root.sh: run systemd-sysusers after rpm install --- prepare-root.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/prepare-root.sh b/prepare-root.sh index 17e4e8a..6371974 100755 --- a/prepare-root.sh +++ b/prepare-root.sh @@ -310,6 +310,8 @@ export SOURCE_DATE_EPOCH=$( chroot "$sysroot" bash -c 'rpm -qa --qf "%{BUILDTIME}\n"' | sort -nr | head -1 ) +chroot "$sysroot" /usr/bin/systemd-sysusers + for i in passwd shadow group gshadow subuid subgid; do [[ -e "$sysroot"/etc/${i}.rpmnew ]] || continue while read line || [[ $line ]]; do