Reputation: 799
Everything started from the need to install vsftpd. It's supposed to be very easy, just run opkg install vsftpd but it didn't work. I spent a while until understood why it doesn't find it. It turned out that /etc/opkg/distfeeds.conf contains only these two lines
src/gz openwrt_core http://downloads.openwrt.org/snapshots/targets/x86/generic/packages src/gz openwrt_base http://downloads.openwrt.org/snapshots/packages/i386_pentium4/base
I build for x86 VM. As I understand this configuration file shows opkg where to look for the packages. vsftpd resides in ......./i386_pentium4/packages. How to add this URL to the source so that after the build and installation of the image this configuration file would contain this line and opkg install vsftpd would work?
Upvotes: 1
Views: 6960
Reputation: 13
add your configuare to "/package/system/opkg/files/opkg.conf"
and compile firmware again.
use command "opkg search /etc/opkg.conf" to find which package contain /etc/opkg.conf
Upvotes: 1