From fe6b396fd5e6d5abde0e8a96c113a4e2f3d95466 Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Mon, 17 Jun 2024 19:47:37 +0200 Subject: [PATCH] make sure ESP is mounted when updating --- update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/update.sh b/update.sh index 7f62a20..860e2fe 100755 --- a/update.sh +++ b/update.sh @@ -4,6 +4,10 @@ set -e +# Trigger mount of ESP by accessing it. +# TODO file bug that sysupdate doesn't do that. +stat /efi/EFI + export TAR_OPTIONS="--zstd" # FIXME set up signing shebang so we can run with verify exec /usr/lib/systemd/systemd-sysupdate --verify=no "$@"