From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yNBsNjjExGNodgAAbAwnHQ (envelope-from ) for ; Mon, 16 Jan 2023 04:27:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WGZlNjjExGOOwgAA9RJhRA (envelope-from ) for ; Mon, 16 Jan 2023 04:27:52 +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 9C40B3922E for ; Mon, 16 Jan 2023 04:27:52 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHG9O-0000IP-2e; Sun, 15 Jan 2023 22:27:10 -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 1pHG9L-0000HU-IE for guix-patches@gnu.org; Sun, 15 Jan 2023 22:27:07 -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 1pHG9L-0005q5-Az for guix-patches@gnu.org; Sun, 15 Jan 2023 22:27:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHG9L-0007u7-6n for guix-patches@gnu.org; Sun, 15 Jan 2023 22:27:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60224] [PATCH v5 13/13] gnu: u-boot-puma-rk3399: Use gexps and fix build. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Jan 2023 03:27:07 +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.167383958430229 (code B ref 60224); Mon, 16 Jan 2023 03:27:07 +0000 Received: (at 60224) by debbugs.gnu.org; 16 Jan 2023 03:26:24 +0000 Received: from localhost ([127.0.0.1]:60078 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHG8d-0007rQ-MU for submit@debbugs.gnu.org; Sun, 15 Jan 2023 22:26:23 -0500 Received: from mail-qv1-f49.google.com ([209.85.219.49]:46825) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHG8U-0007pj-6l for 60224@debbugs.gnu.org; Sun, 15 Jan 2023 22:26:14 -0500 Received: by mail-qv1-f49.google.com with SMTP id p96so6779765qvp.13 for <60224@debbugs.gnu.org>; Sun, 15 Jan 2023 19:26:14 -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=N0sM0haOlZUXc1qzcXi0eQd/VxpLktQ3HServgQFosM=; b=qK73+VxovCkgLYsmV1tyK7vMRXNosM2JyzNnvE+8wocNa0nVEnK1PuG9SmzSbdtqga thCfoE9TdbwLRcYSZAbwLq38BvqGoibFoZboLIgM8fDrx3YbUK/hLC0xqGKAM/f1wLqC RJhaUwQ2+tXNiE9rWXqZIykJkU8unVNycUBhUmpkCuncViMYeL3eDeU4aWO+TyKLGFgC VqzoiNkvg4B8+GfEIikQNI3QrTPtLfIfGJQbX45fDdnbbKCGlpnSLekf1PVboV6v3ddT 565YB4IiwjQZaxEVTdAZ1TCfD56iVWMAjBfVhQJ3OFGPRPJ+/YqW1K0wnbLUqhfq0qyf R7Aw== 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=N0sM0haOlZUXc1qzcXi0eQd/VxpLktQ3HServgQFosM=; b=cX81U/4BrFq4a88+r9XsYfjE43CiZirCMl6Fu8SECZUwQ9b7LNUUKB1pnloQu63pv4 /ogKf31a5qvKIjqAea7n/FDvrD2sOWqWRvnjd2WAi5FfESas5hQkXB0X46aiSfcHdo6J OqstvZjMNElWYscftQj/tEFPKdr20T6lrvoEGUDKmxl1VTW1Tp73efjyL48KNRrs9XLL t8auEeqVXiUDlb2HnokZlhs4thIdRtCQAi7veelNsBmxAjFkDIkgw+9s2xARjnzAj78V rhXvP2YMZYc0Q8wfYG0qf1SCmluNgWtWT+FcyZT+QWXkjt3twWXZsuql/r9unFLFkVv6 Edgg== X-Gm-Message-State: AFqh2koCUJgw3rLW8GxBU0uaZ+g1bizyEOs08v6loUXLDAckfIqQAfIj mBbWykNufL7ZUAWfx+u3wBOR6N484URCe8U1 X-Google-Smtp-Source: AMrXdXs1QkRkKNDBBdhVH/QW17qep1FO+jwEIyUK1JDXrZaL6sZRUyH2SGLYxP71G+iADLkz0OJPBA== X-Received: by 2002:ad4:5308:0:b0:532:25ce:8ae0 with SMTP id y8-20020ad45308000000b0053225ce8ae0mr45703373qvr.10.1673839568597; Sun, 15 Jan 2023 19:26:08 -0800 (PST) Received: from localhost.localdomain (dsl-10-130-209.b2b2c.ca. [72.10.130.209]) by smtp.gmail.com with ESMTPSA id bi1-20020a05620a318100b006fb0e638f12sm17474636qkb.4.2023.01.15.19.26.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Jan 2023 19:26:08 -0800 (PST) From: Maxim Cournoyer Date: Sun, 15 Jan 2023 22:25:44 -0500 Message-Id: <20230116032544.1378-13-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230116032544.1378-1-maxim.cournoyer@gmail.com> References: <20230116032544.1378-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=qK73+Vxo; 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=1673839672; a=rsa-sha256; cv=none; b=fndmFLEm8G4F7LZi0yljDvZQK2Aary+7GrWf61ushV9zSBQU3lnQpGgMJK1I+spIq3djDK 5E//bP08SkooEkXZOZiJvOwXnAJ5M3dwTUEiS4NuVLjkigeISHzwLeU7zvlOSdsI1zzYfZ /dTmhvaA7nPJnnn44oTy5UZ5RDobNERsXXRQtFmKz3qap6ZCVR6n28fqJ5+ZLv2qiWOjy3 cU6HuU+1m9dl/eE6XLRCh0lL+4yOFBl7F/u1hLwBLDDwTXavXLAJ1Ag0koWJUmlt01WKZM NnlpXMbtUipBPGQRT+b9XMfQsugvjdvvookeUcikRtVhnBjxj1OVb4DTwAhllg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673839672; 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=N0sM0haOlZUXc1qzcXi0eQd/VxpLktQ3HServgQFosM=; b=pmACF6oXSSI1A/NAC1jITxotmHrWC1GrAEst+c7mGNB9PjWnSMpiL0xjOy0qbWrdUGcku+ ptgi6KRs+iI907QLHUczMfuPfuRgmdpiVoPCtccTWDwJPjXNP3gnJEasD8gZ/SNmv5sxGq P8F3GIurlpTbq+mZ+SnxLlJ/vFDwp7taG22xZCBdfW5KxUB31b1OEEfG4rpxyfKj07sKBV oarSZS23v8Oybx5KvCS4NPZUqv70KV5XkTueoaF7RCLLKRdEm/ZKVUQRNZJ4YUCkgyXLAI GdxLV9/gAcs6mIINslWf+0gUhkFdgHTN0ahRwxYrMwXFOxwrCFwm08nJV9e0ZA== X-Migadu-Queue-Id: 9C40B3922E 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=qK73+Vxo; 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.82 X-Spam-Score: -0.82 X-TUID: iYCHvCAaTOfk * gnu/packages/bootloaders.scm (u-boot-puma-rk3399) [arguments]: Use gexps. [native-inputs]: Turn into... [inputs]: ... this, and use modify-inputs. --- (no changes since v4) Changes in v4: - New commit gnu/packages/bootloaders.scm | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index 9da97232ea..4cf6a74022 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -1091,17 +1091,16 @@ (define-public u-boot-puma-rk3399 (arguments (substitute-keyword-arguments (package-arguments base) ((#:phases phases) - `(modify-phases ,phases - (add-after 'unpack 'set-environment - (lambda* (#:key inputs #:allow-other-keys) - (setenv "BL31" - (search-input-file inputs "/bl31.elf")))) - ;; Phases do not succeed on the bl31 ELF. - (delete 'strip) - (delete 'validate-runpath))))) - (native-inputs - `(("firmware" ,arm-trusted-firmware-rk3399) - ,@(package-native-inputs base)))))) + #~(modify-phases #$phases + (add-after 'unpack 'set-environment + (lambda* (#:key inputs #:allow-other-keys) + (setenv "BL31" (search-input-file inputs "/bl31.elf")))) + ;; Phases do not succeed on the bl31 ELF. + (delete 'strip) + (delete 'validate-runpath))))) + (inputs + (modify-inputs (package-native-inputs base) + (append arm-trusted-firmware-rk3399)))))) (define-public u-boot-qemu-riscv64 (make-u-boot-package "qemu-riscv64" "riscv64-linux-gnu")) -- 2.38.1