base-files: fix build for /sbin/pkg_check
authorXu Wang <xwang1498@gmx.com>
Mon, 6 Jan 2020 17:12:43 +0000 (17:12 +0000)
committerJo-Philipp Wich <jo@mein.io>
Tue, 14 Jan 2020 16:52:34 +0000 (17:52 +0100)
commit44304c1d671696ed9598735e71a1635276102511
tree750b7c98a45b6ce1236e67c3735931bb2b3ccf77
parent3c77e4ae4d97ec14daeabfab12ec8b451184d0d6
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 <xwang1498@gmx.com>
include/package-ipkg.mk
package/base-files/Makefile