<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/xback/package/base-files, branch master</title>
<subtitle>Staging tree of Koen Vandeputte</subtitle>
<id>https://git.openwrt.org/openwrt/staging/xback/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/xback/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/'/>
<updated>2026-06-24T09:21:28Z</updated>
<entry>
<title>base-files: derive DHCP DUID from device MAC address</title>
<updated>2026-06-24T09:21:28Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2026-06-19T14:32:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=8c613a9a224c0d2c096fc635980834b9954db035'/>
<id>urn:sha1:8c613a9a224c0d2c096fc635980834b9954db035</id>
<content type='text'>
The DUID-UUID was generated from a random UUID, which is regenerated on
every fresh flash and therefore does not survive reconfiguration events
such as reflashing without keeping the configuration. RFC8415/RFC6355
prefer a DUID that remains stable across such events.

Add a ucode helper that picks the first LAN port (falling back to WAN)
from /etc/board.json, resolves its MAC address and derives a stable UUID
from it, falling back to a random UUID only when that fails.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>base-files: handle name collision between kernel UBI volume and MTD partition</title>
<updated>2026-06-16T14:07:58Z</updated>
<author>
<name>Lukas Stockner</name>
</author>
<published>2026-05-02T17:32:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=5497d5ba23dc24f5b8eee2f62f7613decce4d248'/>
<id>urn:sha1:5497d5ba23dc24f5b8eee2f62f7613decce4d248</id>
<content type='text'>
On the AP-325 (and variants), the bootloader enforces a particular UBI volume
layout and naming, so unfortunately the kernel's UBI volume and MTD partition
end up with the name, which confuses the current logic.

Therefore, add an option to ignore the MTD partition.

Signed-off-by: Lukas Stockner &lt;lukas@lukasstockner.de&gt;
Link: https://github.com/openwrt/openwrt/pull/20738
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>base-files: support rootfs_data on its own partition</title>
<updated>2026-06-16T14:07:48Z</updated>
<author>
<name>Lukas Stockner</name>
</author>
<published>2026-05-02T17:31:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=bf770bc4e3eb150b9496314992d8baed97067848'/>
<id>urn:sha1:bf770bc4e3eb150b9496314992d8baed97067848</id>
<content type='text'>
The current code assumes that the rootfs_data UBI volume is on the same MTD
partition as the rootfs.
Unfortunately, this does not work on the Aruba AP-325 (and variants), since
the bootloader enforces a particular UBI volume layout.

Therefore, this adds a separate variable to set the rootfs_data partition,
and updates all existing devices with a non-default rootfs partition to also
specify the new variable.

Signed-off-by: Lukas Stockner &lt;lukas@lukasstockner.de&gt;
Link: https://github.com/openwrt/openwrt/pull/20738
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>Revert "base-files: support rootfs_data on its own partition"</title>
<updated>2026-06-16T14:05:25Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2026-06-16T14:04:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=3ee64a736cda7ff8d5e92a5f4baf2d9ae612261b'/>
<id>urn:sha1:3ee64a736cda7ff8d5e92a5f4baf2d9ae612261b</id>
<content type='text'>
This reverts commit 13fc688f033895e0ba91c1d752ffd63a06760ef5.
Wrong Signed-off-by line was used, reverting and re-applying.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>Revert "base-files: handle name collision between kernel UBI volume and MTD partition"</title>
<updated>2026-06-16T14:05:23Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2026-06-16T14:04:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=7ef7a3581a3ff34cab2f59e1f6295fc23de46072'/>
<id>urn:sha1:7ef7a3581a3ff34cab2f59e1f6295fc23de46072</id>
<content type='text'>
This reverts commit eef8c718b474aff652b42c2e96b55b1b310f7f56.
Wrong Signed-off-by line was used, reverting and re-applying.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>base-files: handle name collision between kernel UBI volume and MTD partition</title>
<updated>2026-06-16T11:45:44Z</updated>
<author>
<name>Lukas Stockner</name>
</author>
<published>2026-05-02T17:32:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=eef8c718b474aff652b42c2e96b55b1b310f7f56'/>
<id>urn:sha1:eef8c718b474aff652b42c2e96b55b1b310f7f56</id>
<content type='text'>
On the AP-325 (and variants), the bootloader enforces a particular UBI volume
layout and naming, so unfortunately the kernel's UBI volume and MTD partition
end up with the name, which confuses the current logic.

Therefore, add an option to ignore the MTD partition.

Signed-off-by: Lukas Stockner &lt;lukas@lukasstockner.de&gt;
Link: https://github.com/openwrt/openwrt/pull/20738
Signed-off-by: Test Dev &lt;dev@example.org&gt;
</content>
</entry>
<entry>
<title>base-files: support rootfs_data on its own partition</title>
<updated>2026-06-16T11:45:44Z</updated>
<author>
<name>Lukas Stockner</name>
</author>
<published>2026-05-02T17:31:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=13fc688f033895e0ba91c1d752ffd63a06760ef5'/>
<id>urn:sha1:13fc688f033895e0ba91c1d752ffd63a06760ef5</id>
<content type='text'>
The current code assumes that the rootfs_data UBI volume is on the same MTD
partition as the rootfs.
Unfortunately, this does not work on the Aruba AP-325 (and variants), since
the bootloader enforces a particular UBI volume layout.

Therefore, this adds a separate variable to set the rootfs_data partition,
and updates all existing devices with a non-default rootfs partition to also
specify the new variable.

Signed-off-by: Lukas Stockner &lt;lukas@lukasstockner.de&gt;
Link: https://github.com/openwrt/openwrt/pull/20738
Signed-off-by: Test Dev &lt;dev@example.org&gt;
</content>
</entry>
<entry>
<title>scripts: dhcp/dhcpv6: handling of invalid client ID values</title>
<updated>2026-06-11T08:40:57Z</updated>
<author>
<name>Shine</name>
</author>
<published>2026-05-31T13:16:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=9ba54d2d9ec1c8bffa84203c7c350914d7185912'/>
<id>urn:sha1:9ba54d2d9ec1c8bffa84203c7c350914d7185912</id>
<content type='text'>
Verify and clean up client ID and global DUID config values before use, in
order to prevent DHCP client malfunction and loss of IPv4 and/or IPv6
connectivity.

- Accept common separators in the string (colon, dash, spaces/tabs, lf)
- Ignore invalid values (non-hex or odd-numbered length)
- Log a warning for invalid settings

The fall back mechanism is as follows:

If a (user-configured) network.&lt;ifname&gt;.clientid setting is found invalid,
ignore and fall back to using network.globals.dhcp_default_duid. In case
that's also invalid (e.g. has been tampered with), don't pass a client
ID to updhc/odhcpc. In that case, udhcpc/odhcpc will use their defaults,
which currently is the i/f MAC address resp. the i/f DUID-LL.

Only error handling is introduced, no behavior change for valid settings.

Signed-off-by: Shine &lt;4c.fce2@proton.me&gt;
Link: https://github.com/openwrt/openwrt/pull/23662
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: move config_generate to preinit</title>
<updated>2026-06-05T18:53:18Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2024-09-02T13:22:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=ca545219883e24d0c88108c3a4ef2788e23bc673'/>
<id>urn:sha1:ca545219883e24d0c88108c3a4ef2788e23bc673</id>
<content type='text'>
The mutex file via '/tmp/.config_pending' should prevent the command
'/sbin/wifi config' from being called in the ieee80211 hotplug when loading
the kernel modules [1]. Since the file '/etc/board.json' does not yet exist
and could be incomplete.

The '/etc/board.json' file is modified in the '/sbin/wifi config' script.
This is only generated during the first boot when '/bin/config_generate' is
called.

This whole handling is unclean. Therefore the creation of the default
configuration '/etc/config/network', '/etc/config/system' and
'/etc/board.json' via '/sbin/config_generate' is moved to the preinint
after the rootfile system has been mounted

The advantage now is that on an ieee80211 hotplug event, the
'/etc/board.json' is already present which simplifies the whole thing.

[1] https://github.com/openwrt/openwrt/blob/main/package/network/config/wifi-scripts/files/etc/hotplug.d/ieee80211/10-wifi-detect

Fixes: b993a00b82b1 ("base-files: fix duplicate wifi radio sections when using phy renaming")

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
<entry>
<title>base-files: add options to disable default button handling</title>
<updated>2026-05-19T22:02:31Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2026-02-26T19:53:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=4bdc2ab93ab280ed6c8f07567cab9d5512f9e261'/>
<id>urn:sha1:4bdc2ab93ab280ed6c8f07567cab9d5512f9e261</id>
<content type='text'>
In case OpenWrt is used to build a custom distribution, the default
button handling logic may be undesired.

Add config options to disable default standard button handling code
at build-time.

Signed-off-by: David Bauer &lt;mail@david-bauer.net&gt;
</content>
</entry>
</feed>
