[openwrt/openwrt] build: don't include kernel/libc in package index
LEDE Commits
lede-commits at lists.infradead.org
Wed Oct 30 06:17:53 PDT 2024
ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/07b845b1f2e7417c39f3585d971b05f7ab3ce08b
commit 07b845b1f2e7417c39f3585d971b05f7ab3ce08b
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Tue Oct 29 11:09:24 2024 +0100
build: don't include kernel/libc in package index
The same that is done in `ipkg-make-index.sh` should happen with APK.
If the pseudo packages, only added to add dependency constraints, are
added to the index, APK happily "upgrades" them and installs updated
kmods, too. However, the Kernel itself is never installed via a regular
package.
Fixes: https://github.com/openwrt/openwrt/issues/16808
Signed-off-by: Paul Spooren <mail at aparcar.org>
---
package/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/Makefile b/package/Makefile
index 9ae94e9a4e..abe76a619f 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -130,7 +130,7 @@ ifneq ($(CONFIG_USE_APK),)
--keys-dir $(TOPDIR) \
--sign $(BUILD_KEY_APK_SEC) \
--output packages.adb \
- *.apk; \
+ $$(ls *.apk | grep -v 'kernel\|libc'); \
done
else
@for d in $(PACKAGE_SUBDIRS); do ( \
More information about the lede-commits
mailing list