From patchwork Thu Jan 14 12:58:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vincent Legoll X-Patchwork-Id: 26359 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id A14C427BC12; Thu, 14 Jan 2021 13:00:31 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 33B5027BC11 for ; Thu, 14 Jan 2021 13:00:31 +0000 (GMT) Received: from localhost ([::1]:38114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l02Eo-0007ny-5t for patchwork@mira.cbaines.net; Thu, 14 Jan 2021 08:00:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l02EM-0007my-RF for guix-patches@gnu.org; Thu, 14 Jan 2021 08:00:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54160) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l02EM-0006Fh-Bc for guix-patches@gnu.org; Thu, 14 Jan 2021 08:00:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l02EM-0002fL-AG for guix-patches@gnu.org; Thu, 14 Jan 2021 08:00:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45859] [PATCH] gnu: genimage: Use GIT-FILE-NAME. Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Jan 2021 13:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45859 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45859@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161062915810115 (code B ref -1); Thu, 14 Jan 2021 13:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2021 12:59:18 +0000 Received: from localhost ([127.0.0.1]:37458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l02Dc-0002d4-Un for submit@debbugs.gnu.org; Thu, 14 Jan 2021 07:59:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:57918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l02DN-0002cO-1h for submit@debbugs.gnu.org; Thu, 14 Jan 2021 07:59:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l02DM-0006c3-M7 for guix-patches@gnu.org; Thu, 14 Jan 2021 07:59:00 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:44838) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l02DJ-0005la-I7 for guix-patches@gnu.org; Thu, 14 Jan 2021 07:59:00 -0500 Received: by mail-wr1-x42a.google.com with SMTP id w5so5654041wrm.11 for ; Thu, 14 Jan 2021 04:58:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nhBmVi9u0Ec4CI7JlOunLV+IBNhED9Bw5g5z2sRsy1E=; b=gZEbN1AwWJVNuyjTn3Tc0lLEJT1j21PAsv09DhjXdZg1On0Ldzm692s6oCqFvS14Ga rF87mTBXbKnYpGiyBgvxDo9dknGW8zk7nVg+hvmHUO7lc3frbJYLMhcaoF5vKVihAt9N hpZQuOAO/1kJqGG77Xx5JcJY7eVZaGdFGAxzM/EKqne/ftd2gghCy8Hw6qownUb7Bgu1 7G25bbuKewNjCwmQTwY358Dsk90hlGD3uU3WOSA0x0TQTBQckYgrvy75VJDbS4whuhU5 y/wDt2ojdiAEOpqPizZ9QpXIDejaehjYWAsMpbcDd+sN1MbF3dE2d332cuhdVaqCS1oF Ki+Q== 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:mime-version :content-transfer-encoding; bh=nhBmVi9u0Ec4CI7JlOunLV+IBNhED9Bw5g5z2sRsy1E=; b=L51T8IoEBbJVgFIz1VwM/KVC7bX4AMlgC4KdXxMn61idyLWuZhM3Piouvs7Ru9xZcW ad0UZbUvDHQ9L2e3PT8StOrdKatuv4WTt/GVPrXkUZ7/UKbqusiQIqbDdhTFQ96imicm YuJsFWvbW9djJE/kzumyHYGX5MK+Q17wh4JQa29rS+JZXEaXhmjlU4sxu4mHI2CP1vhG iKj6+pPoiOH0JMRLBlrr853jLSQDm4p7dcuv7NRET5bRAYAedcK+lWCw51jbPN+8ddnb zRd3cPHLiuTDYqfXQyIzh88Q08tghVKI62ePUlbV035Wt2feNblyPddekauERQuKUU1N rDpw== X-Gm-Message-State: AOAM531a1vm6lY3kxXrX7FiIiQVcWpgkKmMaqxxeR5AEUi+zU5Z+2LiB 3VL4tzH62C2lwk5VfgIKimH9fLs4/oY= X-Google-Smtp-Source: ABdhPJxIVh9A9U1ZH8M/UL0Koh+Sd6vqiT5N3pv0vnxPDoJ2b5yqAg771L0P14o+GMpGIO4w7tZXiA== X-Received: by 2002:adf:b257:: with SMTP id y23mr1723788wra.371.1610629136111; Thu, 14 Jan 2021 04:58:56 -0800 (PST) Received: from localhost.localdomain (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id t25sm2173630wmj.39.2021.01.14.04.58.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jan 2021 04:58:55 -0800 (PST) From: Vincent Legoll Date: Thu, 14 Jan 2021 13:58:45 +0100 Message-Id: <20210114125845.30922-1-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=vincent.legoll@gmail.com; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Cc: Vincent Legoll Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/genimage.scm (origin): Use GIT-FILE-NAME. --- gnu/packages/genimage.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/genimage.scm b/gnu/packages/genimage.scm index c9ed6258a0..bd77e4dc33 100644 --- a/gnu/packages/genimage.scm +++ b/gnu/packages/genimage.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018 Danny Milosavljevic +;;; Copyright © 2021 Vincent Legoll ;;; ;;; This file is part of GNU Guix. ;;; @@ -47,7 +48,7 @@ (uri (git-reference (url "https://github.com/pengutronix/genimage") (commit (string-append "v" version)))) - (file-name (string-append name "-" version "-checkout")) + (file-name (git-file-name name version)) (sha256 (base32 "15jmh17lvm3jw9c92bjarly7iwhmnfl322d91mprfv10ppb9ip54"))