projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
102ed56
)
mkosi: Skip sync script if NO_BUILD is enabled
author
Daan De Meyer
<daan.j.demeyer@gmail.com>
Thu, 11 Jul 2024 14:09:15 +0000
(16:09 +0200)
committer
Daan De Meyer
<daan.j.demeyer@gmail.com>
Thu, 18 Jul 2024 19:12:48 +0000
(21:12 +0200)
If we're not doing a build, there's no point in syncing either so
lets skip it.
(cherry picked from commit
bb8f6ac445b80f9621503bec7a22caa57bb10ee4
)
mkosi.images/build/mkosi.sync
patch
|
blob
|
history
diff --git
a/mkosi.images/build/mkosi.sync
b/mkosi.images/build/mkosi.sync
index 198e1bc14752c01c5ca8b24618e2ba4d9c1a223f..a545d49867003ffacd9f9576e114451778f6c3e9 100755
(executable)
--- 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