From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EHz6D+Yfv2NgBwAAbAwnHQ (envelope-from ) for ; Wed, 11 Jan 2023 21:45:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id kHpYEOYfv2M4/wAAauVa8A (envelope-from ) for ; Wed, 11 Jan 2023 21:45:26 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 18E9723122 for ; Wed, 11 Jan 2023 21:45:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFhyB-0001Yq-Hr; Wed, 11 Jan 2023 15:45:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFhy5-0001Rg-Cl for guix-patches@gnu.org; Wed, 11 Jan 2023 15:45:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFhy5-0007hD-2i for guix-patches@gnu.org; Wed, 11 Jan 2023 15:45:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pFhy4-0007ID-Ug for guix-patches@gnu.org; Wed, 11 Jan 2023 15:45:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60224] [PATCH v4 07/12] gnu: make-u-boot-sunxi64-package: Use gexps and adjust file name. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 11 Jan 2023 20:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60224 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60224@debbugs.gnu.org Cc: rekado@elephly.net, Maxim Cournoyer , vagrant@reproducible-builds.org Received: via spool by 60224-submit@debbugs.gnu.org id=B60224.167346990227981 (code B ref 60224); Wed, 11 Jan 2023 20:45:04 +0000 Received: (at 60224) by debbugs.gnu.org; 11 Jan 2023 20:45:02 +0000 Received: from localhost ([127.0.0.1]:43997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFhy1-0007H8-SG for submit@debbugs.gnu.org; Wed, 11 Jan 2023 15:45:02 -0500 Received: from mail-qv1-f42.google.com ([209.85.219.42]:34395) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFhxy-0007Fg-6G for 60224@debbugs.gnu.org; Wed, 11 Jan 2023 15:44:58 -0500 Received: by mail-qv1-f42.google.com with SMTP id p17so11407811qvn.1 for <60224@debbugs.gnu.org>; Wed, 11 Jan 2023 12:44:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/KflUoNsIw6sUg2Erl+ljEDs/mMBqaFoqLSyGE81NjM=; b=LpwKf0iqAojev+Ezef9UbGciJEBepP6WWMAl2WWppKAFsVQDXtjLbbhXQf0d7BAGeu 9lKdk+XIv9v3WYTTRkbnGEi8yNVAeW7JtBpDu1mVkFdb5zxZLzncp87S2UOBaj14cxss V0ZbiiEF0brC9PI4JrJZ3IgEC0qyWDw8fRek8xBPy7BFvkFM7BP9Y4u/f88fPi1LxNi9 e5a9qdPLqZQ58VzpKvej3M7W+3TgH0pnx0C+s8aj2qkxIBKPIiJALebw6jn/0LiRIC/+ xrCBTW5rMDqcR2XNbu+O99Y5vBy2VJB7k0VTpXOLvyad/bYobHRRjvUdw38tP1YVluvg W8LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/KflUoNsIw6sUg2Erl+ljEDs/mMBqaFoqLSyGE81NjM=; b=qMVV9dLlRwVMzGTA3ZjKgRDk7ZbzYuT3XKOzBHlXnv5qJbqNrPGYbsQ9KxeCTaTq65 QjRQZHO6zvQddhvwBgtC77Go9CUBba4hkqzYbGj5OihICe5ZLJ5Col9ncfk7cLBmxYb/ +eoiO8HkXXx3SR9E/D7MaJFrGHkFkHdGA31yadO9F1T0sQFwK1IgDzGtWET4W2fpMm+e 8IIHCkvy8LNOwLl0A9cTGZO957S/k4U+YcF5fy/qCpe8+DexLuBaqZFRh0szN/QqrsTl VvB/93/unr1FWzvMVZ/JUby8ogg7haTGmToeW7jemg7DtJOsdbLEMNAAI7rtO5houY0i Zx6A== X-Gm-Message-State: AFqh2koswQsnAIsbi/3HGQtsjGcPDAZyAPyikUTtHPngL/SlYwCtkmqK gBzqzTy+gEez397OTlnIwRCnvrIsIpa+YXOe X-Google-Smtp-Source: AMrXdXuPQVRNEiooxIYIetgvb8N1dKYMafZIDQ/L0u3ihWKhiM+oXn4ryVaH2ZM//l2DCyQqzc1Mog== X-Received: by 2002:a05:6214:4947:b0:52e:6f33:ec2 with SMTP id pe7-20020a056214494700b0052e6f330ec2mr94372471qvb.31.1673469897741; Wed, 11 Jan 2023 12:44:57 -0800 (PST) Received: from localhost.localdomain (dsl-159-79.b2b2c.ca. [66.158.159.79]) by smtp.gmail.com with ESMTPSA id y15-20020a05620a0e0f00b006f7ee901674sm9581862qkm.2.2023.01.11.12.44.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Jan 2023 12:44:57 -0800 (PST) From: Maxim Cournoyer Date: Wed, 11 Jan 2023 15:44:28 -0500 Message-Id: <20230111204433.15305-7-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230111204433.15305-1-maxim.cournoyer@gmail.com> References: <20230111204433.15305-1-maxim.cournoyer@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=LpwKf0iq; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673469926; a=rsa-sha256; cv=none; b=IhS5MV2CeIbQCd9YL0lSpG9Ryo1BGApndfPcMgPYo8iZJdQa19dziceLWZKhQ1LcTxYiZ6 AvJx80yX9DZeBYXuYoaUD4v+GrlCh8txbIishz9r7fswBplmI5Hx4rBbxBtct/DEfUDTHs 94PKcDlFQvPYKkrBYZw1rF7xE79T5dyk5QVCFrOTKe69SqDU12HFHAJ45bK8WGYki4C2Vt 5c74eHbzVhDEbppXsHs+KiTi/Y+2epOdb2mMuueUwjsGEtcGqHGBELUHHX6ajp2q+jfd3F WZooivOMlWNWxeErIrWv5UAkbXnip7et7HP4AquKf5LJKKS8iEb0tCMyMMfGpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673469926; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=/KflUoNsIw6sUg2Erl+ljEDs/mMBqaFoqLSyGE81NjM=; b=ntcbxmxPsptvWc7xhfFWpkHNlnC5uGDlqkd6QbU/6D6/lHdakwNUK6rCPEcItYefP8Vhsl L8T2lK5fBppgx6Zof1Z0dlgBAlQ3Ki+8CMd/DwGaXQBPUL3ndn+agK5VSF49EK8Z7u98TA 7y9yJUPROyL0SLmtMy/G1OWDIYtLgCpYZk8M8JLEaW2wP2xu4lNXzCAm91gOmBiEmwkm8Y jUOr7PcVsc5DP5dB3nHsqW0VZyjgFo4l5PhX50H2ZYegU4VQc2MArBN8G0yqRwvEGLVFkq ig3BV19MAjpMhXWRihN9P4qTS+aoCopLzXy1LnXrnHBV4SdkdVE5FKXmk/rNQw== X-Migadu-Queue-Id: 18E9723122 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=LpwKf0iq; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-Migadu-Spam-Score: -0.60 X-Spam-Score: -0.60 X-TUID: efW6fDP7tcxG * gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package) [phases] {set-environment}: Replace bl31.bin with bl31.elf; bl31.elf doesn't exist anymore for some reason. [native-inputs]: Turn into... [inputs]: ... this. --- Changes in v4: - Revert erroneously replaced firmware package - Revert bl31.bin -> bl31.elf change caused by the above - Make the arm-trusted-firmware-sun50i-a64 a host input gnu/packages/bootloaders.scm | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 87d5bcb824..0c5205fa86 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -1010,17 +1010,13 @@ (define*-public (make-u-boot-sunxi64-package board triplet (arguments (substitute-keyword-arguments (package-arguments base) ((#:phases phases) - `(modify-phases ,phases - (add-after 'unpack 'set-environment - (lambda* (#:key native-inputs inputs #:allow-other-keys) - (let ((bl31 - (string-append - (assoc-ref (or native-inputs inputs) "firmware") - "/bl31.bin"))) - (setenv "BL31" bl31)))))))) - (native-inputs - `(("firmware" ,arm-trusted-firmware-sun50i-a64) - ,@(package-native-inputs base)))))) + #~(modify-phases #$phases + (add-after 'unpack 'set-environment + (lambda* (#:key native-inputs inputs #:allow-other-keys) + (setenv "BL31" (search-input-file inputs "bl31.bin")))))))) + (inputs + (modify-inputs (package-inputs base) + (append arm-trusted-firmware-sun50i-a64)))))) (define-public u-boot-pine64-plus (make-u-boot-sunxi64-package "pine64_plus" "aarch64-linux-gnu")) -- 2.38.1