export commit=\"\$$(cd build/src/ && git rev-parse HEAD)\$$([ -z \"\$$(cd build/src/ && git status --porcelain)\" ] || echo -dirty)\"; \
export version=\"\$$(cd build/src/ && dpkg-parsechangelog --show-field Version | grep -o '^[^+~-]*' | tr -d '\n')+ib~c\$$(cd build/src/ && git rev-list HEAD --count)-\$$commit\"; \
" \
- chns "build-env/$(DISTRO)/$(RELEASE)/rootfs/" sh -ex -c "\
+ DO_LOCK=3 chns "build-env/$(DISTRO)/$(RELEASE)/rootfs/" sh -ex -c "\
if [ \"\$$USE_IMAGE_BUILDER_REPO\" = yes ] && [ \"\$$DONT_BUILD_IF_IN_REPO\" = yes ] && [ -n \"\$$IMAGE_BUILDER_REPO\" ] && [ -n \"\$$IMAGE_BUILDER_REPO_KEY\" ]; \
then \
wget -O- \"\$$IMAGE_BUILDER_REPO_KEY\" | apt-key add -; \