immortalwrt/include
Paul Spooren ae3d18100d
build: use mkhash for IPK metadata checksums
When setting the option IPK_FILES_CHECKSUMS the build system stores
checksums of all package file as metadata. In combination with pkg_check
this allows to see if a package is broken, e.g. caused by bad flash.

To create those checksums the tool `sha256sum` were used while the rest
of OpenWrt uses `mkhash`, a small & fast implementation of sha256. As
the build system does not check the existence of `sha256sum` and the
stderr output is moved to /dev/null, a situation where the option is
enabled but no actual checksum are created may occur.

Instead of adding `sha256sum` as a requirement, this replaces it with
`mkhash sha256` and adapts the `sed` pipe command to fit spacing.

CC: Xu Wang <xwang1498@gmx.com>
CC: Michal Hrusecky <Michal@Hrusecky.net>

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-11-28 19:07:01 +08:00
..
site fix permisson 2019-08-16 15:09:42 +08:00
autotools.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
cmake.mk build: support cmake verbose for host builds 2020-11-21 17:42:22 +08:00
debug.mk Revert "files: sync from openwrt v19.07 (#2690)" 2020-02-03 12:33:25 +08:00
depends.mk fix permisson 2019-08-16 15:09:42 +08:00
device_table.txt fix permission 2019-09-30 13:52:50 +08:00
download.mk build: prevent excessive re-evaluation of PKG_VERSION 2020-10-17 11:51:24 +08:00
feeds.mk build: FeedSourcesAppend add kmod feed to snapshot 2020-10-31 10:23:48 +08:00
hardened-ld-pie.specs fix permission 2019-09-30 13:52:50 +08:00
hardening.mk Revert "files: sync from openwrt v19.07 (#2690)" 2020-02-03 12:33:25 +08:00
host-build.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
image-commands.mk scripts: mkits.sh make it possible to specify fdt@# 2020-09-26 11:33:12 +08:00
image-legacy.mk fix permisson 2019-08-16 15:09:42 +08:00
image.mk build: store SOURCE_DATE_EPOCH in JSON info files 2020-11-14 23:34:48 +08:00
kernel-build.mk build: filter out more autogenerated kernel config options 2020-11-14 13:52:03 +08:00
kernel-defaults.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
kernel-version.mk kernel: bump to 4.9.244, 4.14.207, 4.19.158 2020-11-21 21:15:35 +08:00
kernel.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
netfilter.mk kernel/iptables: add modules for qos-gargoyle 2020-02-25 23:03:16 +08:00
nls.mk fix permisson 2019-08-16 15:09:42 +08:00
package-bin.mk fix permisson 2019-08-16 15:09:42 +08:00
package-defaults.mk build: allow file modes per binary package 2020-09-10 17:18:58 +08:00
package-dumpinfo.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
package-ipkg.mk build: use mkhash for IPK metadata checksums 2020-11-28 19:07:01 +08:00
package-seccomp.mk fix permisson 2019-08-16 15:09:42 +08:00
package.mk build: fix extreme build system slowdown caused by SOURCE_DATE_EPOCH changes 2020-09-06 11:32:18 +08:00
prereq-build.mk prereq-build: add python 3.9 support 2020-11-28 18:29:36 +08:00
prereq.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
quilt.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
rootfs.mk treewide: replace which with command -v 2020-08-13 23:30:21 +08:00
scan.awk fix permisson 2019-08-16 15:09:42 +08:00
scan.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
shell.sh add luci-app-haproxy & luci-app-udpspeederv2 2019-05-25 21:05:51 +08:00
subdir.mk fix permisson 2019-08-16 15:09:42 +08:00
target.mk build: filter out more autogenerated kernel config options 2020-11-14 13:52:03 +08:00
toolchain-build.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
toplevel.mk build: detect broken make version on macOS 2020-11-21 17:41:47 +08:00
u-boot.mk u-boot.mk: switch download to https 2020-04-27 08:55:20 +08:00
uclibc++.mk sync build script for OpenWrt 19.07 2020-02-21 02:41:00 +08:00
unpack.mk build: add zstd support to pack/unpack functions 2020-05-31 19:37:36 +08:00
verbose.mk fix permisson 2019-08-16 15:09:42 +08:00
version.mk build: switch VERSION_REPO to HTTPS 2020-09-01 17:33:44 +08:00