dangowrt / owrt-ubi-installer

OpenWrt firmware installer for the Linksys E8450 aka. Belkin RT3200
GNU General Public License v2.0
395 stars 51 forks source link

Update Pre-Built Files #155

Open Ryan-Goldstein opened 11 months ago

Ryan-Goldstein commented 11 months ago

The latest release, v1.0.2, contains a somewhat outdated OpenWRT version (22.03.3) compared to the latest (23.05.0). Would be great if the pre-built files could use this latest version!

hnyman commented 11 months ago

As a intermediate solution, before Daniel updates his release: you can clone Daniel's github repo and change the build_installer.sh script to use 23.05 and build by yourself. The build_installer.shscript builds both the ubi initramfs recovery installer, the recovery instance and the normal sysupgrade image.

As far as I can see, the only changes needed are the branch name and PGP key (unattended PGP key from from https://openwrt.org/docs/guide-user/security/signatures ):

erus@ub2310:/Openwrt/owrt-ubi-installer$ git diff
diff --git a/build_installer.sh b/build_installer.sh
index a28fa2b..e22c9e1 100755
--- a/build_installer.sh
+++ b/build_installer.sh
@@ -5,7 +5,7 @@ set -o pipefail

 DESTDIR="$PWD"

-OPENWRT_PGP="0xCD54E82DADB3684D"
+OPENWRT_PGP="0xCD84BCED626471F1"
 KEYSERVER="keyserver.ubuntu.com"
 INSTALLERDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
 OPENWRT_DIR="${INSTALLERDIR}/openwrt-ib"
@@ -250,7 +250,7 @@ bundle_initrd() {
 }

 linksys_e8450_installer() {
-       OPENWRT_RELEASE="22.03.5"
+       OPENWRT_RELEASE="23.05.0"
        OPENWRT_TARGET="https://downloads.openwrt.org/releases/${OPENWRT_RELEASE}/targets/mediatek/mt7622"
        OPENWRT_IB="openwrt-imagebuilder-${OPENWRT_RELEASE}-mediatek-mt7622.Linux-x86_64.tar.xz"
        OPENWRT_INITRD="openwrt-${OPENWRT_RELEASE}-mediatek-mt7622-linksys_e8450-ubi-initramfs-recovery.itb"

EDIT: I tested it, built the images and (just for testing purposes) updated the recovery image on my RT3200, and used that to flash my normal main/master snapshot image. Quite ok.

Now the recovery has 23.05.0:

image

lectrical commented 11 months ago

it's done, issue resolved?

https://github.com/dangowrt/owrt-ubi-installer/releases/tag/v1.0.3