From 1d078a30e03ee9af2a732091799ed0d5da7fd661 Mon Sep 17 00:00:00 2001 From: bryan Date: Fri, 6 Dec 2024 12:32:01 -0500 Subject: [PATCH] Include target subdirs in sysupgrade filepath --- openwrtbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrtbuilder b/openwrtbuilder index 4df6757..110dfc3 100755 --- a/openwrtbuilder +++ b/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