Browse Source

Include target subdirs in sysupgrade filepath

bryan 4 months ago
parent
commit
1d078a30e0
1 changed files with 1 additions and 1 deletions
  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