Include target subdirs in sysupgrade filepath

This commit is contained in:
2024-12-06 12:32:01 -05:00
parent 0d8502bfac
commit 1d078a30e0

View File

@@ -742,7 +742,7 @@ main() {
local seed_url="$url_prefix/config.buildinfo" local seed_url="$url_prefix/config.buildinfo"
if ((FROM_SOURCE)); then 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 else
declare -g SYSUPGRADEIMGGZ="$BUILD_DIR/$img_fname-sysupgrade.img.gz" declare -g SYSUPGRADEIMGGZ="$BUILD_DIR/$img_fname-sysupgrade.img.gz"
fi fi