I see that lot of you wants dnsmasq-full. Me nor my colleague had time to look into making critical packages more flexible. To put these requests at ease I invested little bit of time to test some dirty hack. It works and here it is. But be warned that this is not official in no way and is not supported. It is specially written so that you need some advanced knowledge. And please I would like to ask everyone to not post resulting package.
Hack is that you create dummy package with higher version than it is in repository, such package would contain no files and just depend on package you want instead of it.
To create such package you can use utility script in updater sources (utils/opkg-create/opkg-create-package
). Copy template and edit control file to contain correct name of package (ex. dnsmasq), something big as version (ex. 9999) and add line Depends: <REPLACING PACKAGE>
somewhere to middle (shouldn’t be after Description
). Remove ‘file’ from data directory. And you can run opkg-create-package in directory with control file. This should give you dummy package. Copy package to your router and add line to user.lua containing for dnsmasq Package "dnsmasq" {content="<PATH TO DUMMY PACKAGE"}
. And on second line you should add Install "dnsmasq-full" {ctritical=True}
to ensure that replacing package is also handled as critical. Do not use opkg to install dummy package.
Once again this is not official and no way supported. Its just hack to be used if you really need it. There is an possibility that this can break future updates. And for all of these reasons please do not post resulting package anywhere.