Browse Source

build.sh: generate manifest

Helge Jung 10 years ago
parent
commit
d60b5fb160
1 changed files with 3 additions and 1 deletions
  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}!"