immortalwrt/scripts
Petr Štetiar 603d5f21ab
download: handle possibly invalid local tarballs
Currently it's assumed, that already downloaded tarballs are always
fine, so no checksum checking is performed and the tarball is used even
if it might be corrupted.

From now on, we're going to always check the downloaded tarballs before
considering them valid.

Steps to reproduce:

 1. Remove cached tarball

   rm dl/libubox-2020-08-06-9e52171d.tar.xz

 2. Download valid tarball again

   make package/libubox/download

 3. Invalidate the tarball

   sed -i 's/PKG_MIRROR_HASH:=../PKG_MIRROR_HASH:=ff/' package/libs/libubox/Makefile

 4. Now compile with corrupt tarball source

   make package/libubox/{clean,compile}

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2020-11-28 19:08:14 +08:00
..
config build: mconf readme update 2020-07-08 12:02:08 +08:00
flashing scripts/flashing/flash.sh: remove trailing whitespaces 2020-05-24 22:45:18 +08:00
arm-magic.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
brcmImage.pl Merge branch 'master' of https://github.com/lede-project/source 2018-01-09 14:38:15 +08:00
bundle-libraries.sh scripts: bundle-libraries.sh: fix broken SDK compiler 2020-11-03 11:54:47 +08:00
checkpatch.pl scripts: checkpatch.pl: suppress warnings about MAINTAINERS 2020-11-21 17:58:25 +08:00
clang-gcc-wrapper update source 2017-09-06 19:19:45 +08:00
clean-package.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
cleanfile update source 2017-09-06 19:19:45 +08:00
cleanpatch update source 2017-09-06 19:19:45 +08:00
combined-ext-image.sh update to R7.5.4 2018-01-15 18:26:41 +08:00
combined-image.sh update source 2017-09-06 19:19:45 +08:00
config.guess Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
config.rpath update source 2017-09-06 19:19:45 +08:00
config.sub Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
const_structs.checkpatch scripts: add const_structs.checkpatch for checkpatch.pl 2020-11-21 17:58:30 +08:00
deptest.sh update source 2017-09-06 19:19:45 +08:00
diffconfig.sh update source 2017-09-06 19:19:45 +08:00
dl_cleanup.py update source 2017-09-06 19:19:45 +08:00
dl_github_archive.py sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
download.pl download: handle possibly invalid local tarballs 2020-11-28 19:08:14 +08:00
dump-target-info.pl scripts: Add Buildbot dump-target-info.pl script 2020-08-04 23:54:03 +08:00
env scripts/env: Fix 56f813674a scripts/env: use command -v instead of which 2020-07-12 23:11:33 +08:00
ext-toolchain.sh update source 2017-09-06 19:19:45 +08:00
feeds scripts/feeds: silence git warning by selecting pull style 2020-11-28 19:07:10 +08:00
fixup-makefile.pl sync with OpenWrt trunk 2018-09-07 13:43:55 +08:00
functions.sh ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
gen_image_generic.sh scripts/gen_image_generic.sh: use /bin/sh 2020-07-12 12:17:33 +08:00
gen-dependencies.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
get_source_date_epoch.sh build: get_source_date_epoch allow external repos 2020-09-01 17:29:22 +08:00
getver.sh scripts/getver.sh: silence rev-list errors 2020-11-03 11:53:49 +08:00
ipkg-build scripts: ipkg-build: simplify uid/gid resolving 2020-09-15 11:37:24 +08:00
ipkg-make-index.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
ipkg-remove sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
json_add_image_info.py build: store SOURCE_DATE_EPOCH in JSON info files 2020-11-14 23:34:48 +08:00
json_overview_image_info.py build,json: fix compatibility with Python 3.5 2020-11-14 23:34:21 +08:00
kconfig.pl scripts/kconfig.pl: allow regex syntax in filtering out config entries 2020-11-14 13:51:51 +08:00
linksys-image.sh build: add a script for generating Linksys EA6350v3 factory image 2019-03-07 19:45:12 +08:00
make-ipkg-dir.sh update source 2017-09-06 19:19:45 +08:00
md5sum update source 2017-09-06 19:19:45 +08:00
metadata.pm sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
mkhash.c scripts: mkhash fail on hashing a folder 2020-11-12 11:10:10 +08:00
mkits-qsdk-ipq-image.sh ipq40xx: add G-DOCK 2.0 (P&W R619AC) support 2019-10-22 23:14:35 -07:00
mkits.sh scripts: mkits.sh make it possible to specify fdt@# 2020-09-26 11:33:12 +08:00
om-fwupgradecfg-gen.sh Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
package-metadata.pl sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
pad_image update source 2017-09-06 19:19:45 +08:00
patch-kernel.sh update source 2017-09-06 19:19:45 +08:00
patch-specs.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
portable_date.sh update source 2017-09-06 19:19:45 +08:00
qemustart sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
redboot-script.pl update source 2017-09-06 19:19:45 +08:00
relink-lib.sh update source 2017-09-06 19:19:45 +08:00
remote-gdb sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
rstrip.sh Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
sign_images.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
size_compare.sh scripts: add size_compare.sh 2020-11-28 18:27:07 +08:00
slugimage.pl sync with OpenWrt trunk 2018-09-07 13:43:55 +08:00
spelling.txt scripts: add spelling.txt for checkpatch.pl 2020-11-14 13:45:59 +08:00
srecimage.pl update source 2017-09-06 19:19:45 +08:00
strip-kmod.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
symlink-tree.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
sysupgrade-tar.sh sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
target-metadata.pl build: define PWM_SUPPORT arch feature flag 2020-09-26 11:34:00 +08:00
time.pl sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
timestamp.pl update source 2017-09-06 19:19:45 +08:00
ubinize-image.sh ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00