From patchwork Mon Dec 9 06:00:56 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 1205934 X-Patchwork-Delegate: xypron.glpk@gmx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="v6pfJ5ri"; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 47WXfb1BgDz9sNH for ; Mon, 9 Dec 2019 17:02:47 +1100 (AEDT) Received: from phobos.denx.de (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B8BDB81718; Mon, 9 Dec 2019 07:00:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="v6pfJ5ri"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6BCC881700; Mon, 9 Dec 2019 07:00:28 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 26EC981701 for ; Mon, 9 Dec 2019 07:00:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=takahiro.akashi@linaro.org Received: by mail-pf1-x442.google.com with SMTP id x185so6635407pfc.5 for ; Sun, 08 Dec 2019 22:00:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=OeXceDu3vAEAW98wvohnlyvs3h5YDmF7qjblWbdfVf4=; b=v6pfJ5riqp+KVaDwWt3Kj+aBIFARfoCWOOcbyx5aEb+jQ9tpmS3kvOw6FKpCi4vpZ1 hAPlX6vg0f9VQnMorPM9QZrQeR0K3F6Vd90/G3AkqU6mzJ9WjaS7CYmyEacssTLXl+og uIE7lxG2BS6U7TGZnTMhBjg+f0LrekPlSd+ggocSPEAqA+vHMWGBNYaOpFM5M4hxmXc/ 8wA7R9idlpFumiCv6QnTZ7uMQ9WSkiw4QKXJ5A+ZY9Zuv9jaXbc9ivUcPqAaVO0gAYLn MAO2WTeXQLvUyhVJYvlvwWOKAnyxx/b2aar17f+d9veKMJIWkyqcaSP6Am6OMq1B0zTr M98w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=OeXceDu3vAEAW98wvohnlyvs3h5YDmF7qjblWbdfVf4=; b=INmDlV9HS/CWBj+qxEgVDTA6fWQd963DtNTi6k4YbWd27MZztld/NfK0v844Kayklw TywNU/0cJL0D1LvjR3fvZY2azsK0z6GOOWjW8CEBphfDRwA4uqdomdq78D/q28QE5uW3 Uy9gbFXdJGYsWxgDcuGCRuNheSu91Xb/A1O0ZRbzv7Z1LitWTThPRx+7KFIPbkXGk30K 4C9iSbCKYJzVkwMW88DPPqdimsQ4Y3TW0+gsylfa2CTIXgIRY5axftoW5Cr2UTE0bkF9 MHfYZxCgN6f6JAmTqJBnY2et/X8hgMPNDYMsKlNX/CQHpaNIaMn2AkWvikTmzmz+ttWE KH6w== X-Gm-Message-State: APjAAAUysD1MLFUqIH1HU0PFgMuLJLsCDPJAHvQq8XxUfE/PyDEZkUC1 YdmKFKsIvxMMNho/CjopTGWHXiGrQko= X-Google-Smtp-Source: APXvYqz7W87oxyKikGICfJIFLPLEKbGiXO0I/SMqwDEl7k7/WQidtdfIBTjLx+y368Yffz4kWCKq1w== X-Received: by 2002:a63:551a:: with SMTP id j26mr16785464pgb.370.1575871222714; Sun, 08 Dec 2019 22:00:22 -0800 (PST) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id t8sm26659481pfq.92.2019.12.08.22.00.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Dec 2019 22:00:22 -0800 (PST) From: AKASHI Takahiro To: xypron.glpk@gmx.de, agraf@csgraf.de, trini@konsulko.com Subject: [PATCH v3 16/16] travis: add packages for UEFI secure boot test Date: Mon, 9 Dec 2019 15:00:56 +0900 Message-Id: <20191209060056.32426-17-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191209060056.32426-1-takahiro.akashi@linaro.org> References: <20191209060056.32426-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.26 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: u-boot@lists.denx.de, mail@patrick-wildt.de Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.101.4 at phobos.denx.de X-Virus-Status: Clean Pytest for UEFI secure boot will use several host commands. In paricular, Test setup relies on efitools, whose version must be v1.5.2 or later. So fetch a new version of deb package directly. Please note it has a dependency on mtools, which must also be installed along wih efitools. In addition, the path, '/sbin', is added to PATH for use of sgdisk and mkfs. Signed-off-by: AKASHI Takahiro --- .travis.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f6aec9677083..91b6d23ace98 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,6 +38,14 @@ addons: - libisl15 - clang-7 - srecord + - coreutils + - util-linux + - dosfstools + - gdisk + - mount + - mtools + - openssl + - sbsigntool install: # Clone uboot-test-hooks @@ -58,10 +66,11 @@ install: - mkdir ~/grub2-arm64 - ( cd ~/grub2-arm64; wget -O - http://download.opensuse.org/ports/aarch64/distribution/leap/42.2/repo/oss/suse/aarch64/grub2-arm64-efi-2.02~beta2-87.1.aarch64.rpm | rpm2cpio | cpio -di ) - wget http://mirrors.kernel.org/ubuntu/pool/main/m/mpfr4/libmpfr4_3.1.4-1_amd64.deb && sudo dpkg -i libmpfr4_3.1.4-1_amd64.deb && rm libmpfr4_3.1.4-1_amd64.deb + - wget http://mirrors.kernel.org/ubuntu/pool/universe/e/efitools/efitools_1.8.1-0ubuntu2_amd64.deb && sudo dpkg -i efitools_1.8.1-0ubuntu2_amd64.deb && rm efitools_1.8.1-0ubuntu2_amd64.deb env: global: - - PATH=/tmp/qemu-install/bin:/tmp/uboot-test-hooks/bin:/usr/bin:/bin:/usr/local/bin + - PATH=/tmp/qemu-install/bin:/tmp/uboot-test-hooks/bin:/sbin:/usr/bin:/bin:/usr/local/bin - PYTHONPATH=/tmp/uboot-test-hooks/py/travis-ci - BUILD_DIR=build - HOSTCC="cc"