imagebuilder: fix broken IB_STANDALONE option
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 31 May 2024 11:08:02 +0000 (13:08 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 31 May 2024 13:48:00 +0000 (15:48 +0200)
commita39d9693e66dea73d9753c7c0bae1378c2e97fed
tree295ed6f85f4fee4763dd5a53d3909c951c3d7021
parentb1bddb1d355553527c12985ae4c048ffddacbd0d
imagebuilder: fix broken IB_STANDALONE option

Fix broken IB_STANDALONE option for OPKG due to an error in ifdef logic
where we weren't adding the required entry to reference the local files
in repositories.conf

Rework the ifdef to more explicit and restore original functionality of
this option.

While at it also provide different README for APK or OPKG.

Fixes: d788ab376f85 ("build: add APK package build capabilities")
Link: https://github.com/openwrt/openwrt/pull/15599
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/imagebuilder/Makefile
target/imagebuilder/files/README.apk.md [new file with mode: 0644]
target/imagebuilder/files/README.md [deleted file]
target/imagebuilder/files/README.opkg.md [new file with mode: 0644]