Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Pre-Built Files #155

Open
Ryan-Goldstein opened this issue Oct 15, 2023 · 2 comments
Open

Update Pre-Built Files #155

Ryan-Goldstein opened this issue Oct 15, 2023 · 2 comments

Comments

@Ryan-Goldstein
Copy link

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
Copy link

hnyman commented Oct 21, 2023

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.sh script 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
Copy link
Contributor

it's done, issue resolved?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants