Explorar o código

Include target subdirs in sysupgrade filepath

bryan hai 5 meses
pai
achega
1d078a30e0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      openwrtbuilder

+ 1 - 1
openwrtbuilder

@@ -742,7 +742,7 @@ main() {
     local seed_url="$url_prefix/config.buildinfo"
 
     if ((FROM_SOURCE)); then
-      declare -g SYSUPGRADEIMGGZ="$BIN_DIR/targets/$img_fname-sysupgrade.img.gz"
+      declare -g SYSUPGRADEIMGGZ="$BIN_DIR/targets/$TARGET/$img_fname-sysupgrade.img.gz"
     else
       declare -g SYSUPGRADEIMGGZ="$BUILD_DIR/$img_fname-sysupgrade.img.gz"
     fi