<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/ldir/package/base-files, branch master</title>
<subtitle>Kevin D-Bs staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/ldir/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/ldir/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ldir/'/>
<updated>2023-05-18T12:44:07Z</updated>
<entry>
<title>base-files: add protocol ncm support for ucidef_set_interface()</title>
<updated>2023-05-18T12:44:07Z</updated>
<author>
<name>Arınç ÜNAL</name>
</author>
<published>2023-05-11T23:50:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ldir/commit/?id=10a29216ce93017f05f7d19495ff09fbc6ad8086'/>
<id>urn:sha1:10a29216ce93017f05f7d19495ff09fbc6ad8086</id>
<content type='text'>
Make it possible to set up a default network (interface) for devices with
cellular modems using NCM.

Signed-off-by: Arınç ÜNAL &lt;arinc.unal@arinc9.com&gt;
</content>
</entry>
<entry>
<title>base-files: Do not break on non-eth ports</title>
<updated>2023-05-09T20:54:38Z</updated>
<author>
<name>Olliver Schinagl</name>
</author>
<published>2022-09-22T10:05:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ldir/commit/?id=3da70c64697aa6ebe4e81b162523d68fcff97b32'/>
<id>urn:sha1:3da70c64697aa6ebe4e81b162523d68fcff97b32</id>
<content type='text'>
When using OpenWRT with DSA and 'lan' ports, we could get an empty
`next_eth`. This is of course not desirable, as this causes `sh: out of
range` errors when trying to determine which one would be greater.

It turns out, that we don't even need this check at all because, when
looking for all existin eth*s on a system, and take the highest index
and then iterate a set of devices and rename to eth${highest_index+n},
it is guaranteed that there will be no conflict.

Fixes: b688bf83f9d6 ("base-files: rename ethernet devs on known boards")
Signed-off-by: Olliver Schinagl &lt;oliver@schinagl.nl&gt;
</content>
</entry>
<entry>
<title>base-files: add 'isup' to the wifi script</title>
<updated>2023-04-12T17:49:30Z</updated>
<author>
<name>Andre Heider</name>
</author>
<published>2022-11-02T07:50:20Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ldir/commit/?id=28e357d528edf5980a523eff497b72da8bde3d91'/>
<id>urn:sha1:28e357d528edf5980a523eff497b72da8bde3d91</id>
<content type='text'>
This is a silent command that allows easy wifi up/down automation for
scripts.

It takes one or multiple devices as arguments (or all if none are passed),
and the exit code indicates if any of those is not up.

E.g.:
wifi isup &amp;&amp; echo "all wifi devices are up"
wifi isup radio0 || echo "this wifi is down"

Signed-off-by: Andre Heider &lt;a.heider@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: use named variables in the wifi script</title>
<updated>2023-04-12T17:49:22Z</updated>
<author>
<name>Andre Heider</name>
</author>
<published>2022-11-02T07:49:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ldir/commit/?id=8fbe7738b9ef4131c8ca069c0f3abde134139da2'/>
<id>urn:sha1:8fbe7738b9ef4131c8ca069c0f3abde134139da2</id>
<content type='text'>
Use the already present but unused $cmd and $dev variables instead of
positional parameters in ubus_wifi_cmd() to improve readability.

Signed-off-by: Andre Heider &lt;a.heider@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: fix nand_upgrade_ubinized()</title>
<updated>2023-04-11T12:42:47Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2023-04-10T17:01:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ldir/commit/?id=c798adad6b439e5144a67884c67f9f56acc5cf4c'/>
<id>urn:sha1:c798adad6b439e5144a67884c67f9f56acc5cf4c</id>
<content type='text'>
When using "ubiformat" with stdin it requires passing image size using
the -S argument. Provide it just like we do for "ubiupdatevol".

This fixes:
ubiformat: error!: must use '-S' with non-zero value when reading from stdin

This change fixes sysupgrade for bcm53xx and bcm4908 NAND devices
possibly some other targets too.

Cc: Rodrigo Balerdi &lt;lanchon@gmail.com&gt;
Cc: Daniel Golle &lt;daniel@makrotopia.org&gt;
Fixes: 971071212052 ("base-files: accept gzipped nand sysupgrade images")
Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
Acked-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
Tested-by: Koen Vandeputte &lt;koen.vandeputte@citymesh.com&gt;
</content>
</entry>
<entry>
<title>base-files: add support for retrieving IPv6 assignments</title>
<updated>2023-02-24T22:56:36Z</updated>
<author>
<name>Mark Baker</name>
</author>
<published>2023-02-02T01:30:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ldir/commit/?id=f35e2422b8774a2a70c8c3cd87c4289b17b7d4a3'/>
<id>urn:sha1:f35e2422b8774a2a70c8c3cd87c4289b17b7d4a3</id>
<content type='text'>
In DHCPv6-PD enabled environments, addresses are assigned to interfaces.
These new functions retrieve the IPv6 assigned prefix(es).

Signed-off-by: Mark Baker &lt;mark@vpost.net&gt;
</content>
</entry>
<entry>
<title>base-files: sysfixtime: Fix time on the fake RTC</title>
<updated>2023-02-19T12:04:59Z</updated>
<author>
<name>Yuan Tao</name>
</author>
<published>2020-09-14T09:19:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ldir/commit/?id=fa08d900d4ec3bf0c2440b336a75f2b9bda29845'/>
<id>urn:sha1:fa08d900d4ec3bf0c2440b336a75f2b9bda29845</id>
<content type='text'>
On some devices the chip has RTC but no battery save time.
This leads back to getting the wrong time
and skipping the check of the last file modification date.

This commit ensures that the file time is checked even
if the RTC exists.
which would ordinarily return an approbiate
system time used for e.g. certificate generation.

Tested-on: NanoPi R2S

Signed-off-by: Yuan Tao &lt;ty@wevs.org&gt;
</content>
</entry>
<entry>
<title>build: add option to use preinit IP as LAN IP</title>
<updated>2023-02-17T14:20:03Z</updated>
<author>
<name>Stijn Tintel</name>
</author>
<published>2022-12-07T17:04:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ldir/commit/?id=baf76634f38d7415c3d8a5034f40b75e3612b967'/>
<id>urn:sha1:baf76634f38d7415c3d8a5034f40b75e3612b967</id>
<content type='text'>
We currently have build options to customize the IP address used in the
preinit phase of the boot process, but not to set the default LAN IP.

Introduce a boolean build option that, when enabled, results in the IP
address configured for the preinit phase, to be also used as the default
LAN IP address.

Signed-off-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
</content>
</entry>
<entry>
<title>treewide: replace /sys/devices/virtual/ubi by /sys/class/ubi</title>
<updated>2023-02-15T03:27:59Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2023-02-15T03:06:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ldir/commit/?id=e8625c89efbbbe12a5934c10fc3478fd2f70fb21'/>
<id>urn:sha1:e8625c89efbbbe12a5934c10fc3478fd2f70fb21</id>
<content type='text'>
Starting from Linux Kernel version 6.3 UBI devices will no longer be
considered virtual, but rather have an MTD device parent. Hence they
will no longer be listed under /sys/devices/virtual/ubi which is
used in multiple places in OpenWrt. Prepare for future kernels by
using /sys/class/ubi instead of /sys/devuces/virtual/ubi.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>base-files: ipcalc.sh: fix awk regex syntax</title>
<updated>2023-02-07T20:05:58Z</updated>
<author>
<name>Leon M. George</name>
</author>
<published>2022-10-14T12:09:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ldir/commit/?id=67d2a7ef9ed7f70a962264167527b383ad637303'/>
<id>urn:sha1:67d2a7ef9ed7f70a962264167527b383ad637303</id>
<content type='text'>
It worked fine before but gawk warns about it.

Signed-off-by: Leon M. George &lt;leon@georgemail.eu&gt;
</content>
</entry>
</feed>
