Dieses Repo enthällt alle Dateien die während des make Prozesses vom gluon make Script heruntergeladen werden müssen. Dies beugt Problemen vor, die durch nicht erreichbare Server beim Kompilieren entstehen können.
mkdir git-repo
cd git-repo
git clone https://github.com/Freifunk-Nord/gluon-build-dependencies
git clone https://github.com/freifunk-gluon/gluon.git
cd gluon
mkdir openwrt
for TARGET in ar71xx-generic ar71xx-mikrotik ar71xx-nand brcm2708-bcm2708 brcm2708-bcm2709 mpc85xx-generic ramips-mt7621 ramips-rt305x sunxi x86-64 x86-generic x86-kvm_guest x86-xen_domu; do
mkdir -p build/$TARGET/openwrt
done
ln -s ../gluon-build-dependencies/openwrt/dl openwrt/dl
for f in build/*/openwrt/bin; do echo ln -s "../gluon-build-dependencies/$f" "$f"; done
ln -s ../gluon-build-dependencies/build/ar71xx-generic/openwrt/bin/ar71xx/packages/ ar71xx-generic/openwrt/bin/ar71xx/packages
ln -s ../gluon-build-dependencies/build/ar71xx-mikrotik/openwrt/bin/ar71xx/packages/ ar71xx-mikrotik/openwrt/bin/ar71xx/packages
ln -s ../gluon-build-dependencies/build/ar71xx-nand/openwrt/bin/ar71xx/packages/ ar71xx-nand/openwrt/bin/ar71xx/packages
ln -s ../gluon-build-dependencies/build/brcm2708-bcm2708/openwrt/bin/brcm2708/packages/ brcm2708-bcm2708/openwrt/bin/brcm2708/packages
ln -s ../gluon-build-dependencies/build/brcm2708-bcm2709/openwrt/bin/brcm2708/packages/ brcm2708-bcm2709/openwrt/bin/brcm2708/packages
ln -s ../gluon-build-dependencies/build/mpc85xx-generic/openwrt/bin/mpc85xx/packages/ mpc85xx-generic/openwrt/bin/mpc85xx/packages
ln -s ../gluon-build-dependencies/build/ramips-mt7621/openwrt/bin/ramips/packages/ ramips-mt7621/openwrt/bin/ramips/packages
ln -s ../gluon-build-dependencies/build/ramips-rt305x/openwrt/bin/ramips/packages/ ramips-rt305x/openwrt/bin/ramips/packages
ln -s ../gluon-build-dependencies/build/x86-generic/openwrt/bin/x86/packages/ x86-generic/openwrt/bin/x86/packages
ln -s ../gluon-build-dependencies/build/x86-kvm_guest/openwrt/bin/x86/packages/ x86-kvm_guest/openwrt/bin/x86/packages
ln -s ../gluon-build-dependencies/build/x86-xen_domu/openwrt/bin/x86/packages/ x86-xen_domu/openwrt/bin/x86/packages
ln -s ../gluon-build-dependencies/build/sunxi/openwrt/bin/sunxi/packages/ sunxi/openwrt/bin/sunxi/packages