From 858e59c82c2246d34d84bd495f46c971d9303dba Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Thu, 27 Mar 2025 14:31:55 +0100 Subject: [PATCH] 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. --- mkosi.finalize | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 mkosi.finalize diff --git a/mkosi.finalize b/mkosi.finalize new file mode 100755 index 00000000000..e6aededc604 --- /dev/null +++ b/mkosi.finalize @@ -0,0 +1,5 @@ +#!/bin/bash +# SPDX-License-Identifier: CC-0 +set -e + +touch -r "$BUILDROOT/usr" "$BUILDROOT/etc/.updated" "$BUILDROOT/var/.updated" -- 2.47.3