guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Kernel Configuration


From: Ludovic Courtès
Subject: Re: [PATCH] Kernel Configuration
Date: Thu, 25 Sep 2014 00:05:36 +0200
User-agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux)

"Jason Self" <address@hidden> skribis:

> Hello, I wanted to make sure that I was doing this correctly before
> committing anything. It seems that it's best to have all of the
> kernel's config stuff centrally located. Plus, all of these are
> already enabled in the normal config,

If we are sure there are no changes for these options, this is fine with
me (the current settings are relied on by (gnu system vm).)

> and I'd argue in a better way.  For example: CONFIG_VIRTIO_BLK should
> be built in, not a module. Doing it as a module can cause difficulties
> when running in a VM in some cases and the normal config already has
> it as a built-in.

It doesn’t cause any problems in practice: the #:virtio? parameter of
‘base-initrd’ makes sure that module is loaded early (see
gnu/system/linux-initrd.scm.)

Furthermore I would rather keep CONFIG_VIRTIO_BLK=m rather than =y
precisely because that module only makes sense when running a QEMU
guest and not otherwise.

WDYT?

> From aec034aab287ce3ba84139be6f773d0a6144f2f1 Mon Sep 17 00:00:00 2001
> From: Jason Self <address@hidden>
> Date: Wed, 24 Sep 2014 11:37:37 -0700
> Subject: [PATCH 1/1] gnu: linux-libre: Configuration options should be
>  specified in the configuration file.

Rather “gnu: linux-libre: Do not set config options in the build phase.”

> * gnu/packages/linux.scm (linux-libre): Configuration options should be 
> specified in the configuration file.

“Remove config option settings from ‘build-phase’.”

Thanks,
Ludo’.



reply via email to

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