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: Sun, 05 Apr 2015 22:50:15 +0200 Message-ID: <87lhi6b8qg.fsf@gnu.org> References: <87iodb4qk2.fsf@pobox.com> 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]:32927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YerUt-0001ZW-J5 for guix-devel@gnu.org; Sun, 05 Apr 2015 16:50:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YerUq-0001IB-EQ for guix-devel@gnu.org; Sun, 05 Apr 2015 16:50:23 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YerUq-0001I7-CF for guix-devel@gnu.org; Sun, 05 Apr 2015 16:50:20 -0400 In-Reply-To: <87iodb4qk2.fsf@pobox.com> (Andy Wingo's message of "Sat, 04 Apr 2015 21:54:53 +0200") 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: Andy Wingo Cc: guix-devel@gnu.org Andy Wingo skribis: > From 1dbdc673654f94868b0176876dd83fb8b5bfe68c Mon Sep 17 00:00:00 2001 > From: Andy Wingo > Date: Fri, 3 Apr 2015 12:25:26 +0200 > Subject: [PATCH 1/3] Allow specification of #:linux kernel when making an > initrd > > * gnu/system/linux-initrd.scm (base-initrd): Add #:linux option to > specify the linux kernel to use. > * gnu/system/vm.scm (expression->derivation-in-linux-vm): Propagate > #:linux to base-initrd. > (system-qemu-image, virtualized-operating-system): Delegate to the > wrapped OS object's initrd builder, to allow the OS to specify the > kernel. I=E2=80=99ve applied the patch with a slight difference: #:linux is systematically passed from =E2=80=98operating-system-initrd-file=E2=80=99, = as is done for mapped devices. Thanks! Ludo=E2=80=99.