<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/aparcar/package/base-files, branch master</title>
<subtitle>Staging tree of Paul Spooren</subtitle>
<id>https://git.openwrt.org/openwrt/staging/aparcar/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/aparcar/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/'/>
<updated>2023-02-19T12:04:59Z</updated>
<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/aparcar/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/aparcar/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/aparcar/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/aparcar/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>
<entry>
<title>base-files: ipcalc.sh: trim for statement</title>
<updated>2023-02-07T20:05:57Z</updated>
<author>
<name>Leon M. George</name>
</author>
<published>2022-10-14T12:08:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/commit/?id=2903924b576c19ab64490917ec46cb3bee790ad2'/>
<id>urn:sha1:2903924b576c19ab64490917ec46cb3bee790ad2</id>
<content type='text'>
For gawk compatibility.

Signed-off-by: Leon M. George &lt;leon@georgemail.eu&gt;
</content>
</entry>
<entry>
<title>base-files: ipcalc.sh: use shebang to invoke awk</title>
<updated>2023-02-07T20:05:57Z</updated>
<author>
<name>Leon M. George</name>
</author>
<published>2022-05-05T22:03:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/commit/?id=6ce9f42b9819b93717d7425ca4135afec6ea43af'/>
<id>urn:sha1:6ce9f42b9819b93717d7425ca4135afec6ea43af</id>
<content type='text'>
There's hardly an shell logic in ipcalc.sh and a $* that would garble
parameter positions.
Move the awk invokation to the shebang.

A rename from "ipcalc.sh" to "ipcalc" is desirable but could prove tricky
with packages in other repositories depending on the filename.

Signed-off-by: Leon M. George &lt;leon@georgemail.eu&gt;
</content>
</entry>
<entry>
<title>base-files: ipcalc.sh: fail when network is too small</title>
<updated>2023-02-07T20:05:56Z</updated>
<author>
<name>Leon M. George</name>
</author>
<published>2022-05-05T22:02:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/commit/?id=a40a96e54b0d047d14d99bb715ee2dd94458acb6'/>
<id>urn:sha1:a40a96e54b0d047d14d99bb715ee2dd94458acb6</id>
<content type='text'>
It's possible to move range boundaries in a way that the start address
lies behind the end address.
Detect this condition and exit with an error message.

Signed-off-by: Leon M. George &lt;leon@georgemail.eu&gt;
</content>
</entry>
<entry>
<title>base-files: ipcalc.sh: don't include own address in range</title>
<updated>2023-02-07T20:05:56Z</updated>
<author>
<name>Leon M. George</name>
</author>
<published>2022-05-05T21:47:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/commit/?id=4fe106afd1870cfeb6a45d40f1dbb69e890f1756'/>
<id>urn:sha1:4fe106afd1870cfeb6a45d40f1dbb69e890f1756</id>
<content type='text'>
Make sure our own address doesn't lie in the calculated range.

Signed-off-by: Leon M. George &lt;leon@georgemail.eu&gt;
</content>
</entry>
<entry>
<title>base-files: ipcalc.sh: check for params before calculating start/end</title>
<updated>2023-02-07T20:05:52Z</updated>
<author>
<name>Leon M. George</name>
</author>
<published>2022-05-05T21:19:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/commit/?id=00a20335ba2bac4cc33048464ba4bab070309db7'/>
<id>urn:sha1:00a20335ba2bac4cc33048464ba4bab070309db7</id>
<content type='text'>
With this patch, ipcalc only calculates range boundaries if the
corresponding parameters are supplied.

Signed-off-by: Leon M. George &lt;leon@georgemail.eu&gt;
</content>
</entry>
<entry>
<title>base-files: upgrade: Fix export_partdevice() quoting</title>
<updated>2023-02-03T13:09:46Z</updated>
<author>
<name>Brian Norris</name>
</author>
<published>2022-12-21T06:21:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/aparcar/commit/?id=3cd882744d8ee347e7b55f113a95f93cfe7175cd'/>
<id>urn:sha1:3cd882744d8ee347e7b55f113a95f93cfe7175cd</id>
<content type='text'>
$BOOTDEV_MAJOR may be empty for many of the uevents parsed in this
function. This condition thus tends to fail benignly (we just skip to
the next device), but it can really clutter the stage2 sysupgrade
stderr, since it looks like the "=" operand doesn't have an appropriate
left-hand argument.

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
</feed>
