浏览代码

build.sh: generate manifest

Helge Jung 10 年之前
父节点
当前提交
d60b5fb160
共有 1 个文件被更改,包括 3 次插入1 次删除
  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}!"