Skip to content

Commit

Permalink
build: don't include kernel/libc in package index
Browse files Browse the repository at this point in the history
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: openwrt#16808

Signed-off-by: Paul Spooren <[email protected]>
  • Loading branch information
aparcar authored and Ansuel committed Oct 30, 2024
1 parent 36834ea commit 07b845b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ( \
Expand Down

0 comments on commit 07b845b

Please sign in to comment.