<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.openwrt.org/openwrt/staging/stintel/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/stintel/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/'/>
<updated>2026-04-29T07:32:03Z</updated>
<entry>
<title>dropbear: don't spread conffiles across two packages</title>
<updated>2026-04-29T07:32:03Z</updated>
<author>
<name>Philip Prindeville</name>
</author>
<published>2026-04-21T22:46:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=052665be212bd93f4154f40a0b30ba2599d3ada0'/>
<id>urn:sha1:052665be212bd93f4154f40a0b30ba2599d3ada0</id>
<content type='text'>
For some reason, /etc/config/dropbear is enumerated as a
conffile for dropbear packaging, but /etc/dropbear/ is
part of base-files packaging.  If you're an openssh-server
user, then you don't have this directory on your router in
any case.

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;
Link: https://github.com/openwrt/openwrt/pull/23041
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: ipcalc.sh: get rid of `basename` dependency</title>
<updated>2026-04-24T00:48:15Z</updated>
<author>
<name>Andre Heider</name>
</author>
<published>2026-04-23T08:38:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=2194ff572fddb1928bf137a6ec18f0c5e60af7fb'/>
<id>urn:sha1:2194ff572fddb1928bf137a6ec18f0c5e60af7fb</id>
<content type='text'>
The netifd/dhcp flow uses this, and as uxc mounts netifd in a
container, this allows not mounting `basename` for just a usage.

References: https://github.com/openwrt/procd/pull/34
Suggested-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
Signed-off-by: Andre Heider &lt;a.heider@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: sysupgrade: exclude apk files from backup</title>
<updated>2026-04-16T19:22:22Z</updated>
<author>
<name>Eric Fahlgren</name>
</author>
<published>2026-04-15T01:50:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/stintel/commit/?id=038bc85849e2ee4f3f949cbd192159211822c2bc'/>
<id>urn:sha1:038bc85849e2ee4f3f949cbd192159211822c2bc</id>
<content type='text'>
Exclude more apk related files from the sysupgrade backup list when
using the various options that scan /etc for changes.

Ensure removal of the system generated distfeeds list, as that
contains kernel- and version-specific urls and should never be
retained.

Also exclude any '*.apk-new' files, equivalent to the old '*-opkg'
files, which may have been created during package installation.

Example before
  $ sysupgrade -l -c | grep apk
  /etc/apk/keys/buildroot.pem
  /etc/apk/repositories.d/customfeeds.list
  /etc/apk/repositories.d/distfeeds.list
  /etc/owut.d/pre-install.sh.apk-new
  /etc/config/adblock.apk-new

After
  $ sysupgrade -l -c | grep apk
  /etc/apk/keys/buildroot.pem
  /etc/apk/repositories.d/customfeeds.list

Signed-off-by: Eric Fahlgren &lt;ericfahlgren@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/22937
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<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/stintel/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/stintel/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/stintel/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/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.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.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.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>
</feed>
