mkosi: set -o nounset for scripts
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 4 Jun 2024 13:25:03 +0000 (15:25 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 6 Jun 2024 08:02:23 +0000 (10:02 +0200)
commit2f3ae702a1ac0bd1b3136fa73ac3f431efe815a7
tree8d33de63545075f6f37d4d600d9d8c5c2e391a08
parent35f6e5c3278bda935b67249a9ee61e9f6252bb6f
mkosi: set -o nounset for scripts

Those scripts are written with the expectation that all input variables are set
and will not behave correctly if something is ommitted. In particular, the
non-chrooted scripts (mkosi.clean, mkosi.sync) might wreak havoc if called
without the full environment.
mkosi.images/system/mkosi.clean
mkosi.images/system/mkosi.postinst.chroot
mkosi.images/system/mkosi.sanitizers.chroot
mkosi.images/system/mkosi.sync