[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: custom kernel config
From: |
Ludovic Courtès |
Subject: |
Re: custom kernel config |
Date: |
Mon, 08 Apr 2019 16:52:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hello,
Efraim Flashner <address@hidden> skribis:
> title: Creating and using a custom Linux kernel on Guix System
> date: 2019-04-04 00:00
> author: Efraim Flashner
> tags: kernel, customization
Really nice!
> (define-public linux-libre-E2140
> (let ((base
> ((@@ (gnu packages linux) make-linux-libre)
> (@@ (gnu packages linux) %linux-libre-version)
> (@@ (gnu packages linux) %linux-libre-hash)
> '("x86_64-linux")
> #:extra-version "E2140"
> #:patches (@@ (gnu packages linux) %linux-libre-5.0-patches))))
Could we make all ‘make-linux-libre’ public to avoid the @@ there?
Otherwise it’s a bit scary, and not something we could recommend since
we’re accessing private variables.
As for %linux-libre-{version,hash}, what about simply doing:
(package-version linux-libre)
and:
(origin-sha256 (package-source linux-libre))
Likewise for the patches:
(origin-patches (package-source linux-libre))
With this detail fixed, I’m all for publishing it!
Thanks for taking the time to write this!
Ludo’.
- Re: custom kernel config, (continued)
- Re: custom kernel config, Ludovic Courtès, 2019/04/01
- Re: custom kernel config, Chris Marusich, 2019/04/03
- Re: custom kernel config, Efraim Flashner, 2019/04/03
- Re: custom kernel config, Pierre Neidhardt, 2019/04/03
- Re: custom kernel config, Efraim Flashner, 2019/04/03
- Re: custom kernel config, Chris Marusich, 2019/04/04
- Re: custom kernel config, Efraim Flashner, 2019/04/07
- Re: custom kernel config, Pierre Neidhardt, 2019/04/07
- Re: custom kernel config,
Ludovic Courtès <=
- Re: custom kernel config, Pierre Neidhardt, 2019/04/08