From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] Allow building other kernels Date: Mon, 06 Apr 2015 00:28:30 +0200 Message-ID: <878ue69pm9.fsf@gnu.org> References: <87iodb4qk2.fsf@pobox.com> <87d23i48rv.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yet1y-0002uv-3V for guix-devel@gnu.org; Sun, 05 Apr 2015 18:28:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yet1t-0001Si-JX for guix-devel@gnu.org; Sun, 05 Apr 2015 18:28:38 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yet1t-0001Se-HN for guix-devel@gnu.org; Sun, 05 Apr 2015 18:28:33 -0400 In-Reply-To: <87d23i48rv.fsf@netris.org> (Mark H. Weaver's message of "Sun, 05 Apr 2015 16:31:16 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Mark H Weaver Cc: Andy Wingo , guix-devel@gnu.org Mark H Weaver skribis: > Andy Wingo writes: > >> To use a different kernel, for example do: >> >> (kernel linux-mine) >> >> (initrd (lambda (file-systems . rest) >> (apply base-initrd file-systems >> #:linux linux-mine >> rest))) > > It would be great if users could specify a custom kernel without having > to override the default value of 'initrd' like this. I suppose this > could be arranged by passing #:linux (operating-system-kernel os) in > every call of the initrd procedure. > > What do you think? Ludovic? (Our messages crossed.) Agreed, and this is why 0d275f4 does things slightly differently compared to the original patch. Ludo=E2=80=99.