summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Spooren2024-10-29 10:09:24 +0000
committerChristian Marangi2024-10-30 13:17:33 +0000
commit07b845b1f2e7417c39f3585d971b05f7ab3ce08b (patch)
tree112011ded491b5c46ff710fded4f6a019e8e5232
parent36834ea3403d05b6beab3a2efc3f00f097e58c81 (diff)
downloadopenwrt-07b845b1f2e7417c39f3585d971b05f7ab3ce08b.tar.gz
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@aparcar.org>
-rw-r--r--package/Makefile2
1 files changed, 1 insertions, 1 deletions
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 ( \