搜尋此網誌

Openwrt feed a packet not on openwrt default build trunk HOW TO.

   After You had complete build the openwrt firmware from openwrt source ,you may found you need some package but not on your source build root/packages

       Then you figure out the required package is on openwrt svn feeds floder.
Seems now you  need install these packages ,but how ?
          you may just checkout  these packages from SVN feeds ,it should be work but it's too slow.

   So how about follow openwrt's recommand method to feed more packages you need
Just do floow steps:

    go to your Openwrt Build root , mostly it would be trunk/, and must have a file called feeds.conf.default
 or feeds.conf

     Ok ,do follow steps first
      (1.) ./scripts/feeds update -a
      (2.) ./scripts/feeds install -a

        after these steps,your build root floder will have a new floder name feeds,  and it contain ,many
packages...

          now for example add libpam  (Now your path still on build root   trunk/  )
        (1) scripts/feeds install -p libpam
        (2) make  package/feeds/packages/libpam/compile V=99
        (3) make  package/feeds/packages/libpam/install V=99
 
             on  step (3) ,if you see :
           WARNING: skipping libpam -- package not selected
            you may need make menuconfig ARCH=xxx to select the libpam.
            after slect the libpam, repeat the step (3) .

               ok ! done !