From patchwork Wed Feb 26 04:54:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 1244670 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=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=JN5YqXlH; 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 48S3T1313lz9sPR for ; Wed, 26 Feb 2020 15:57:41 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3637C81237; Wed, 26 Feb 2020 05:56:53 +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=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="JN5YqXlH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8E74180D3F; Wed, 26 Feb 2020 05:55:42 +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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) (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 1014580E7E for ; Wed, 26 Feb 2020 05:55:38 +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-pl1-x644.google.com with SMTP id ay11so799944plb.0 for ; Tue, 25 Feb 2020 20:55:37 -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=1udxIzmvWWTpl8YP+qUcljI51HaIbkQ/4S2OH3ck8yM=; b=JN5YqXlHAEaZBTX+ynb7zgLlOdLlCm7jDvtyP7nxr4YxxfDu0swGX9w5l6KJwij0Dr MnEq5blMFQvKuWpIp1Gmbw/JmMjZavN9LwvgybV1f4k7vsIIokYhRI7MxfC8iT8VEasv vPT0ij0RiujmtgV42a13DgQ/J3JupTYOheJztjlSXqu5VTv7dk4NrQ4nd6XA/VrchioC VJDTL3v4Hba2WvDEPU/E6bQrILNrJ4yMgTwOetjpngMivf6g0k92wzW+IrYPFYloM2LC 3wDf6GbCmKUdESvcbrLXhOnJ8pdx3KbNoxPaDhAYUYy6ycADzyx+pe13+9pAJ9i2k6jW MIKg== 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=1udxIzmvWWTpl8YP+qUcljI51HaIbkQ/4S2OH3ck8yM=; b=W3X1JlrEzq63a3CBI5eLICCmG6S1KgASluugIcq57MGtZ0MottF7M+xx2H6aKW0tV1 UU6U56meb65vRCQzo4opRuuJVqYbTyZbQlbjMmHnYGbXSmkUhNeaKhAVfF5biP8R+BR8 QDiLgKM+/AHEeTWBqPekSC9TBgY9yWJGu53mFtxii0zUkCmT2erqBzIkggAp/rp12smU jYYLGjh8UIxpIMP6JyT7o2Sszu28ko+1z9ARRp9wUAQ/gEi2SeybzLmxugOwGuziH0nh 6wk06Fe7QbztjW7ZsH+03O6pR1VQYtAEBXNho2iw8C7tOYoCk6JXUqZc0/EUBzIlY8Ha tBNQ== X-Gm-Message-State: APjAAAUZ6m6y6+ANcbomKf7XEyYHXCyvTnUWwlHSAyxlnq+S9LzCj7BN PQBZTqm4EJpZP5jXHnZiczvfYw== X-Google-Smtp-Source: APXvYqwpqUzViNaIEQi7YzAdIbRNx/WvBwGw8mCc3VeawFLMZGe+utVEYNRmvfl3lwO5X+wI4OmUCQ== X-Received: by 2002:a17:90a:cb0f:: with SMTP id z15mr2965359pjt.67.1582692936461; Tue, 25 Feb 2020 20:55:36 -0800 (PST) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id w25sm810551pfi.106.2020.02.25.20.55.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Feb 2020 20:55:35 -0800 (PST) From: AKASHI Takahiro To: xypron.glpk@gmx.de, agraf@csgraf.de, trini@konsulko.com Cc: sjg@chromium.org, ilias.apalodimas@linaro.org, mail@patrick-wildt.de, u-boot@lists.denx.de, AKASHI Takahiro Subject: [PATCH v6 16/16] travis: add packages for UEFI secure boot test Date: Wed, 26 Feb 2020 13:54:48 +0900 Message-Id: <20200226045448.2453-17-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200226045448.2453-1-takahiro.akashi@linaro.org> References: <20200226045448.2453-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 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 Reviewed-by: Tom Rini --- .travis.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 44e539038acd..36a0c4e1985e 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"