guix-devel
[Top][All Lists]
Advanced

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

Re: Guix on the ASUS C201PA


From: Ludovic Courtès
Subject: Re: Guix on the ASUS C201PA
Date: Sat, 23 Mar 2019 17:33:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hi Vagrant,

Vagrant Cascadian <address@hidden> skribis:

> There's a FIXME for properly fetching the veyron kernel configuration,
> but otherwise it's looking almost like something worth formally
> submitting... ?

It looks like it!  Mark, could you comment on this patch, in particular
the ‘kernel-config-veyron’ bit (see below)?  Danny is fine with it.  :-)

It’s great that you managed to simplify this.  Then I guess we could add
the example and other useful bits that Timothy had.

Thank you,
Ludo’.

> From d521904a25ea6146a0641c0929cdb5ac5f486cc8 Mon Sep 17 00:00:00 2001
> From: Vagrant Cascadian <address@hidden>
> Date: Mon, 18 Mar 2019 03:24:05 +0000
> Subject: [PATCH] gnu: Add linux-libre-arm-veyron.
>
> * gnu/packages/linux.scm (linux-libre-arm-veyron): New variable.
>   FIXME: Merge with "kernel-config"...
>   (kernel-config-veyron): Add function to find veyron kernel config.
> * gnu/packages/aux-files/linux-libre/5.0-arm-veyron.conf
> * Makefile.am (AUX_FILES): Adjust accordingly.

[...]

> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -253,6 +253,15 @@ for ARCH and optionally VARIANT, or #f if there is no 
> such configuration."
>           (file (string-append "linux-libre/" name)))
>      (search-auxiliary-file file)))
>  
> +;; FIXME: Merge with "kernel-config"
> +(define* (kernel-config-veyron arch #:key variant)
> +  "Return the absolute file name of the Linux-Libre build configuration file
> +for ARCH and optionally VARIANT, or #f if there is no such configuration."
> +  (let* ((name (string-append (if variant (string-append variant "-") "")
> +                              (if (string=? "i386" arch) "i686" arch) 
> "-veyron.conf"))
> +         (file (string-append "linux-libre/" name)))
> +    (search-auxiliary-file file)))
> +
>  (define %default-extra-linux-options
>    `(;; https://lists.gnu.org/archive/html/guix-devel/2014-04/msg00039.html
>      ("CONFIG_DEVPTS_MULTIPLE_INSTANCES" . #t)
> @@ -471,6 +480,15 @@ It has been modified to remove all non-free binary 
> blobs.")
>                      #:defconfig "multi_v7_defconfig"
>                      #:extra-version "arm-generic"))
>  
> +(define-public linux-libre-arm-veyron
> +  (make-linux-libre %linux-libre-version
> +                    %linux-libre-hash
> +                    '("armhf-linux")
> +                    #:patches %linux-libre-5.0-patches
> +                    ;; #:configuration-file (search-auxiliary-file 
> "/linux-libre/5.0-arm-veyron.conf")
> +                    #:configuration-file kernel-config-veyron
> +                    #:extra-version "arm-veyron"))
> +
>  (define-public linux-libre-arm-generic-4.19
>    (make-linux-libre %linux-libre-4.19-version
>                      %linux-libre-4.19-hash



reply via email to

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