[lime] Announce new release 2020.4 and release candidate 202…

Delete this message

Reply to this message
Author: gothos
Date:  
To: LibreMesh
New-Topics: [lime] Errata corrige Re: Announce new release 2020.4 and release candidate 2023.1-rc2
Subject: [lime] Announce new release 2020.4 and release candidate 2023.1-rc2
Hi everyone!

The LibreMesh project announce two newest releases:

v2020.4 - Based on openwrt-19.07.10
https://downloads.libremesh.org/releases/v2020.4-ow19

v2023.1-rc2 - The second release candidate based on openwrt-22.03.5
https://downloads.libremesh.org/releases/v2023.1-rc2-ow22

A LibreMesh Selector, based on OpenWrt Firmware Selector [0] is now 
available at:
https://downloads.libremesh.org/selector
https://repo.libremesh.org/selector
https://builds.libremesh.org/selector


## Build notes
Both these releases are builded with a predefined set of lime-packages 
that includes those to setup batman-adv, babel, anygw and shared-state.
Those who are using LibreMesh with a different setup (e.g. batman-adv 
and bmx7) will still have to build their own images.

The current set is defined in the website at 
https://libremesh.org/development.html
And is summarized as a network-profile named 
`profile-libremesh-suggested-packages`
https://github.com/libremesh/network-profiles/tree/master/libremesh/suggested-packages


## Release notes
A full changelog is available at 
https://github.com/libremesh/lime-packages/blob/master/CHANGELOG.md


## Warnings
- Be very careful when flashing your router!
The support for some devices ends with OpenWrt 19.07.10.
Since a lot of modification where made on latest OpenWrt versions some 
devices could result broken with newer releases.
On the other hand, support for some new devices was added only in the 
latest releases.

- The latest v2020.4-ow19 is still based on openwrt-19.07.10 (20 april 
2022) that is marked as End of Life release by OpenWrt
https://openwrt.org/releases/19.07/notes-19.07.10

- The latest v2023.1-rc2-ow22 is a release candidate, it's used 
currently from some community members, but more feedback is needed. 
Anyone is using LibreMesh on top of OpenWrt 22.03.5 please report any 
problems are experiencing in the github issues tracker.

- There is a list of devices for nearly each target/subtarget for which 
the build fails. This list of these devices, currently excluded from the 
build, is available in the produced file config.buildinfo
An example for ath79/generic is at the end of file at

https://downloads.libremesh.org/releases/2023.1-rc2-ow22/targets/ath79/generic/config.buildinfo

The related options to exclude these device are documented in this 
project, that provides a way to ease a documentation of the setup for 
the buildroot, keeping track of the various changes between releases

https://gitlab.com/a-gave/libremesh-ansible-collection/-/blob/master/target/libremesh_master/openwrt_22.03.5/ath79_generic.yml?ref_type=heads


## Usage notes

### Installing packages
Since during the build of all firmware images (for each 
target/subtarget) we also compiled all available kernel modules (kmods) 
is currently possibile to install new packages via opkg using these 
produced modules.
Here is an example of the instructions to correctly install these 
packages via opkg on libremesh-2023.1-rc2-ow22.

### Add new signing keys
Due to a rework of the build process to make firmware images, a 
different key for each release was used:
This will be fixed as soon as possibile for newer releases.

Add this key for v2023.1-rc2-ow22, to resolve the opkg signature check:
```
cat << EOF > /etc/opkg/keys/216892f9e0e9b46d
untrusted comment: signed by key 216892f9e0e9b46d
RWQhaJL54Om0bfVp7ZnMqzV6TvzsSJLsd26wdZK09LEIKPi/5vXseckl
EOF
```

### Modify opkg config files
Modify the first line `libremesh_core` in `/etc/opkg/distfeeds.conf to 
search for target related packages (kmods) at 
https://downloads.libremesh.org at the correct release path, here 
`2023.1-rc2-ow22`:

Before
```
root@LiMe-8c7749:~# cat /etc/opkg/distfeeds.conf
src/gz libremesh_core 
https://downloads.openwrt.org/releases/22.03.5/targets/ath79/generic/packages
src/gz libremesh_base 
https://downloads.openwrt.org/releases/22.03.5/packages/mips_24kc/base
src/gz libremesh_libremesh 
https://downloads.openwrt.org/releases/22.03.5/packages/mips_24kc/libremesh
src/gz libremesh_luci 
https://downloads.openwrt.org/releases/22.03.5/packages/mips_24kc/luci
src/gz libremesh_packages 
https://downloads.openwrt.org/releases/22.03.5/packages/mips_24kc/packages
src/gz libremesh_profiles 
https://downloads.openwrt.org/releases/22.03.5/packages/mips_24kc/profiles
src/gz libremesh_routing 
https://downloads.openwrt.org/releases/22.03.5/packages/mips_24kc/routing
src/gz libremesh_telephony 
https://downloads.openwrt.org/releases/22.03.5/packages/mips_24kc/telephony
```

After
```
root@LiMe-8c7749:~# cat /etc/opkg/distfeeds.conf
src/gz libremesh_core 
https://downloads.libremesh.org/releases/2023.1-rc2-ow22/targets/ath79/generic/packages
src/gz libremesh_base 
https://downloads.openwrt.org/releases/22.03.5/packages/mips_24kc/base
src/gz libremesh_libremesh 
https://downloads.openwrt.org/releases/22.03.5/packages/mips_24kc/libremesh
src/gz libremesh_luci 
https://downloads.openwrt.org/releases/22.03.5/packages/mips_24kc/luci
src/gz libremesh_packages 
https://downloads.openwrt.org/releases/22.03.5/packages/mips_24kc/packages
src/gz libremesh_profiles 
https://downloads.openwrt.org/releases/22.03.5/packages/mips_24kc/profiles
src/gz libremesh_routing 
https://downloads.openwrt.org/releases/22.03.5/packages/mips_24kc/routing
src/gz libremesh_telephony 
https://downloads.openwrt.org/releases/22.03.5/packages/mips_24kc/telephony
```

Now is possibile to install openwrt packages, example:
```
opkg update && opkg install tc
```

### Example of common failure installing the same package
root@LiMe-07c6c3:/# opkg install tc
Installing tc (5.0.0-2.1) to root...
Downloading 
http://downloads.openwrt.org/releases/19.07.10/packages/mips_24kc/base/tc_5.0.0-2.1_mips_24kc.ipk
Collected errors:
  * satisfy_dependencies_for: Cannot satisfy the following dependencies 
for tc:
  *     kernel (= 4.14.275-1-51eeff9aa2c32ae433a2cd790938a283)
  * opkg_install_cmd: Cannot install package tc.



## Details of v2020.4-ow19

List of targets/subtargets compiled for this release:
ar71xx/generic
ar71xx/mikrotik
ar71xx/nand
ar71xx/tiny
ath79/generic
ath79/nand
ath79/tiny
ipq40xx/generic
ipq806x/generic
mediatek/mt7622
mediatek/mt7623
ramips/mt76x8
ramips/mt7620
ramips/mt7621
ramips/rt288x
ramips/rt305x
ramips/rt3883
x86/64


## Details of v2023.1-rc2-ow22

List of targets/subtargets compiled for this release:
ath79/generic
ath79/mikrotik
ath79/nand
ath79/tiny
bcm63xx/generic
bcm63xx/smp
ipq40xx/generic
ipq806x/generic
lantiq/xrx200
lantiq/xway
mediatek/mt7622
mediatek/mt7623
mediatek/mt7629
ramips/mt76x8
ramips/mt7620
ramips/mt7621
ramips/rt288x
ramips/rt305x
ramips/rt3883
x86/64





-- 
gothos
PGP Key ID: 0x6406B32F2CEC0008
PGP Key server: https://keys.openpgp.org/