<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/dangole/package/base-files, branch main</title>
<subtitle>Staging tree of Daniel Golle</subtitle>
<id>https://git.openwrt.org/openwrt/staging/dangole/atom?h=main</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/dangole/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/dangole/'/>
<updated>2024-05-22T17:28:20Z</updated>
<entry>
<title>build: generate private key for APK early</title>
<updated>2024-05-22T17:28:20Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2024-05-22T14:19:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/dangole/commit/?id=9a11bc3682dd7e95eb0534da9e2dbe3cdaa1c6de'/>
<id>urn:sha1:9a11bc3682dd7e95eb0534da9e2dbe3cdaa1c6de</id>
<content type='text'>
Other than OPKG which only uses signed package list, APK uses
individually signed packages in addition to signed package lists. Hence,
in order to be able to generate package, the private key needs to be
generated before compiling packages. Express that dependency and
generate the private key before building any packages instead of doing
so as part of the base-files package build.

Fixes: d788ab376f ("build: add APK package build capabilities")
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>base-files: correctly split install-key function for APK</title>
<updated>2024-05-17T20:34:23Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-05-17T20:32:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/dangole/commit/?id=a96354bcfb0ad1c0deccbfdb3264c149447d474b'/>
<id>urn:sha1:a96354bcfb0ad1c0deccbfdb3264c149447d474b</id>
<content type='text'>
The function incorrectly tried to APK keys even if there were none.
Correctly separate it into its own `ifdef` section.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
Link: https://github.com/openwrt/openwrt/pull/15519
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: add compatibility for APK and OPKG</title>
<updated>2024-05-17T20:21:26Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-05-03T16:24:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/dangole/commit/?id=bcc641504d401336336ae1ada8a9935ff05c6055'/>
<id>urn:sha1:bcc641504d401336336ae1ada8a9935ff05c6055</id>
<content type='text'>
Both package managers work slightly different, i.e. stores files at
different places. Modify the `functions.sh` file to cover those.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>base-files: add update_alternatives function</title>
<updated>2024-05-17T20:21:26Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-05-03T15:53:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/dangole/commit/?id=3010ab87bc5eb4278a8d550c7ad576836fbbbdf9'/>
<id>urn:sha1:3010ab87bc5eb4278a8d550c7ad576836fbbbdf9</id>
<content type='text'>
The APK package manager does not support handling of package
alternatives itself, so implement it via a simple shell script.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>build: add APK package build capabilities</title>
<updated>2024-05-17T20:21:26Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-05-14T10:36:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/dangole/commit/?id=d788ab376f859164df84e2054cbbbb0921943c5b'/>
<id>urn:sha1:d788ab376f859164df84e2054cbbbb0921943c5b</id>
<content type='text'>
A new option called `USE_APK` is added which generated APK packages
(.apk) instead of OPKG packages (.ipk).

Some features like fstools `snapshot` command are not yet ported

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>base-files: fix uid/gid auto-enumeration to avoid 16-bit limit</title>
<updated>2024-05-10T20:39:57Z</updated>
<author>
<name>Thomas Winkler</name>
</author>
<published>2023-11-10T21:48:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/dangole/commit/?id=140b48a9e93909873bee777ca5bdf49fe4f01271'/>
<id>urn:sha1:140b48a9e93909873bee777ca5bdf49fe4f01271</id>
<content type='text'>
uid/gid range should be limited to 16bit unsigned integer range to
avoid "wraparound" issues with permissions where jffs2
is employed for storage and chown 65536 (first auto-created user)
becomes equivalent to chown 0

Fixes: #13927

Signed-off-by: Thomas Winkler &lt;tewinkler86@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: Add new functions for ath11k caldata</title>
<updated>2024-04-23T20:35:57Z</updated>
<author>
<name>Paweł Owoc</name>
</author>
<published>2024-01-29T22:36:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/dangole/commit/?id=652a6677d5fa3c1eb0b9b58b8bf5d95c7eb6c130'/>
<id>urn:sha1:652a6677d5fa3c1eb0b9b58b8bf5d95c7eb6c130</id>
<content type='text'>
Add new functions for ath11k caldata:
- ath11k_patch_mac (from 0 to 5)
- ath11k_remove_regdomain
- ath11k_set_macflag (some pre-caldata have the nvMacFlag flag unset which is needed to change the MAC address)

Additionaly for ath10k caldata:
- ath10k_remove_regdomain

Signed-off-by: Paweł Owoc &lt;frut3k7@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: reduce IPv6 ULA prefix generation to a single call</title>
<updated>2024-04-18T10:55:31Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2024-03-29T15:04:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/dangole/commit/?id=27edf28b11f179eb9fc6ab159b68b2fe97ffdf1e'/>
<id>urn:sha1:27edf28b11f179eb9fc6ab159b68b2fe97ffdf1e</id>
<content type='text'>
Reduce calls and pipes and read from urandom once directly with hexdump
for the necessary 5 bytes of random data to build the 48 bit ULA Prefix.

Fewer calls and forks; finish quicker; less memory used.

Tested on: 23.05.3

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
</content>
</entry>
<entry>
<title>base-files: minor fix to mmc_get_mac_ascii function</title>
<updated>2024-04-07T19:06:11Z</updated>
<author>
<name>Rodrigo Balerdi</name>
</author>
<published>2024-04-06T06:18:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/dangole/commit/?id=8cf4ac5195476356a14678ae72897e563881b15e'/>
<id>urn:sha1:8cf4ac5195476356a14678ae72897e563881b15e</id>
<content type='text'>
This is mostly a cosmetic cleanup. The absence of
the return statement was not causing any problems.

Signed-off-by: Rodrigo Balerdi &lt;lanchon@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: use APK compatible version schema</title>
<updated>2024-03-22T21:14:22Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-03-17T17:43:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/dangole/commit/?id=e8725a932e16eaf6ec51add8c084d959cbe32ff2'/>
<id>urn:sha1:e8725a932e16eaf6ec51add8c084d959cbe32ff2</id>
<content type='text'>
Different from OPKG, APK uses a deterministic version schema which chips
the version into chunks and compares them individually. This enforces a
certain schema which was previously entirely flexible.

 - Releases are added at the very and end prefixed with an `r` like
`1.2.3-r3`.
- Hashes are prefixed with a `~` like `1.2.3~abc123`.
- Dates become semantic versions, like `2024.04.01`
- Extra tags are possible like `_git`, `_alpha` and more.

For full details see the APK test list:
https://gitlab.alpinelinux.org/alpine/apk-tools/-/blob/master/test/version.data

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
</feed>
