]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: clean up generated rpm pre scripts in suse builds 42637/head
authorLuca Boccassi <luca.boccassi@gmail.com>
Wed, 17 Jun 2026 10:29:26 +0000 (11:29 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 17 Jun 2026 10:29:32 +0000 (11:29 +0100)
 2026-06-17T10:11:08.3789573Z Untracked files:
 2026-06-17T10:11:08.3790064Z   (use "git add <file>..." to include in what will be committed)
 2026-06-17T10:11:08.3790566Z    systemd-network.pre
 2026-06-17T10:11:08.3790908Z    systemd-resolve.pre

Follow-up for db9d7265f5a2fe55e46f8ab408bcff6e0aa97d88

mkosi/mkosi.images/build/mkosi.conf.d/opensuse/mkosi.build.chroot

index 3743dd86b8248a2168c787a945855945e47ba6a3..14a69456cd1989189ff98ca02b1774db280f67c7 100755 (executable)
@@ -125,6 +125,9 @@ if ! build; then
     build --noprep --nocheck
 fi
 
+# The %sysusers_generate_pre macro generates these and leaves them behind, clean them up
+rm -f systemd-network.pre systemd-resolve.pre
+
 cp "$BUILDDIR"/*.rpm "$PACKAGEDIR"
 
 make_sysext_unsigned /var/tmp/BUILD/*/BUILDROOT