openwrt/target/imagebuilder
Robert Marko 03eeeffbd6 imagebuilder: fix APK package_depends support
Currently trying to use the 'package_depends' feature of ImageBuilder will
result in it trying to call OPKG:
make package_depends PACKAGE="usbutils"
OK: 26 MiB in 142 packages
bash: line 1: openwrt-imagebuilder-qualcommax-ipq807x.Linux-x86_64/staging_dir/host/bin/opkg: No such file or directory
make: *** [Makefile:363: package_depends] Error 127

It looks like a copy/paste error when APK support was being added, so lets
fix it by calling APK and its "info --depends" command.

Fixes: #16996
Fixes: d788ab376f ("build: add APK package build capabilities")
Link: https://github.com/openwrt/openwrt/pull/17022
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-11-20 09:49:21 +01:00
..
files imagebuilder: fix APK package_depends support 2024-11-20 09:49:21 +01:00
Config.in merge: targets: update image generation and targets 2017-12-08 19:41:18 +01:00
Makefile imagebuilder: fix OPKG package inclusion 2024-11-10 04:27:19 +01:00