You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i have a [[https://github.com/attila-lendvai/openwrt-auto-extroot|project/script]] that downloads imagebuilder and builds a custom OpenWRT firmware for any router. the resulting firmware automatically sets up extroot on any external storage.
====== issue ======
the URL for the image builder archive is not easily derivable. see this snippet from my script:
it's easy to calculate the URL for e.g. //(ar71xx generic tl-wr1043nd-v2)// because //${TARGET_VARIANT} (i.e. 'generic')// is part of both the dir path and the filename, but not for e.g. //(bcm53xx generic dlink-dir-885l)//, because in the latter case //${TARGET_VARIANT}// is part of the directory structure, but not that of the filename itself.
====== request ======
please make sure that the imagebuilder URL can be consistently calculated from the //(arch, variant, device)// triplet, either by eliminating the variant also from the dir structure, or by consistently including it in the file name, too.
The text was updated successfully, but these errors were encountered:
attila-lendvai:
====== context ======
i have a [[https://github.com/attila-lendvai/openwrt-auto-extroot|project/script]] that downloads imagebuilder and builds a custom OpenWRT firmware for any router. the resulting firmware automatically sets up extroot on any external storage.
====== issue ======
the URL for the image builder archive is not easily derivable. see this snippet from my script:
IMGBUILDER_NAME="lede-imagebuilder-${RELEASE}-${TARGET_ARCHITECTURE}-${TARGET_VARIANT}.Linux-x86_64"
IMGBUILDERURL="https://downloads.openwrt.org/releases/${RELEASE}/targets/${TARGET_ARCHITECTURE}/${TARGET_VARIANT}/${IMGBUILDER_ARCHIVE}"
it's easy to calculate the URL for e.g. //(ar71xx generic tl-wr1043nd-v2)// because //${TARGET_VARIANT} (i.e. 'generic')// is part of both the dir path and the filename, but not for e.g. //(bcm53xx generic dlink-dir-885l)//, because in the latter case //${TARGET_VARIANT}// is part of the directory structure, but not that of the filename itself.
====== request ======
please make sure that the imagebuilder URL can be consistently calculated from the //(arch, variant, device)// triplet, either by eliminating the variant also from the dir structure, or by consistently including it in the file name, too.
The text was updated successfully, but these errors were encountered: