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 to build latest release 23.05.5 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ case $REL in
X86_rootfs=openwrt-$REL-x86-64-rootfs.tar.gz
;;
*)
X86_rootfs=openwrt-$REL-x86-64-generic-rootfs.tar.gz
X86_rootfs=openwrt-$REL-x86-64-rootfs.tar.gz
esac

DL https://downloads.openwrt.org/releases/$REL/targets/x86/64/$X86_rootfs || FAIL
Expand All @@ -249,8 +249,8 @@ TO="$PR/../bin/$HOST_ARCH"
CMD mkdir -p $TO

case $REL in
21*)
CMD tar -xf $R -C "$TO" ./bin/opkg ./lib/libc.so ./lib/libgcc_s.so.1 ./lib/libubox.so.20210516
23*)
CMD tar -xf $R -C "$TO" ./bin/opkg ./lib/libc.so ./lib/libgcc_s.so.1 ./lib/libubox.so.20230523
;;
*)
CMD tar -xf $R -C "$TO" ./bin/opkg ./lib/libc.so ./lib/libgcc_s.so.1 ./lib/libubox.so
Expand All @@ -262,7 +262,7 @@ esac
# cd ../bin
# DL http://downloads.openwrt.org/releases/18.06.4/packages/x86_64/base/opkg_2019-06-14-dcbc142e-1_x86_64.ipk || FAIL

DL https://downloads.openwrt.org/releases/$REL/targets/$TARGET/64/openwrt-$REL-$TARGET-64-default-rootfs.tar.gz || FAIL
DL https://downloads.openwrt.org/releases/${REL}/targets/${TARGET}/${TARGET_ARCH}/openwrt-${REL}-${TARGET}-${TARGET_ARCH}-rootfs.tar.gz || FAIL

#UNPACK $R
#OWBASE=$T
Expand Down
5 changes: 3 additions & 2 deletions scripts/build.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#REL=19.07.8

[ "$REL" ] || \
REL=21.02.0
REL=23.05.5

[ "$VER" ] || \
VER=v$REL
Expand All @@ -39,7 +39,8 @@ BITS=64
PART1_LABEL=OW_BOOT
PART2_LABEL=
PART2_1_LABEL=rootfs_data
TARGET=armvirt
TARGET=armsr
TARGET_ARCH=armv8
OWARCH=aarch64_generic
TARGET_KERNEL_ARCH=arm64
P1OFFSET=4096
Expand Down