<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/hauke/package/base-files, branch master</title>
<subtitle>Hauke Mehrtens staging tree</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/hauke/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/hauke/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/hauke/'/>
<updated>2023-11-19T20:36:40Z</updated>
<entry>
<title>base-files: ipcalc.sh: Should take netmask or prefix after slash</title>
<updated>2023-11-19T20:36:40Z</updated>
<author>
<name>Philip Prindeville</name>
</author>
<published>2023-11-19T19:26:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/hauke/commit/?id=1481d5cb0b70d15edea607ed7cfc718c85166e98'/>
<id>urn:sha1:1481d5cb0b70d15edea607ed7cfc718c85166e98</id>
<content type='text'>
dnmasq.init now invokes ipcalc.sh as either:

ipcalc.sh address/netmask ...

or:

ipcalc.sh address/prefix

but the existing version doesn't accept the 2nd notation.  We're
trying to rationalize the usage of ipcalc.sh, and here we add
support for the 2nd format.

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;
</content>
</entry>
<entry>
<title>base-files: Create /root w/ appropriate permissions</title>
<updated>2023-11-12T15:32:42Z</updated>
<author>
<name>Philip Prindeville</name>
</author>
<published>2023-09-13T15:10:32Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/hauke/commit/?id=516a3176a671c4b8f344db39dbc0e003fbb841b8'/>
<id>urn:sha1:516a3176a671c4b8f344db39dbc0e003fbb841b8</id>
<content type='text'>
If /root is created with too permissive permissions, then sshd won't
trust the contents of /root/.ssh as being adequately protected.

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;
</content>
</entry>
<entry>
<title>base-files: add additional uci-defaults function for GRO and conduit</title>
<updated>2023-11-10T11:30:34Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2023-11-09T14:18:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/hauke/commit/?id=01d675687ca34aa1eb5b05ad8268a130dc2e2b5a'/>
<id>urn:sha1:01d675687ca34aa1eb5b05ad8268a130dc2e2b5a</id>
<content type='text'>
Add additional uci-defaults function for configuring GRO settings and
conduit for network devices.

Tweaking the GRO values might increase performance on some low spec
device that lack some offload feature on gmac.

Tweaking conduit interface is specific to DSA based devices and is
useful for multi-CPU scenario where one CPU is dedicated to one single
port.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: generalize ucidef_set_network_device</title>
<updated>2023-11-10T11:30:33Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2023-11-09T14:11:50Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/hauke/commit/?id=da7ad229311e6c68b023550f383d932dfd62d13b'/>
<id>urn:sha1:da7ad229311e6c68b023550f383d932dfd62d13b</id>
<content type='text'>
Generalize ucidef_set_network_device functions to use a more generic
_ucidef_set_network_device_common that takes as args the option and the
value to apply instead of hardcoding.

This is to reduce duplicated code in preparation for addition of
additional option for board.d usage.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: functions.sh: Add prepend() homologue to append()</title>
<updated>2023-10-23T17:18:04Z</updated>
<author>
<name>Philip Prindeville</name>
</author>
<published>2023-09-24T17:52:19Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/hauke/commit/?id=1998027d7cbb9d8f3986964bbdae070296bdce56'/>
<id>urn:sha1:1998027d7cbb9d8f3986964bbdae070296bdce56</id>
<content type='text'>
Sometimes it's useful to be able to prepend to a variable as
well, such as when dealing with domain names, e.g.

    prepend fdqn "$subdomain" "."

will result in:

   fqdn="$subdomain.$fqdn"

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;
</content>
</entry>
<entry>
<title>treewide: disable QUILT refresh for unsupported packages</title>
<updated>2023-10-20T14:13:13Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2023-10-15T19:11:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/hauke/commit/?id=c0e30b17eb609cb37dc90abfee4ae008ec444ed4'/>
<id>urn:sha1:c0e30b17eb609cb37dc90abfee4ae008ec444ed4</id>
<content type='text'>
Some packages won't ever have something to patch as they normally
install files or are meta-packages.

For these special packages, disable QUILT refresh.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: fix wrong ucidef_set_network_device_mac network-device entry</title>
<updated>2023-10-20T10:53:43Z</updated>
<author>
<name>Michael 'ASAP' Weinrich</name>
</author>
<published>2023-10-06T02:39:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/hauke/commit/?id=12bc79d6d521581e37a8b067ce8a562429aeefbd'/>
<id>urn:sha1:12bc79d6d521581e37a8b067ce8a562429aeefbd</id>
<content type='text'>
The ucidef_set_network_device_* functions in uci-defaults.sh disagree
on whether to use "network-device" or "network_device" in board.json.
With the additional caveat that jshn will translate hyphens (-) into
underscores (_). This casues problems in netifd which expected
"network_device" causing boards which depend on assigning MACs in
board.json via uci-defaults.sh (or jshn in general) to fail.

This commit addresses the issue by using network_device in
uci-defaults.sh.

The bug was uncovered in the forums here:
https://forum.openwrt.org/t/support-for-rtl838x-based-managed-switches/57875/2596

This was exposed by commit 4ebba8a05d09 ("realtek: add support for HPE
1920-8g-poe+") where the board_config_load call from 03_gpio introduced
the key normalization by jshn.

Fixes: 9290539ca9c7 ("base-files: allow setting device and bridge macs")
Tested-by: Stijn Segers &lt;foss@volatilesystems.org&gt;
Signed-off-by: Michael 'ASAP' Weinrich &lt;michael@a5ap.net&gt;
[ improve commit title, description and fix wrong Tested-by tag ]
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: ipcalc.sh: make check slightly more future-proof</title>
<updated>2023-09-25T13:02:49Z</updated>
<author>
<name>Leon M. Busch-George</name>
</author>
<published>2023-09-20T21:42:08Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/hauke/commit/?id=25aab738efac8a4e3176012becb7500c8cb09509'/>
<id>urn:sha1:25aab738efac8a4e3176012becb7500c8cb09509</id>
<content type='text'>
The previous code handling the equal-condition might be removed or
altered in the future and the case might be overlooked.

Signed-off-by: Leon M. Busch-George &lt;leon@georgemail.eu&gt;
</content>
</entry>
<entry>
<title>base-files: ipcalc.sh: turn error into warning</title>
<updated>2023-09-25T13:02:49Z</updated>
<author>
<name>Leon M. Busch-George</name>
</author>
<published>2023-08-20T19:08:20Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/hauke/commit/?id=270f694f1198248109f32cb8867f2673f82072f8'/>
<id>urn:sha1:270f694f1198248109f32cb8867f2673f82072f8</id>
<content type='text'>
Some users have their routers configured to supply a DHCP range that
includes the local interface address.
That worked with dnsmasq because it automatically skips the local
address.

Re-enable those existing configurations for the release and hint at
possible future problems.

Signed-off-by: Leon M. Busch-George &lt;leon@georgemail.eu&gt;
[ wrap commit description and remove unecessary text ]
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: ipcalc.sh clarify range parameters in comment</title>
<updated>2023-09-25T13:02:49Z</updated>
<author>
<name>Leon M. Busch-George</name>
</author>
<published>2023-06-27T14:01:09Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/hauke/commit/?id=d7978e1f39aa91c4c99cab4f13372050afad2438'/>
<id>urn:sha1:d7978e1f39aa91c4c99cab4f13372050afad2438</id>
<content type='text'>
To avoid confusion when working with ipcalc.sh, clarify that the last two
parameters belong to the range calculation and rename 'num' to the slightly
less ambiguous 'size'.

Signed-off-by: Leon M. Busch-George &lt;leon@georgemail.eu&gt;
</content>
</entry>
</feed>
