build: add whatdepends target to imagebuilder
authorPaul Spooren <mail@aparcar.org>
Fri, 21 Aug 2020 01:44:51 +0000 (15:44 -1000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 31 Aug 2020 10:18:24 +0000 (11:18 +0100)
commit84024e245f346cdf1da955cea4ab4c2c0a0886b2
tree58e99f67e53365351d7145a299e641e038999596
parent62d5ec7306f9664aeba64bc64c0dee1d93978bb4
build: add whatdepends target to imagebuilder

The package manager `opkg` offers the function `whatdepends` to print
packages that depend on a specific package.

This feature is useful when used in a CI to not only build an upgraded
package but all packages with a dependency.

Usage:
    make whatdepends PACKAGE=libipset

The resulting list can be fed into a SDK building all packages and warn
if anything fails.

Signed-off-by: Paul Spooren <mail@aparcar.org>
target/imagebuilder/files/Makefile