make sure ESP is mounted when updating

This commit is contained in:
Harald Sitter
2024-06-17 19:47:37 +02:00
parent dfa0922ac1
commit fe6b396fd5

View File

@@ -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 "$@"