Explorar o código

build.sh: generate manifest

Helge Jung %!s(int64=10) %!d(string=hai) anos
pai
achega
d60b5fb160
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      build.sh

+ 3 - 1
build.sh

@@ -90,7 +90,9 @@ progress "Assembling images.7z ..."
 [ -e "output/${BRANCH}/images.7z" ] && rm "output/${BRANCH}/images.7z"
 7z a "output/${BRANCH}/images.7z" ${CODE_DIR}/images/sysupgrade/*.bin ${CODE_DIR}/images/factory/*.bin
 
-# copy generated manifest
+# generate and copy manifest
+progress "Generating and copying manifest ..."
+make manifest || abort "Failed to generate the manifest, try running 'make manifest' in '$CODE_DIR' directory manually."
 cp "${CODE_DIR}/images/sysupgrade/${BRANCH}.manifest" "output/${BRANCH}/"
 
 success "We're done, go and checkout your new firmware in output/${BRANCH}!"