[lime] Important: New branch for compiling on OpenWrt 19.07

Üzenet törlése

Válasz az üzenetre
Szerző: Ilario
Dátum:  
Címzett: LibreMesh
Tárgy: [lime] Important: New branch for compiling on OpenWrt 19.07
Dear all,
A few days ago, G10h4ck created a branch in the lime-packages repository
for compiling LibreMesh on top of OpenWrt 19.07, this branch is named
"OpenWrt_19.07_compatible".

Right now, OpenWrt 19.07 is the only supported underlying system for
LibreMesh. Which means that, for now, the recommendation is to compile
on top of OpenWrt 19.07 and use the branch "OpenWrt_19.07_compatible"
from the lime-packages.

The "master" branch is going to be used for development and for
advancing the support of newer OpenWrt 22.03, but is not going to be
usable for producing stables images for a while.
And the "master" branch will lose the compatibility with OpenWrt 19.07.

This means, that when you compile a LibreMesh firmware, you will have to
change the LibreMesh repository line in your "feeds.conf" file before
compiling.
This line:

src-git libremesh https://github.com/libremesh/lime-packages.git;master

needs to be replaced with:

src-git libremesh
https://github.com/libremesh/lime-packages.git;OpenWrt_19.07_compatible

and update the feed running:

scripts/feeds update libremesh

if you get errors, clean the feeds and redownload them with:

scripts/feeds clean
scripts/feeds update -a

The instructions on the website are already updated with this new branch:
https://libremesh.org/development.html

Please forward this email to everyone you know that is compiling
LibreMesh and is not subscribed to this list.

If you are interested in the technical reasons:
* there have been some changes with the name of some configuration
sections in OpenWrt 21.02 (see
https://openwrt.org/releases/21.02/notes-21.02.0#initial_dsa_support)
that are being addressed here:
https://github.com/libremesh/lime-packages/pull/959
* also, with OpenWrt 22.03 a new firewall is being used: nftables that
replaces both iptables and ebtables. Supposedly the commands should be
compatible, but when we install firewall-related packages that were
trivial in OpenWrt 19.07, in OpenWrt 22.03 many huge dependencies are
also pulled. See discussion here:
https://github.com/libremesh/lime-packages/issues/951
* also, with recent OpenWrt (don't know if 21.02 or 22.03), dnsmasq has
been "protected" using ujail, which means that it can access files only
in specific directories.
The issue for tracking these problems is this:
https://github.com/libremesh/lime-packages/issues/970
Most of these issues would have been possible to solve adding more code
for dealing with both OpenWrt 19.07 and 22.03, but considering the large
amount of changes we decided to support only OpenWrt 22.03 in the master
branch.

Ciao!
Ilario


--
Ilario
iochesonome@???
ilario@???