Skip to content

Instantly share code, notes, and snippets.

@neheb
Created March 16, 2018 00:14
Show Gist options
  • Save neheb/4380665de4d6dd09386c2e73a78ec5cd to your computer and use it in GitHub Desktop.
Save neheb/4380665de4d6dd09386c2e73a78ec5cd to your computer and use it in GitHub Desktop.
SHELL= flock /home/mangix/devstuff/openwrt/tmp/.u-boot-2015.10.tar.xz.flock -c ' /home/mangix/devstuff/openwrt/scripts/download.pl "/home/mangix/devstuff/openwrt/dl" "u-boot-2015.10.tar.xz" "e207d996ebfff7335eed99789e3dcb9da071499f347fcdd86725b9d4dac5a5bb" "" || ( echo "Checking out files from the git repository..."; mkdir -p /home/mangix/devstuff/openwrt/tmp/dl && cd /home/mangix/devstuff/openwrt/tmp/dl && rm -rf u-boot-2015.10 && [ \! -d u-boot-2015.10 ] && git clone git://git.denx.de/u-boot.git u-boot-2015.10 && (cd u-boot-2015.10 && git checkout 5ec0003b19cbdf06ccd6941237cbc0d1c3468e2d && git submodule update --init --recursive) && echo "Packing checkout..." && export TAR_TIMESTAMP=`cd u-boot-2015.10 && git log -1 --format='\''@%ct'\''` && rm -rf u-boot-2015.10/.git && tar --numeric-owner --owner=0 --group=0 --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c u-boot-2015.10 | xz -zc -7e > /home/mangix/devstuff/openwrt/tmp/dl/u-boot-2015.10.tar.xz && mv /home/mangix/devstuff/openwrt/tmp/dl/u-boot-2015.10.tar.xz /home/mangix/devstuff/openwrt/dl/ && rm -rf u-boot-2015.10; ) '
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://sources.lede-project.org/u-boot-2015.10.tar.xz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://mirror2.openwrt.org/sources/u-boot-2015.10.tar.xz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://downloads.openwrt.org/sources/u-boot-2015.10.tar.xz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 184 100 184 0 0 149 0 0:00:01 0:00:01 --:--:-- 149
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
Download failed.
No more mirrors to try - giving up.
Checking out files from the git repository...
Cloning into 'u-boot-2015.10'...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment