[OpenWrt-Devel] opkg.conf as preserved config file in sysupgrade is creating problems (especially after package signing)

Bastian Bittorf bittorf at bluebottle.com
Thu Jun 18 05:21:13 EDT 2015

* Hannu Nyman <hannu.nyman at iki.fi> [18.06.2015 11:06]:
> Other possibility could be divide opkg.conf into two: a
> build-specific default download repo list (to be overwritten in
> sysupgrade) and a user-specific config file with config options and
> possible additional download locations (to be preserved).

IMHO this is a good idea.

A solution can be to have /var/opkg.conf (in ramdisk) and let
symlink /etc/opkg.conf to it. the one in the ramdisk is dynamically
built from /etc/opkg.conf (buildspecific) and /etc/opkg_user.conf
or just patching opkg for loading both (ATM it only supports 1 conffile)

bye, bastian
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list