I am slightly customizing my openwrt images using the imagebuilder. I add some basic extra packages and install on my routers, so far without problems. I am able to use opkg to install some extra packages on them, and this works for a couple of days, but then if any new kernel is submitted, opkg fails to install anything new. Example below:
root@OpenWrt:~# opkg install zram-swap Installing zram-swap (8) to root... Downloading https://downloads.openwrt.org/snapshots/packages/mips_24kc/base/zram-swap_8_all.ipk Collected errors: * satisfy_dependencies_for: Cannot satisfy the following dependencies for zram-swap: * kernel (= 5.4.109-1-27dc69a3a9c10175d770b3e54c6436d0) * opkg_install_cmd: Cannot install package zram-swap. root@OpenWrt:~#
so what would be the best way to build a custom image and still be able to use opkg ?
Thank you a lot !