imagebuilder: fix OPKG package_whatdepends support
authorRobert Marko <robimarko@gmail.com>
Tue, 19 Nov 2024 22:56:19 +0000 (23:56 +0100)
committerRobert Marko <robimarko@gmail.com>
Wed, 20 Nov 2024 08:49:57 +0000 (09:49 +0100)
commit1abaf051d2f8b53eac2ebc245e22dfeef45ec1c9
tree96d548786f33de09e795e22fc30b59f54671652e
parent5ad5677067cbad3c209c38e9fffdc5e839e87e6e
imagebuilder: fix OPKG package_whatdepends support

Trying to use 'package_whatdepends' feature of the ImageBuilder with OPKG
will currently fail as OPKG does not support "list --depends" call at all,
it seems that this is a mixup from the original APK support commit.

So, lets restore 'package_whatdepends' support for OPKG by calling
"whatdepends -A" instead as we used to before APK support.

Fixes: d788ab376f85 ("build: add APK package build capabilities")
Link: https://github.com/openwrt/openwrt/pull/17022
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 52519a59a859d349f154ed79e0a3d63457b6aa6a)
target/imagebuilder/files/Makefile