Skip to content

Commit 6bcaafe

Browse files
authored
bump to OpenWrt 23.05.0 (#35)
upgrade docker base image examples: -remove removed no longer existing ksmdb-utils -remove luci-app-wireguard since it was merged into luci-proto-wireguard
1 parent 0f637ea commit 6bcaafe

12 files changed

Lines changed: 29 additions & 21 deletions

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: linting
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v4
1414
- name: shellcheck
1515
run: shellcheck builder.sh
1616
testnix:
@@ -21,7 +21,7 @@ jobs:
2121
example: ["x86_64", "rpi4", "glinet-gl-ar750", "glinet-gl-mt300n-v2", "nexx-wt3020", "rpi2", "wrt1043nd"]
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v4
2525
- name: test build example
2626
run: |
2727
sh <(curl -L https://nixos.org/nix/install) --no-daemon
@@ -41,7 +41,7 @@ jobs:
4141
sudo: ["", "--sudo"]
4242
steps:
4343
- name: Checkout
44-
uses: actions/checkout@v2
44+
uses: actions/checkout@v4
4545
- name: test build example
4646
run: |
4747
if [ "${{ matrix.option }}" == "--podman" ]; then

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog for lede-dockerbuilder
22

3+
## v3.5 [2923-11-05]
4+
5+
* Upgrade to OpenWrt 23.05.0 & make examples run again
6+
* Ugrade docker base image
7+
38
## v3.4 [2023-04-19]
49

510
* Upgrade to OpenWrt 22.03.4

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ for your embedded device or a Raspberry PI) using a self-contained docker
3131
container or a [nix-shell](https://nixos.wiki/wiki/Development_environment_with_nix-shell) and the [OpenWrt image
3232
builder](https://openwrt.org/docs/guide-user/additional-software/imagebuilder).
3333
On the builder host, Docker, podman/buildah (for dockerless operation) or nix-shell is the
34-
only requirement. Supports latest OpenWrt release (22.03.4).
34+
only requirement. Supports latest OpenWrt release (23.05.0).
3535

3636
### Note
3737

@@ -187,7 +187,7 @@ encrypted USB disk attached so I can use it as a simple NAS with samba and ftp:
187187
```
188188
# LEDE profile to use: NEXX WT3020
189189
LEDE_PROFILE=nexx_wt3020-8m
190-
LEDE_RELEASE=22.03.4
190+
LEDE_RELEASE=23.05.0
191191
LEDE_TARGET=ramips
192192
LEDE_SUBTARGET=mt7620
193193
@@ -196,7 +196,7 @@ LEDE_SUBTARGET=mt7620
196196
# include all packages to build a mobile NAS supporting disk encryption:
197197
# ksmbd (samba4 is too large now for the WT3020's 8MB), cryptsetup.
198198
# see https://github.com/namjaejeon/ksmbd-tools for ksmbd info.
199-
LEDE_PACKAGES="ksmbd-server ksmbd-utils lsblk block-mount\
199+
LEDE_PACKAGES="ksmbd-server lsblk block-mount\
200200
kmod-usb-storage-uas kmod-scsi-core ntfs-3g\
201201
kmod-nls-iso8859-1 cryptsetup kmod-crypto-xts\
202202
kmod-mt76 kmod-usb2 kmod-usb-ohci kmod-usb-core kmod-dm kmod-crypto-ecb\
@@ -300,7 +300,7 @@ a virtual router/firewall.
300300

301301
First build the image with `builder.sh build example-x86_64.conf`, then unpack
302302
the resulting image with e.g. `gunzip
303-
output/openwrt-22.03.4-x86-64-generic-ext4-combined.img.gz`. Finally the image
303+
output/openwrt-23.05.0-x86-64-generic-ext4-combined.img.gz`. Finally the image
304304
can be started with qemu (or simply use [run_in_qemu.sh](etc/run_in_qemu.sh))
305305

306306
```shell

docker/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
FROM ubuntu:18.04
1+
FROM ubuntu:22.04 as base
22
LABEL maintainer "Jan Delgado <jdelgado@gmx.net>"
33

44
RUN apt-get update\
55
&& DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential\
66
libncurses5-dev libncursesw5-dev zlib1g-dev gawk git gettext libssl-dev\
7-
xsltproc rsync wget unzip python3\
7+
xsltproc rsync wget unzip python3 python3-distutils file\
88
&& rm -rf /var/lib/apt/lists/*
99

1010
ADD etc/entrypoint.sh /usr/local/bin/
1111
RUN chmod 755 /usr/local/bin/entrypoint.sh
1212

13+
FROM base
14+
1315
# install the image builder. use tmpfile so that tar's compression
1416
# autodetection works.
1517
ARG BUILDER_URL

example-glinet-gl-ar750.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# LEDE profile to use: GL.iNet GL-AR750
22
LEDE_PROFILE=glinet_gl-ar750
3-
LEDE_RELEASE=22.03.4
3+
LEDE_RELEASE=23.05.0
44
LEDE_TARGET=ath79
55
LEDE_SUBTARGET=generic
66

77
# list packages to include in LEDE image. prepend packages to deinstall with "-".
88
LEDE_PACKAGES="-ath10k-firmware-qca9887-ct ath10k-firmware-qca9887-ct-full-htt \
9-
ksmbd-server ksmbd-utils hd-idle luci-app-hd-idle diffutils\
9+
ksmbd-server hd-idle luci-app-hd-idle diffutils\
1010
kmod-usb-storage-uas kmod-scsi-core kmod-fs-ext4 ntfs-3g\
1111
kmod-nls-cp437 kmod-nls-iso8859-1 vsftpd cryptsetup kmod-crypto-xts\
1212
kmod-mt76 kmod-usb2 kmod-usb-ohci kmod-usb-core usbutils\
1313
block-mount kmod-dm kmod-crypto-ecb \
1414
kmod-crypto-misc kmod-crypto-cbc kmod-crypto-crc32c kmod-crypto-hash\
1515
kmod-crypto-user iwinfo dropbear \
1616
-ppp -kmod-ppp -kmod-pppoe -kmod-pppox -ppp-mod-pppoe nmap tcpdump\
17-
kmod-wireguard luci-app-wireguard luci-proto-wireguard wireguard-tools\
17+
kmod-wireguard luci-proto-wireguard wireguard-tools\
1818
luci-ssl lsblk adblock luci-app-adblock"
1919

2020
LEDE_DISABLED_SERVICES=""

example-glinet-gl-mt300n-v2.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# profile to use: GL.iNet GL-MT300N V2
22
LEDE_PROFILE=glinet_gl-mt300n-v2
3-
LEDE_RELEASE=22.03.4
3+
LEDE_RELEASE=23.05.0
44
LEDE_TARGET=ramips
55
LEDE_SUBTARGET=mt76x8
66

77
# list packages to include in LEDE image. prepend packages to deinstall with "-".
88
# include all packages to build a mobile NAS supporting disk encryption:
99
# luci, ksmbd, vsftp, cryptsetup and some tools
1010
#
11-
LEDE_PACKAGES="ksmbd-server ksmbd-utils vsftpd cryptsetup usbutils \
11+
LEDE_PACKAGES="ksmbd-server vsftpd cryptsetup usbutils \
1212
block-mount lsblk iwinfo tcpdump luci-ssl\
1313
kmod-usb-storage-uas kmod-scsi-core kmod-fs-ext4 ntfs-3g\
1414
kmod-nls-cp437 kmod-nls-iso8859-1 kmod-crypto-xts kmod-usb-ohci kmod-usb2\

example-nexx-wt3020.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# LEDE profile to use: NEXX WT3020
22
LEDE_PROFILE=nexx_wt3020-8m
3-
LEDE_RELEASE=22.03.4
3+
LEDE_RELEASE=23.05.0
44
LEDE_TARGET=ramips
55
LEDE_SUBTARGET=mt7620
66

@@ -9,7 +9,7 @@ LEDE_SUBTARGET=mt7620
99
# include all packages to build a mobile NAS supporting disk encryption:
1010
# ksmbd (samba4 is too large now for the WT3020's 8MB), cryptsetup.
1111
# see https://github.com/namjaejeon/ksmbd-tools for ksmbd info.
12-
LEDE_PACKAGES="ksmbd-server ksmbd-utils lsblk block-mount\
12+
LEDE_PACKAGES="ksmbd-server lsblk block-mount\
1313
kmod-usb-storage-uas kmod-scsi-core ntfs-3g\
1414
kmod-nls-iso8859-1 cryptsetup kmod-crypto-xts\
1515
kmod-mt76 kmod-usb2 kmod-usb-ohci kmod-usb-core kmod-dm kmod-crypto-ecb\

example-rpi2.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
LEDE_PROFILE=rpi-2
2-
LEDE_RELEASE=22.03.4
2+
LEDE_RELEASE=23.05.0
33
LEDE_TARGET=bcm27xx
44
LEDE_SUBTARGET=bcm2709
55

example-rpi4.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Demo for Raspberry 4.
22
LEDE_PROFILE=rpi-4
3-
LEDE_RELEASE=22.03.4
3+
LEDE_RELEASE=23.05.0
44
LEDE_TARGET=bcm27xx
55
LEDE_SUBTARGET=bcm2711
66

example-wrt1043nd.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# OpenWRT profile to use: tp link WR1043ND
22
LEDE_PROFILE=tplink_tl-wr1043nd-v2
33
LEDE_TARGET=ath79
4-
LEDE_RELEASE=22.03.4
4+
LEDE_RELEASE=23.05.0
55
LEDE_SUBTARGET=generic
66

77
# list packages to include in the image. prepend packages to deinstall with "-".

0 commit comments

Comments
 (0)