I have a microtik rb-941-2nd-tc and would like to build images with packages of the snapshot repositories. Its snapshot builds are deprecated so I tried editing the repositories.conf file of the image builder (stable branch) from:
## Place your custom repositories here, they must match the architecture and version.
# src/gz %n http://downloads.openwrt.org/releases/19.07.2
# src custom file:///usr/src/openwrt/bin/ar71xx/packages
## Remote package repositories
src/gz openwrt_core http://downloads.openwrt.org/releases/19.07.2/targets/ar71xx/mikrotik/packages
src/gz openwrt_base http://downloads.openwrt.org/releases/19.07.2/packages/mips_24kc/base
src/gz openwrt_luci http://downloads.openwrt.org/releases/19.07.2/packages/mips_24kc/luci
src/gz openwrt_packages http://downloads.openwrt.org/releases/19.07.2/packages/mips_24kc/packages
src/gz openwrt_routing http://downloads.openwrt.org/releases/19.07.2/packages/mips_24kc/routing
src/gz openwrt_telephony http://downloads.openwrt.org/releases/19.07.2/packages/mips_24kc/telephony
## This is the local package repository, do not remove!
src imagebuilder file:packages
to
## Place your custom repositories here, they must match the architecture and version.
# src/gz %n http://downloads.openwrt.org/releases/19.07.2
# src custom file:///usr/src/openwrt/bin/ar71xx/packages
## Remote package repositories
src/gz openwrt_core http://downloads.openwrt.org/releases/19.07.2/targets/ar71xx/mikrotik/packages
src/gz openwrt_base https://downloads.openwrt.org/snapshots/packages/mips_24kc/base
src/gz openwrt_luci https://downloads.openwrt.org/snapshots/packages/mips_24kc/luci
src/gz openwrt_packages https://downloads.openwrt.org/snapshots/packages/mips_24kc/packages
src/gz openwrt_routing https://downloads.openwrt.org/snapshots/packages/mips_24kc/routing
src/gz openwrt_telephony https://downloads.openwrt.org/snapshots/packages/mips_24kc/telephony
## This is the local package repository, do not remove!
src imagebuilder file:packages
but when I run make image PROFILE="rb-nor-flash-16M" PACKAGES="-iptables zram-swap -ip6tables -odhcp6c -kmod-ipv6 -kmod-ip6tables -odhcpd-ipv6only -dnsmasq -odhcpd -libiwinfo-lua" FILES=files/
I get
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for rssileds:
* libiwinfo20200105
* opkg_install_cmd: Cannot install package rssileds.
This is not a supported procedure and can't work at all. There is no binary compatibility between different branches, nor sufficient ABI tracking for this to be possible.
Either stick to snapshots completely or do individual backports on the source level, doing a full recompile (but don't expect to retain binary compatibility between your potential customized fork and the binary package repos).
But you are talking about a 32 MB RAM device, so you chances of success with either master or 19.07 are small. It will be really easy to to crash the router with OOM.