[LEDE-DEV] [PATCH] base-files: sysupgrade depends on sha256sum now

Bjørn Mork bjorn at mork.no
Sun Mar 11 06:33:50 PDT 2018


commit 6ed389da85a9 ("base-files: sysupgrade: do not rely on opkg
to list changed conffile") adds a call to sha256sum.  Make sure it
exists.

Signed-off-by: Bjørn Mork <bjorn at mork.no>
---
You'll see this unless you select sha256sum:

root at wrt1900ac-1:~# sysupgrade -b /tmp/foo
/sbin/sysupgrade: eval: line 1: sha256sum: not found
/sbin/sysupgrade: eval: line 1: sha256sum: not found
/sbin/sysupgrade: eval: line 1: sha256sum: not found
/sbin/sysupgrade: eval: line 1: sha256sum: not found
..


 package/base-files/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index f4505d6843c4..4b668aa2da05 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -39,7 +39,7 @@ endif
 define Package/base-files
   SECTION:=base
   CATEGORY:=Base system
-  DEPENDS:=+netifd +libc +procd +jsonfilter +SIGNED_PACKAGES:usign +SIGNED_PACKAGES:lede-keyring +NAND_SUPPORT:ubi-utils +fstools +fwtool
+  DEPENDS:=+netifd +libc +procd +jsonfilter +SIGNED_PACKAGES:usign +SIGNED_PACKAGES:lede-keyring +NAND_SUPPORT:ubi-utils +fstools +fwtool + at BUSYBOX_CONFIG_SHA256SUM
   TITLE:=Base filesystem for OpenWrt
   URL:=http://openwrt.org/
   VERSION:=$(PKG_RELEASE)-$(REVISION)
-- 
2.11.0




More information about the Lede-dev mailing list