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.
after ~20 mins , 3030 files downloaded micro sd card.
change feed local:
take cab airport, on board , happy programming yun.
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
Post a Comment