[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Kernel config
From: |
Ludovic Courtès |
Subject: |
Re: Kernel config |
Date: |
Sun, 17 Jul 2016 19:49:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Vincent Legoll <address@hidden> skribis:
> Would the following work in the mean time ?
>
> 1. Adding the following to gnu/packages/linux.scm :
>
> (define-public linux-libre-config variant
> (package
> (inherit linux-libre)
> (native-inputs
> (let ((conf (kernel-config (or (%current-target-system)
> (%current-system))
> #:variant variant)))
> `(,@(alist-delete "kconfig" (package-native-inputs linux-libre))
> ("kconfig" ,conf))))))
This should roughly work. However, I think one can already provide
their own config file with something like:
(define-public my-own-linux-libre
(package
(inherit linux-libre)
(native-inputs
`(("kconfig" ,(local-file "./my-kernel.conf"))
,@(alist-delete "kconfig" (package-native-inputs linux-libre))))))
… which can be dropped in a file in $GUIX_PACKAGE_PATH.
It remains somewhat inconvenient, though.
WDYT?
Ludo’.
- Kernel config, Vincent Legoll, 2016/07/16
- Re: Kernel config, Vincent Legoll, 2016/07/16
- Re: Kernel config, Ricardo Wurmus, 2016/07/16
- Re: Kernel config, Vincent Legoll, 2016/07/16
- Re: Kernel config, Vincent Legoll, 2016/07/20
- Re: Kernel config, Ludovic Courtès, 2016/07/21
- Re: Kernel config, Vincent Legoll, 2016/07/21
- Re: Kernel config, Ludovic Courtès, 2016/07/21
- Re: Kernel config, Vincent Legoll, 2016/07/21
- Re: Kernel config, Vincent Legoll, 2016/07/22
- Re: Kernel config, Vincent Legoll, 2016/07/22
- Re: Kernel config, Ludovic Courtès, 2016/07/22