openwrt/include
Paul Spooren e34f04f4bc 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-26 19:06:13 -10:00
..
site
autotools.mk
cmake.mk build: support cmake verbose for host builds 2020-11-14 14:48:30 +01:00
debug.mk
depends.mk
device_table.txt
download.mk build: prevent excessive re-evaluation of PKG_VERSION 2020-10-16 21:39:10 +02:00
feeds.mk build: FeedSourcesAppend add kmod feed to snapshot 2020-10-30 00:39:09 +00:00
hardened-ld-pie.specs
hardening.mk
host-build.mk build: improve ccache support 2020-07-11 15:19:53 +02:00
image-commands.mk build: add UIMAGE_MAGIC to device variables 2020-11-25 15:55:26 +01:00
image.mk build: add UIMAGE_MAGIC to device variables 2020-11-25 15:55:26 +01:00
kernel-build.mk build: create $(PKG_SYMVERS_DIR) if non-existent 2020-11-19 18:52:15 +01:00
kernel-defaults.mk
kernel-version.mk kernel: bump 5.4 to 5.4.80 2020-11-26 11:17:55 +01:00
kernel.mk build: create $(PKG_SYMVERS_DIR) if non-existent 2020-11-19 18:52:15 +01:00
netfilter.mk netfilter: Add queue support for nftables 2020-11-12 18:19:44 +01:00
nls.mk
package-bin.mk
package-defaults.mk build: allow file modes per binary package 2020-09-09 14:13:59 +01:00
package-dumpinfo.mk
package-ipkg.mk build: use mkhash for IPK metadata checksums 2020-11-26 19:06:13 -10:00
package-seccomp.mk
package.mk build: fix extreme build system slowdown caused by SOURCE_DATE_EPOCH changes 2020-09-05 11:26:57 +02:00
prereq-build.mk prereq-build: add python 3.9 support 2020-11-24 23:40:39 -10:00
prereq.mk
quilt.mk
rootfs.mk treewide: replace `which` with `command -v` 2020-08-12 11:08:05 +02:00
scan.awk
scan.mk
shell.sh
subdir.mk
target.mk build: filter out more autogenerated kernel config options 2020-11-13 13:18:20 +01:00
toolchain-build.mk
toplevel.mk build: detect broken make version on macOS 2020-11-14 14:48:30 +01:00
u-boot.mk
uclibc++.mk
unpack.mk
verbose.mk
version.mk build: switch VERSION_REPO to HTTPS 2020-08-31 11:26:10 +01:00