From 44304c1d671696ed9598735e71a1635276102511 Mon Sep 17 00:00:00 2001 From: Xu Wang Date: Mon, 6 Jan 2020 17:12:43 +0000 Subject: base-files: fix build for /sbin/pkg_check Setting CONFIG_IPK_FILES_CHECKSUMS=y causes sha256 checksum files to be included with the packages to check for corruption. This commit fixes two issues: - /sbin/pkg_check was being removed incorrectly if IPK_FILES_CHECKSUMS=y - checksums were being saved in the wrong file Signed-off-by: Xu Wang --- include/package-ipkg.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 442d3854f0..c4c8f4a36f 100644 --- a/include/package-ipkg.mk +++ b/include/package-ipkg.mk @@ -207,7 +207,7 @@ $(_endef) (cd $$(IDIR_$(1)); \ ( \ find . -type f \! -path ./CONTROL/\* -exec sha256sum \{\} \; 2> /dev/null | \ - sed 's|\([[:blank:]]\)\./|\1/|' > $$(IDIR_$(1))/CONTROL/files-sha256 \ + sed 's|\([[:blank:]]\)\./|\1/|' > $$(IDIR_$(1))/CONTROL/files-sha256sum \ ) || true \ ) endif -- cgit v1.2.3