guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 12/17] gnu: make-linux-libre: Add extra-version parameter.


From: Ludovic Courtès
Subject: Re: [PATCH 12/17] gnu: make-linux-libre: Add extra-version parameter.
Date: Sun, 11 Sep 2016 23:32:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

David Craven <address@hidden> skribis:

> * gnu/packages/linux.scm (make-linux-libre): Add extra-version option.
> ---
>  gnu/packages/linux.scm | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index 6771bd2..f2e6887 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -274,12 +274,15 @@ for SYSTEM and optionally VARIANT, or #f if there is no 
> such configuration."
>  
>  (define* (make-linux-libre version source
>                             #:key
> +                           (extra-version #f)
>                             (configuration-file #f)
>                             (defconfig "defconfig")
>                             (additional-configuration
>                              %default-additional-kernel-configuration))
>    (package
> -    (name "linux-libre")
> +    (name (if extra-version
> +              (string-append "linux-libre-" extra-version)
> +              "linux-libre"))

s/extra-version/variant/, since it’s not something that goes to the
‘version’ field.  WDYT?

Otherwise OK.

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]