mkosi: Mark /etc /var as updated in a finalize script

Let's make sure we don't run ldconfig.service and other services
again on first boot.
This commit is contained in:
Daan De Meyer
2025-03-27 14:31:55 +01:00
parent d3ae14bd2f
commit 858e59c82c

5
mkosi.finalize Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
# SPDX-License-Identifier: CC-0
set -e
touch -r "$BUILDROOT/usr" "$BUILDROOT/etc/.updated" "$BUILDROOT/var/.updated"