From patchwork Sun Mar 11 13:33:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Bj=C3=B8rn_Mork?= X-Patchwork-Id: 884253 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (helo) smtp.helo=arrakis.dune.hu (client-ip=78.24.191.176; helo=arrakis.dune.hu; envelope-from=openwrt-devel-bounces@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mork.no Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=mork.no header.i=@mork.no header.b="Epgp8nZq"; dkim-atps=neutral Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zzhtD45jXz9sCV for ; Mon, 12 Mar 2018 00:34:28 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id BE903B912BE; Sun, 11 Mar 2018 14:34:23 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP; Sun, 11 Mar 2018 14:34:23 +0100 (CET) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id A0759B912A8 for ; Sun, 11 Mar 2018 14:34:22 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 CL_IP_EQ_FROM_MX=-3.1; rate: -6.1 Received: from canardo.mork.no (canardo.mork.no [148.122.252.1]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Sun, 11 Mar 2018 14:34:21 +0100 (CET) Received: from canardo.mork.no (ip6-localhost [IPv6:0:0:0:0:0:0:0:1]) by canardo.mork.no (8.15.2/8.15.2) with ESMTPS id w2BDXvkM024710 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 11 Mar 2018 14:33:57 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mork.no; s=b; t=1520775237; bh=Ko7ngVUNsteSMsJ4MttDq83WYQYcH0sNsa5gc8Yw2zs=; h=From:To:Cc:Subject:Date:Message-Id:From; b=Epgp8nZqz4FIa0ZQbKPUEnq6nlsYD/DceNZn5F9fsWLSIXkWf2W6Xhv/hABs/9ODD UgjL9dM52iFIbGvh/dO2j6FyIhCRDjvxVSDwU0EYMvaOomrZZU1lwyl3CyePgjuy7V r/Jxy5E4c9J7UGZWcQ2zujFPuqcTlJDuRvcdDkrc= Received: (from bjorn@localhost) by canardo.mork.no (8.15.2/8.15.2/Submit) id w2BDXvIT024709; Sun, 11 Mar 2018 14:33:57 +0100 From: =?utf-8?q?Bj=C3=B8rn_Mork?= To: Matthias Schiffer Date: Sun, 11 Mar 2018 14:33:50 +0100 Message-Id: <20180311133350.24668-1-bjorn@mork.no> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.99.3 at canardo X-Virus-Status: Clean Subject: [OpenWrt-Devel] [PATCH] base-files: sysupgrade depends on sha256sum now X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: openwrt-devel@lists.openwrt.org, lede-dev@lists.infradead.org Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" 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 --- You'll see this unless you select sha256sum: root@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 +@BUSYBOX_CONFIG_SHA256SUM TITLE:=Base filesystem for OpenWrt URL:=http://openwrt.org/ VERSION:=$(PKG_RELEASE)-$(REVISION)