From 3cde50bb88bddfd9d0a79e99cf4d6cf4a90981eb Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Fri, 18 Mar 2016 19:56:58 +0100 Subject: Upgrade dev to 15.01.1 (supports 741v5 and 841v10) --- build-openwrt-dev.sh | 22 ++++++++++++++++++++-- maj/gen-dev.php | 14 ++++++++------ 2 files changed, 28 insertions(+), 8 deletions(-) diff --git a/build-openwrt-dev.sh b/build-openwrt-dev.sh index 79ea750..43acdbf 100755 --- a/build-openwrt-dev.sh +++ b/build-openwrt-dev.sh @@ -22,8 +22,8 @@ echo -n "$0 - " ; date # Directories and source file URL BUILD_DIR=${BUILD_DIR:-./build} CACHE_DIR=${CACHE_DIR:-.} -ORIG_TARBALL=OpenWrt-ImageBuilder-15.05-ar71xx-generic.Linux-x86_64.tar.bz2 -ORIG_URL=http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/$ORIG_TARBALL +ORIG_TARBALL=OpenWrt-ImageBuilder-15.05.1-ar71xx-generic.Linux-x86_64.tar.bz2 +ORIG_URL=http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/$ORIG_TARBALL PACKAGES="luci luci-mod-admin-full ip" # Base packages PACKAGES="$PACKAGES luci-i18n-base-en luci-i18n-firewall-en luci-i18n-base-fr luci-i18n-firewall-fr" # internationnalisation PACKAGES="$PACKAGES miniupnpd luci-app-upnp luci-i18n-upnp-fr" # Extra packages @@ -110,6 +110,24 @@ mkdir -p extra_files/etc/config extra_files/etc/dropbear extra_files/etc/hotplug # Prepare Openwrt config file # ############################### +# Use local replication of repositories +cat > repositories.conf <<"EOT" +## Place your custom repositories here, they must match the architecture and version. +# src/gz chaos_calmer http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages +# src custom file:///usr/src/openwrt/bin/ar71xx/packages + +## Remote package repositories +src/gz chaos_calmer_base http://localhost/openwrt/chaos_calmer/15.05.1/ar71xx/generic/packages/base +src/gz chaos_calmer_luci http://localhost/openwrt/chaos_calmer/15.05.1/ar71xx/generic/packages/luci +#src/gz chaos_calmer_packages http://localhost/openwrt/chaos_calmer/15.05.1/ar71xx/generic/packages/packages +src/gz chaos_calmer_routing http://localhost/openwrt/chaos_calmer/15.05.1/ar71xx/generic/packages/routing +#src/gz chaos_calmer_telephony http://localhost/openwrt/chaos_calmer/15.05.1/ar71xx/generic/packages/telephony +#src/gz chaos_calmer_management http://localhost/openwrt/chaos_calmer/15.05.1/ar71xx/generic/packages/management + +## This is the local package repository, do not remove! +src imagebuilder file:packages +EOT + cat > extra_files/etc/dropbear/authorized_keys <