Parcourir la source

build.sh: generate manifest

Helge Jung il y a 10 ans
Parent
commit
d60b5fb160
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  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}!"