diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-07-11 16:09:15 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-07-18 11:17:42 +0200 |
commit | bb8f6ac445b80f9621503bec7a22caa57bb10ee4 (patch) | |
tree | 3bdefd2925fc466425882ddf72da6e5eb7774616 | |
parent | Merge pull request #33092 from YHNdnzj/freezer-cleanup (diff) | |
download | systemd-bb8f6ac445b80f9621503bec7a22caa57bb10ee4.tar.xz systemd-bb8f6ac445b80f9621503bec7a22caa57bb10ee4.zip |
mkosi: Skip sync script if NO_BUILD is enabled
If we're not doing a build, there's no point in syncing either so
lets skip it.
Diffstat (limited to '')
-rwxr-xr-x | mkosi.images/build/mkosi.sync | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkosi.images/build/mkosi.sync b/mkosi.images/build/mkosi.sync index 198e1bc147..a545d49867 100755 --- a/mkosi.images/build/mkosi.sync +++ b/mkosi.images/build/mkosi.sync @@ -3,7 +3,7 @@ set -e set -o nounset -if ((${NO_SYNC:-0})); then +if ((${NO_SYNC:-0})) || ((${NO_BUILD:-0})); then exit 0 fi |