openwrt/target/imagebuilder/files
Robert Marko 1c308bad54 imagebuilder: fix APK architecture setting
Currently, when "apk add --initdb" is called it will populate the
/etc/apk/arch file with the architecture of the host instead of the target
package architecture and this will then make it impossible for new packages
to be installed on the device as the target architecture will not match
after APK is updated to include [1].

So, lets use override the architecture by passing the target package one
by using the "--arch" argument to "apk add".

[1] c1a3e69f24

Fixes: #16953
Link: https://github.com/openwrt/openwrt/pull/17015
Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-11-19 19:52:03 +01:00
..
Makefile imagebuilder: fix APK architecture setting 2024-11-19 19:52:03 +01:00
README.apk.md imagebuilder: fix broken IB_STANDALONE option 2024-05-31 15:48:00 +02:00
README.opkg.md imagebuilder: fix broken IB_STANDALONE option 2024-05-31 15:48:00 +02:00
repositories.conf

README.opkg.md

./packages folder

Add .ipk packages to this folder will allow the ImageBuilder to install them.

For more complex setups consider adding a custom feed containing packages.

src custom file:///path/to/packages

Whenever the ImageBuilder builds a firmware image this folder will be reloaded and a new package index created. In case signature checks are enabled the ./packages/Packages index will be signed with a locally generated key pair.