From patchwork Wed Dec 18 00:45:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 1211849 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="rr3UfiCQ"; 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 47cxDM6YTqz9sRl for ; Wed, 18 Dec 2019 11:47:15 +1100 (AEDT) Received: from phobos.denx.de (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8036B81706; Wed, 18 Dec 2019 01:45:00 +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="rr3UfiCQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8ACAA81704; Wed, 18 Dec 2019 01:44:53 +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-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) (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 F33AF81675 for ; Wed, 18 Dec 2019 01:44:49 +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-pg1-x543.google.com with SMTP id k25so248181pgt.7 for ; Tue, 17 Dec 2019 16:44:49 -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=q+eCfgGmKlUB3NHQs1tAtNYzFMW1AghtJBNRV4XUMcM=; b=rr3UfiCQ3Trx6lByqtvql2Gv1c+F9lOGj1exdOUgY61L2UHjAFzGiipGoDppqJmPGV qGLm0LlQlmIyKZyj6oFNZQEUJpO6ckRVUkkUNJj1PdxjefqFg4YQL8sOVL1x0YBVGbPx iRumc4lcRW8+0frmXeNcdlvxBw5SPrZMQpvu8WmijpdpypoKBZdgkfufh/lHHZ5x/XZx edSUNU0r+3HRdy3Q6j8x6M0+VYqrMKAU3Hf+edNzWL/HoVUvY6Bf00mh+LaY05/OTF1w IPeEvjpte1HD8WNXkzNKO2FzpvWVXOWVNgZaCkDKLNH6oPCOQWVlJPaCkNmr3kuifXYM rjfw== 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=q+eCfgGmKlUB3NHQs1tAtNYzFMW1AghtJBNRV4XUMcM=; b=rPTUtxJxsUTgu5n6+f2Z7eCdOFYm1XHlxaOTo5nf1oJ+PFvOBjQctCqYBWyJ8Ezrwi 3Ux+VbjLS0/F6hkWiYsE27cx6s+ssAOe+VrrPy6DIsGK3RUB/rsNCOz6fgnqvQcAM+Q5 6Ua6SmHbmKMFksbSBGv78zxycWImv7UxJVrUOUq+1gSkxK6w4Cyarc+2sNLRGzcEXLO/ HLkDffcnuu7z65tlQaHKDORnYwR7oERYqv4ycw294KCF+L0nkrkq/LCX0Q6gQNIS7pPl GBcbcwzK4slLMhilY+wmVG7ZkH1ZzqLC/2P2fu1JkMdPXSR5ZpZrPjndKyerlNn7rihw 5jtQ== X-Gm-Message-State: APjAAAXzyHRfiYGrz8vUCu35TbABCpL3d3GxS4W7w7LetjzWw2SqVFFO YW5Vfy7DszjZYiE0Dst1VWdLTg== X-Google-Smtp-Source: APXvYqy3we8lIl2+etkdNprX9SGJZq9ZZ6AP/uW4+9IHizgYqYjTnOrWr7Hi1xqIu5Wa+Vz5u+f6Lg== X-Received: by 2002:a65:6842:: with SMTP id q2mr238266pgt.345.1576629888550; Tue, 17 Dec 2019 16:44:48 -0800 (PST) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id q15sm201761pgi.55.2019.12.17.16.44.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Dec 2019 16:44:47 -0800 (PST) From: AKASHI Takahiro To: xypron.glpk@gmx.de, agraf@csgraf.de, trini@konsulko.com Subject: [PATCH v4 16/16] travis: add packages for UEFI secure boot test Date: Wed, 18 Dec 2019 09:45:12 +0900 Message-Id: <20191218004512.24939-17-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191218004512.24939-1-takahiro.akashi@linaro.org> References: <20191218004512.24939-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 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"