From patchwork Sat Jun 19 18:11:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danny Milosavljevic X-Patchwork-Id: 30512 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 F1E7F27BC81; Sat, 19 Jun 2021 19:12:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS 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 C276227BC78 for ; Sat, 19 Jun 2021 19:12:09 +0100 (BST) Received: from localhost ([::1]:56716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lufRw-0008GS-SI for patchwork@mira.cbaines.net; Sat, 19 Jun 2021 14:12:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lufRq-0008GI-Si for guix-patches@gnu.org; Sat, 19 Jun 2021 14:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49226) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lufRq-0000KS-Gb for guix-patches@gnu.org; Sat, 19 Jun 2021 14:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lufRq-00047u-AV for guix-patches@gnu.org; Sat, 19 Jun 2021 14:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48314] Patches to install guix system on Raspberry Pi Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Jun 2021 18:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Stefan Cc: Mark H Weaver , Leo Famulari , 48314@debbugs.gnu.org Received: via spool by 48314-submit@debbugs.gnu.org id=B48314.162412627015803 (code B ref 48314); Sat, 19 Jun 2021 18:12:02 +0000 Received: (at 48314) by debbugs.gnu.org; 19 Jun 2021 18:11:10 +0000 Received: from localhost ([127.0.0.1]:60772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lufR0-00046p-7k for submit@debbugs.gnu.org; Sat, 19 Jun 2021 14:11:10 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:52622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lufQy-00046e-0V for 48314@debbugs.gnu.org; Sat, 19 Jun 2021 14:11:09 -0400 Received: from localhost (84-115-233-88.cable.dynamic.surfer.at [84.115.233.88]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 3443533656BF; Sat, 19 Jun 2021 20:11:05 +0200 (CEST) Date: Sat, 19 Jun 2021 20:11:03 +0200 From: Danny Milosavljevic Message-ID: <20210619201103.69502840@scratchpost.org> In-Reply-To: <53799D56-08BA-401A-BC09-81BA61736AAC@vodafonemail.de> References: <19E4796A-B0DB-444F-8773-2E8D3EF6132D@vodafonemail.de> <53799D56-08BA-401A-BC09-81BA61736AAC@vodafonemail.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi Stefan, Thanks! Pushed 05-gnu-linux-correct-name-of.patch to guix master as commit b04cba9ee533945f90ffd72637f064c60188f945. (I've also started testing the other patches of this patchset, but it will take a while) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 84ea849108..51e692a8c3 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -749,9 +749,9 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration." (define* (make-linux-libre version hash-string supported-systems #:key + (extra-version #f) ;; A function that takes an arch and a variant. ;; See kernel-config for an example. - (extra-version #f) (configuration-file #f) (defconfig "defconfig") (extra-options %default-extra-linux-options) @@ -770,9 +770,9 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration." (define* (make-linux-libre* version source supported-systems #:key + (extra-version #f) ;; A function that takes an arch and a variant. ;; See kernel-config for an example. - (extra-version #f) (configuration-file #f) (defconfig "defconfig") (extra-options %default-extra-linux-options)) @@ -838,7 +838,8 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration." (format #t "`CROSS_COMPILE' set to `~a'~%" (getenv "CROSS_COMPILE")))) - (setenv "EXTRA_VERSION" ,extra-version) + (setenv "EXTRAVERSION" ,(and extra-version + (string-append "-" extra-version))) (let ((build (assoc-ref %standard-phases 'build)) (config (assoc-ref (or native-inputs inputs) "kconfig")))