From: Daan De Meyer Date: Thu, 27 Mar 2025 13:31:55 +0000 (+0100) Subject: mkosi: Mark /etc /var as updated in a finalize script X-Git-Tag: v258-rc1~995^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=858e59c82c2246d34d84bd495f46c971d9303dba;p=thirdparty%2Fsystemd.git 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. --- 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"