From patchwork Tue Jan 28 08:25:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 1230218 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.a=rsa-sha256 header.s=google header.b=xhcBSC+5; 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 486KYS4NyJz9sP6 for ; Tue, 28 Jan 2020 19:30:04 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E88C881A6E; Tue, 28 Jan 2020 09:27:36 +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="xhcBSC+5"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BD64081A50; Tue, 28 Jan 2020 09:27:17 +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-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) (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 BF0AC819AC for ; Tue, 28 Jan 2020 09:27:13 +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-x443.google.com with SMTP id i6so6254514pfc.1 for ; Tue, 28 Jan 2020 00:27:13 -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=S8F518777rY6PccHg/w8FLlZrn54GmRJimwW8uW5LcM=; b=xhcBSC+5oE3EPbo5iLns0UlXOZ7dKZceCranF26Y5FyOM8Jk5gj4Mnhf3dvTSzKHd/ TXEFRpq4yAMveLXarrP0+v5YzUCiXEC6aqo7ryZ5xewG/uKWiHJYxwVFDPtqpcpsSZWr t8owUtmgVWluhgYtzFe4mHyM3GuQTgr+28j3xn92BmwYaGbN2R1xys8AkvsrpkGHJe2L FRQpCF2RvEmlGQ3Q1aiPglGs/dS/9U8oXvgAeBa0xsjj+9W9MyvbjMHBczuPJIpnUslo dr2f4vLj8xRKbSd2p7G4SzONop4uE7fH3ADtvqFH7f88yoJmunpFZWhktKBDyWHMzuFz KI9A== 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=S8F518777rY6PccHg/w8FLlZrn54GmRJimwW8uW5LcM=; b=FiItXF31eY1dBaFNRwdfZCSBQTh7doq4FQzo3L2Fs6Ld1UeXm2eNlB+bYNxtKGkg9P QZnggiBCFWb3FtO0CbBsG1rRshsIcEo2RGVfrlELinXd3L3NX8uPtUc6IJwv2eR8oKhq s7k7h7XlNekcpWAIboBoG5sx5hWw6r1Izq7nSYVPh2PZZU0T3LWJGhD9Ebjc45LM7fkl 7Cbw6ipF4jFB5hAuEQmnOFJoHXGiHekAh1wQSN1NBxOLLItT4adldlwmsfK4oNwoU6j2 WSW35zSU2Xhg+9yxp47/OTiWtIrRhVJXYTQzRIIMpBsaAl6lnl+ZvIgE0gMSMAeSltm6 M0aw== X-Gm-Message-State: APjAAAWpPcRVFUorxMmf4s4VKQjs0m3h5/4JASOBYFMUSbG59W+YDxRm 8TQjCBtW420/IxiWx4q9L4mymw== X-Google-Smtp-Source: APXvYqwHipQ3Zh5zEdHMuczX9v2uqHD6qBjrF7YL4zov4Nlah8WLfKh9Fwm1IWetAmwSSz3S2v+Oeg== X-Received: by 2002:a63:31cf:: with SMTP id x198mr23206226pgx.272.1580200031777; Tue, 28 Jan 2020 00:27:11 -0800 (PST) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id 2sm18646718pgo.79.2020.01.28.00.27.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Jan 2020 00:27:11 -0800 (PST) From: AKASHI Takahiro To: xypron.glpk@gmx.de, agraf@csgraf.de, trini@konsulko.com Subject: [PATCH v5 16/16] travis: add packages for UEFI secure boot test Date: Tue, 28 Jan 2020 17:25:32 +0900 Message-Id: <20200128082532.15943-17-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200128082532.15943-1-takahiro.akashi@linaro.org> References: <20200128082532.15943-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 particular, 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 3991eb7716fb..f0fed6d4b790 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"