<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-04-12T23:27:55Z</updated>
<entry>
<title>base-files: sysupgrade: -u option was broken with apk</title>
<updated>2026-04-12T23:27:55Z</updated>
<author>
<name>Luiz Angelo Daros de Luca</name>
</author>
<published>2025-02-03T23:01:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=37c5aade23a415a15f829c80ce6cdc36a2e13396'/>
<id>urn:sha1:37c5aade23a415a15f829c80ce6cdc36a2e13396</id>
<content type='text'>
The check of files from packages was only checking opkg files.
Check for apk as well and fail if both are missing.

Signed-off-by: Luiz Angelo Daros de Luca &lt;luizluca@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/17847
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>base-files: sysupgrade: update backup exclusion list</title>
<updated>2026-04-12T23:27:55Z</updated>
<author>
<name>Luiz Angelo Daros de Luca</name>
</author>
<published>2025-02-03T22:58:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=2c146f29e8287ef313af7b3d36fb231997beb0b8'/>
<id>urn:sha1:2c146f29e8287ef313af7b3d36fb231997beb0b8</id>
<content type='text'>
The list of files excluded from backup was outdated.

Signed-off-by: Luiz Angelo Daros de Luca &lt;luizluca@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/17847
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>base-files: sysupgrade: fix -f with space in bkp path</title>
<updated>2026-04-12T23:27:54Z</updated>
<author>
<name>Luiz Angelo Daros de Luca</name>
</author>
<published>2021-01-04T01:40:04Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/xback/commit/?id=1d3f33b6b14c4f3aac96731d255d7bcf3ba8d04b'/>
<id>urn:sha1:1d3f33b6b14c4f3aac96731d255d7bcf3ba8d04b</id>
<content type='text'>
Spaces in the backup.tgz filename was breaking sysupgrade.

Signed-off-by: Luiz Angelo Daros de Luca &lt;luizluca@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/17847
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<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.openwrt.org/openwrt/staging/xback/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.openwrt.org/openwrt/staging/xback/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.openwrt.org/openwrt/staging/xback/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.openwrt.org/openwrt/staging/xback/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.openwrt.org/openwrt/staging/xback/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/xback/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/xback/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>
</feed>
