Sfoglia il codice sorgente

fix manifest generation

was in wrong directory and missed GLUON_BRANCH
Helge Jung 9 anni fa
parent
commit
ddb4c11cb1
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      build.sh

+ 3 - 1
build.sh

@@ -114,7 +114,9 @@ progress "Assembling images.7z ..."
 
 # 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."
+pushd $CODE_DIR
+GLUON_BRANCH=$BRANCH make manifest || abort "Failed to generate the manifest, try running 'make manifest' in '$CODE_DIR' directory manually."
+popd
 cp "${CODE_DIR}/images/sysupgrade/${BRANCH}.manifest" "output/${BRANCH}/"
 
 # write (copy) version file