<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/include/rootfs.mk, branch v24.10.1</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v24.10.1</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v24.10.1'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2024-10-28T23:07:52Z</updated>
<entry>
<title>imagebuilder: complete support for local signing keys</title>
<updated>2024-10-28T23:07:52Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-10-24T18:45:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=578f266ad7236d9d88fa955e63c5e4967e41c3b6'/>
<id>urn:sha1:578f266ad7236d9d88fa955e63c5e4967e41c3b6</id>
<content type='text'>
Complete support for local signing keys for APK.

A local key will be always generated, mkndx is always called with
--allow-untrusted as it needs to replace the sign key with the new local
one.

With CONFIG_SIGNATURE_CHECK the local index is signed with the local
key. Local public key is added with the ADD_LOCAL_KEY option.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: detach apk repository handling from rootfs.mk</title>
<updated>2024-10-28T23:07:51Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-10-24T18:25:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=23e27d21d532ffd3535810a6c8da2c70354bf78b'/>
<id>urn:sha1:23e27d21d532ffd3535810a6c8da2c70354bf78b</id>
<content type='text'>
To better support imagebuilder declaring --repositories-file on calling
apk macro, detach this and --repository from rootfs.mk macro and move it
to package Makefile and image.mk where they are used to permit a more
generic usage.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>include/rootfs: improve readability of OPKG status fixup block</title>
<updated>2024-06-11T21:58:12Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-06-11T11:03:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=b569d0cc3fc5215d66aab4bcdd4ece8ebde29901'/>
<id>urn:sha1:b569d0cc3fc5215d66aab4bcdd4ece8ebde29901</id>
<content type='text'>
Improve readability of OPKG status fixup block.

Link: https://github.com/openwrt/openwrt/pull/15543
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>include/rootfs: rework handling of post-install scripts for APK</title>
<updated>2024-06-11T21:58:11Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-05-22T17:29:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=b92e62d46451fc06cd2bc1ec105a259a5fa41f51'/>
<id>urn:sha1:b92e62d46451fc06cd2bc1ec105a259a5fa41f51</id>
<content type='text'>
Rework handling of post-install scripts for APK. As we do with OPKG,
lets just iterate between each post-install package so we can actually
check if something fail in applying them.

To do this we first extract each .post-install script in APK
scripts.tar.

Also remove these files from final image as they are needed only for the
first installation of the packages.

Link: https://github.com/openwrt/openwrt/pull/15543
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>apk: disable rootfs repositories during build</title>
<updated>2024-05-20T15:08:28Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-05-20T15:08:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=c1e0f99ef8066b4a5032409b7e81516fed166008'/>
<id>urn:sha1:c1e0f99ef8066b4a5032409b7e81516fed166008</id>
<content type='text'>
Since we set the root for APK it tries to use those during the build,
which shouldn't happen since local package are used instead.

Disable the repositories by manually setting an empty repository.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>include/rootfs: skip removal of APK cache now deprecated</title>
<updated>2024-05-19T13:05:10Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2024-05-19T13:03:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=f46867e5ccfa87d698bb11c4ecc9f4592890b06e'/>
<id>urn:sha1:f46867e5ccfa87d698bb11c4ecc9f4592890b06e</id>
<content type='text'>
Skip removal of APK cache since now deprecated as APK doesn't make use
of cache anymore in our configuration.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>rootfs: fix USE_APK detection</title>
<updated>2024-05-18T20:15:22Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2024-05-18T20:10:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=52a225cba41f72f0e38958a77bcbc5353ccaa731'/>
<id>urn:sha1:52a225cba41f72f0e38958a77bcbc5353ccaa731</id>
<content type='text'>
Due to missing quotes the script would wrongly assume APK to be enabled
and don't run post install scripts, breaking pretty much everything.

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/pepe2k/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>Revert "build: don't drop 'user' flag when using the ImageBuilder"</title>
<updated>2024-02-23T14:59:09Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2024-02-22T19:13:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=68968fc981b7804032eba0339a40054f39e0d22f'/>
<id>urn:sha1:68968fc981b7804032eba0339a40054f39e0d22f</id>
<content type='text'>
This reverts commit c42b915af0ea53bc1b65bc72afc9875da08b14d2.
Now that rpcd uses the 'Auto-Installed' field to differentiate between
deliberately and implicitely installed packages we can remove the
hotfix.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>build: don't drop 'user' flag when using the ImageBuilder</title>
<updated>2024-02-20T21:18:44Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2024-02-20T21:14:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=c42b915af0ea53bc1b65bc72afc9875da08b14d2'/>
<id>urn:sha1:c42b915af0ea53bc1b65bc72afc9875da08b14d2</id>
<content type='text'>
Commit be9023ed43 ("build: fix opkg flags in rootfs") introduced a
call to 'awk' which removes the 'user' flag from all installed
packages in the opkg status file. While is is somehow desireable when
building images directly within the buildroot, when using the
ImageBuilder dropping the 'user' flag means loosing information about
a package being deliberately selected or just implicitely pulled as a
dependency. And that then break tools like 'auc' which request only
packages having the 'user' flag from the asu server, resulting in
broken images being delivered to users.

Restore the original behavior in case of an image being created using
the ImageBuilder.

Fixes: be9023ed43 ("build: fix opkg flags in rootfs")
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
</feed>
