<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/nbd/package/base-files, branch master</title>
<subtitle>Felix Fietkaus staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/nbd/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/nbd/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/'/>
<updated>2026-02-01T10:16:54Z</updated>
<entry>
<title>build: use STAGING_DIR for special APK package versions</title>
<updated>2026-02-01T10:16:54Z</updated>
<author>
<name>Jonas Gorski</name>
</author>
<published>2026-01-14T19:19:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=a4e92f0484f365565072162dad3eeaca0e38b709'/>
<id>urn:sha1:a4e92f0484f365565072162dad3eeaca0e38b709</id>
<content type='text'>
Removing tmp/ after having built base-files or toolchain currently
breaks rootfs generation:

$ rm -rf tmp
$ make V=w
...
 make[2] package/install
cat: .../openwrt/tmp/base-files.version: No such file or directory
cat: .../openwrt/openwrt/tmp/libc.version: No such file or directory
ERROR: 'base-files=' is not a valid world dependency, format is name(@tag)([&lt;&gt;~=]version)
make[2]: *** [package/Makefile:100: package/install] Error 99

The only way to recover from here is to clean toolchain and base-files via

$ make package/{base-files,toolchain}/clean

tmp is supposed to be ephemeral, so clearing it is an expected action,
which normally just triggers a regeneration of all files there.

Fix this by moving the version files to $(STAGING_DIR).

Fixes: 63e178f067 ("build: lock versions for special APK packages")
Signed-off-by: Jonas Gorski &lt;jonas.gorski@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/21803
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: remove ftp user and group</title>
<updated>2026-01-24T19:32:53Z</updated>
<author>
<name>John Audia</name>
</author>
<published>2025-07-15T09:46:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=ef106791537d4b43d764a05333527c6d7a11dd69'/>
<id>urn:sha1:ef106791537d4b43d764a05333527c6d7a11dd69</id>
<content type='text'>
Any ftpd package such as vsftpd or atftpd (are there others?) should
create their own unprivileged user. Both of the aforementioned
packages do not even use this ftp user and run as root. That should be
addressed in separate commits.

Signed-off-by: John Audia &lt;therealgraysky@proton.me&gt;
Link: https://github.com/openwrt/openwrt/pull/19418
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>base-files: introduce a function to generate IAID</title>
<updated>2026-01-14T17:07:27Z</updated>
<author>
<name>Álvaro Fernández Rojas</name>
</author>
<published>2026-01-13T17:19:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=e1f2b666ff94f2b8a50ca000d69f5b5f0b89a27c'/>
<id>urn:sha1:e1f2b666ff94f2b8a50ca000d69f5b5f0b89a27c</id>
<content type='text'>
Add new function "network_generate_iface_iaid()" to generate a stable IAID
from an interface name.

Link: https://github.com/openwrt/openwrt/pull/21489
Signed-off-by: Álvaro Fernández Rojas &lt;noltari@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: uci-defaults: migrate time zonename on upgrade</title>
<updated>2026-01-11T18:12:41Z</updated>
<author>
<name>Eric Fahlgren</name>
</author>
<published>2026-01-10T01:32:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=54c7ad8d8ad8046a31e7ef88e1184f9f722ba9fe'/>
<id>urn:sha1:54c7ad8d8ad8046a31e7ef88e1184f9f722ba9fe</id>
<content type='text'>
Timezone names no longer allow spaces, so older installations
upgrading to new will have their timezone reset to UTC.

For example, on 24.10:
  $ uci get system.@system[0].zonename
  America/Los Angeles

After upgrade to 25.12:
  $ uci get system.@system[0].zonename
  UTC

Add a migration script to edit zonename on first boot.

Fixes: https://github.com/openwrt/luci/commit/d9a087e4
Link: https://github.com/openwrt/luci/issues/8203
Link: https://forum.openwrt.org/t/openwrt-25-12-0-rc1-release-candidate/244364/98
Signed-off-by: Eric Fahlgren &lt;ericfahlgren@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/21482
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>treewide: switch to HTTPS URL</title>
<updated>2026-01-02T17:07:02Z</updated>
<author>
<name>Yanase Yuki</name>
</author>
<published>2025-12-25T04:48:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=f92ee7a8e5b6ebb4970564a33b0c01609072fb08'/>
<id>urn:sha1:f92ee7a8e5b6ebb4970564a33b0c01609072fb08</id>
<content type='text'>
Avoids insecure plain HTTP.

Signed-off-by: Yanase Yuki &lt;dev@zpc.st&gt;
Link: https://github.com/openwrt/openwrt/pull/21279
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: fix default_postinst clearing luci cache</title>
<updated>2025-12-26T19:02:59Z</updated>
<author>
<name>Liangbin Lian</name>
</author>
<published>2025-12-25T05:50:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=e9fd3facd041263dcc080748e0637ee99c517dd8'/>
<id>urn:sha1:e9fd3facd041263dcc080748e0637ee99c517dd8</id>
<content type='text'>
The path to the LuCI index cache file has changed to
/tmp/luci-indexcache.*.json since OpenWrt 22.03.

Update functions.sh to align with luci.mk.

Signed-off-by: Liangbin Lian &lt;jjm2473@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/21280
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>image: add CONFIG_EXTRA_IMAGE_NAME</title>
<updated>2025-12-12T22:06:06Z</updated>
<author>
<name>David Woodhouse</name>
</author>
<published>2025-11-29T16:18:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=24b8db118b6c84b92d17f969794b2bd6d73b8cdc'/>
<id>urn:sha1:24b8db118b6c84b92d17f969794b2bd6d73b8cdc</id>
<content type='text'>
This allows an optional tag to be put in the .config file which is
included in the filename of the resulting images, so it's easier to
build images with different functionality for the same target hardware.

Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
Link: https://github.com/openwrt/openwrt/pull/20984
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>base-files: always generate default DUID</title>
<updated>2025-12-11T06:39:34Z</updated>
<author>
<name>David Härdeman</name>
</author>
<published>2025-12-09T22:49:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=52fa3728e5304ecdfca77332bdfe870696b95d35'/>
<id>urn:sha1:52fa3728e5304ecdfca77332bdfe870696b95d35</id>
<content type='text'>
The previous logic was copied from 12_network-generate-ula, but fails to
account for upgrades where the "auto" value isn't set (it is set by
base-files/files/bin/config_generate). Fix this to always set the
default duid if it isn't set.

Also, rename the file to better reflect what it does.

Closes: #21029
Fixes: a660a076db5a ("base-files: generate a global DHCP DUID")
Link: https://github.com/openwrt/openwrt/pull/21118
Signed-off-by: David Härdeman &lt;david@hardeman.nu&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt; [fixes,closes tag]
</content>
</entry>
<entry>
<title>base-files: board_detect: make resilient against power-cuts</title>
<updated>2025-11-25T20:51:25Z</updated>
<author>
<name>Andreas Gnau</name>
</author>
<published>2025-10-08T21:00:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=26ba9b609b95886dd7028fbd343ad079a1ef4445'/>
<id>urn:sha1:26ba9b609b95886dd7028fbd343ad079a1ef4445</id>
<content type='text'>
If board_detect is interrupted by cutting power on first boot,
board.json might only be half-way written and the file will not be
written again correctly on subsequent boots.

Write to a temporary file first, then rename. Since a rename on the same
file system is an atomic operation, it ensures that either
/etc/board.json does not exist or that the complete file exists.

Signed-off-by: Andreas Gnau &lt;andreas.gnau@iopsys.eu&gt;
Link: https://github.com/openwrt/openwrt/pull/20831
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>base-files: board_detect: Address shellcheck warnings</title>
<updated>2025-11-25T20:51:25Z</updated>
<author>
<name>Andreas Gnau</name>
</author>
<published>2025-10-08T21:09:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/nbd/commit/?id=cac609aca8f309c6081f90d6d4475e57c738e315'/>
<id>urn:sha1:cac609aca8f309c6081f90d6d4475e57c738e315</id>
<content type='text'>
 * SC2166 (warning): Prefer [ p ] &amp;&amp; [ q ] as [ p -a q ] is not well
   defined.
 * SC2086 (info): Double quote to prevent globbing and word splitting.
 * SC2091 (warning): Remove surrounding $() to avoid executing output
   (or use eval if intentional).

Signed-off-by: Andreas Gnau &lt;andreas.gnau@iopsys.eu&gt;
Link: https://github.com/openwrt/openwrt/pull/20831
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
</feed>
