From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: How does install-grub work? Date: Tue, 30 Aug 2016 00:14:22 +0200 Message-ID: <20160830001422.2034fef6@scratchpost.org> References: <20160829123149.0e260af6@scratchpost.org> <20160829161919.5277eb35@scratchpost.org> <20160829201656.4390d2db@scratchpost.org> <20160829205734.0b49dc92@scratchpost.org> <20160829225056.240c8d0e@scratchpost.org> <20160829235735.7e48bf1b@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beUp6-0003MN-W1 for guix-devel@gnu.org; Mon, 29 Aug 2016 18:14:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1beUp2-0007or-Na for guix-devel@gnu.org; Mon, 29 Aug 2016 18:14:31 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:53139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beUp2-0007om-GU for guix-devel@gnu.org; Mon, 29 Aug 2016 18:14:28 -0400 In-Reply-To: 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" To: David Craven Cc: guix-devel On Tue, 30 Aug 2016 00:00:35 +0200 David Craven wrote: > >> 1. Pick out your changes that are related to renaming grub to > >> bootloader and add a shim for the uboot parts. That should be enough > >> to get vm's booting. > > > Yes. Note that Ludo said that it might make sense to separate the build side (gnu/build/install.scm and gnu/build/vm.sc) from the host side (other stuff) also for the patches. > > So do you want me to take a stab at it or do you want to do it? =) If possible, it would be great if you took care about the first part. I've done all that I know how to do there and I think it should be mostly fine already. Also, most of the renaming should be straightforward anyway. Looking back, maybe I *shouldn't* have renamed anything - it's just cosmetic and makes the patch look scary :) The functionally important parts are the build-side procedure (install-u-boot), the config data objects (u-boot-configuration) and the selection logic in gnu/system.scm (*bootloader-configuration-*). It's actually no big deal. > For parts two and three I'd have to rely on you, since I don't have > access to hardware to actually test it... No problem. I have 3 ARM boards here that I can test it on. They are quite slow - so testing means ~ 3 days of waiting-for-it-to-finish-compiling. But I don't have to sit next to it and wait :) I do think that the extlinux.conf generation is finished as well. I will test it, though.