<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/stintel/package/base-files, branch master</title>
<subtitle>Staging tree of Stijn Tintel</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/stintel/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/'/>
<updated>2026-04-03T18:40:49Z</updated>
<entry>
<title>base-files: MAJOR/MINOR not sequential, use DISKSEQ instead</title>
<updated>2026-04-03T18:40:49Z</updated>
<author>
<name>Clemens Hopfer</name>
</author>
<published>2025-05-30T12:03:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=63d0b5c24388e2603ab1cd482d6e469029cde421'/>
<id>urn:sha1:63d0b5c24388e2603ab1cd482d6e469029cde421</id>
<content type='text'>
Export the unique, monotonic DISKSEQ sequence drive number instead of its
major/minor numbers to identify the boot disk and directly match the partition
in export_partdevice with PARTN.

The MINOR blockdevice numbers are not guaranteed sequential across disks, it
can happen that disks enumerate before their partitions are probed, resulting
in interleaved MINOR numbers breaking the partition offset calculation:

major minor  #blocks  name
 259        0  250059096 nvme0n1
 259        2       8192 nvme0n1p1
 259        3     491520 nvme0n1p2
 259        4        239 nvme0n1p128
 259        1  250059096 nvme1n1
 259        5  250057728 nvme1n1p1

Signed-off-by: Clemens Hopfer &lt;openwrt@wireloss.net&gt;
Link: https://github.com/openwrt/openwrt/pull/18962
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: sysupgrade: avoid cat missing conffiles_static</title>
<updated>2026-03-19T16:50:12Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2026-02-17T23:42:43Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=10db6fc26e88eb92c864b9e579c3d16c25040a5a'/>
<id>urn:sha1:10db6fc26e88eb92c864b9e579c3d16c25040a5a</id>
<content type='text'>
If the user removes all /lib/apk/packages/*.conffiles* files to prevent
sysupgrade from preserving configuration, the glob no longer matches and
sysupgrade ends up calling cat on a non-existent path:

  cat: can't open '/lib/apk/packages/*.conffiles_static': No such file or directory

Fix this by using find cmd.

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
Link: https://github.com/openwrt/openwrt/pull/22071
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: avoid rm error messages in failsafe_wait</title>
<updated>2026-03-04T11:54:16Z</updated>
<author>
<name>Oliver Sedlbauer</name>
</author>
<published>2026-01-20T12:54:12Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=49a0acb12ca7dd15fe4c0265c490cb3d189b8e59'/>
<id>urn:sha1:49a0acb12ca7dd15fe4c0265c490cb3d189b8e59</id>
<content type='text'>
The fs_wait_for_key function runs multiple background processes that all
try to delete the same temporary file ($keypress_wait) when they exit.
This creates a race condition where one process successfully deletes the
file while others fail with ENOENT.

Busybox rm only suppresses "file not found" errors during the initial lstat()
check, not during the actual unlink() call. This causes error messages in the
boot log even with rm -f:

  rm: can't remove '/tmp/tmp.hKjPDH': No such file or directory

Fixed by redirecting stderr to /dev/null for rm calls in concurrent contexts.
This change does not affect functionality and only avoids confusing log
output during boot.

Signed-off-by: Oliver Sedlbauer &lt;os@dev.tdt.de&gt;
Link: https://github.com/openwrt/openwrt/pull/22079
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>package: drop apk cheatsheet from base-files</title>
<updated>2026-03-04T09:15:21Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2026-02-26T21:02:41Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/stintel/commit/?id=07c29c448222b7d436803230b0b68924af15563c'/>
<id>urn:sha1:07c29c448222b7d436803230b0b68924af15563c</id>
<content type='text'>
This has been up for a while, let's drop it.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<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-03.infra.openwrt.org/openwrt/staging/stintel/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-03.infra.openwrt.org/openwrt/staging/stintel/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-03.infra.openwrt.org/openwrt/staging/stintel/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-03.infra.openwrt.org/openwrt/staging/stintel/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-03.infra.openwrt.org/openwrt/staging/stintel/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-03.infra.openwrt.org/openwrt/staging/stintel/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>
</feed>
