Setup local packages repository


in case no internet or deploying large number of yun.  local packages repository help..

mount micro sd card yun,  230mb available space needed.

code: [select]
mkdir -p /mnt/sda1/packages
cd /mnt/sda1/packages

wget http://downloads.arduino.cc/openwrtyun/1/packages/packages
wget http://downloads.arduino.cc/openwrtyun/1/packages/packages.sig
wget http://downloads.arduino.cc/openwrtyun/1/packages/packages.gz

cat packages | grep "filename: " >downloadfile.txt
sed -i 's/filename: /http:\/\/downloads.arduino.cc\/openwrtyun\/1\/packages\//g' downloadfile.txt
wget -i downloadfile.txt


after ~20 mins , 3030 files downloaded micro sd card.

change feed local:

code: [select]
nano /etc/opkg.conf
#src/gz attitude_adjustment http://downloads.arduino.cc/openwrtyun/1/packages
src/gz local file:////mnt/sda1/packages
opkg update


take cab airport, on board , happy programming yun.

very nice!


Arduino Forum > Products > Arduino Yún (Moderator: fabioc84) > Setup local packages repository


arduino

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support