From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: Guix with U-Boot Date: Mon, 29 Aug 2016 20:16:56 +0200 Message-ID: <20160829201656.4390d2db@scratchpost.org> References: <20160822132018.19828-1-david@craven.ch> <20160822132018.19828-6-david@craven.ch> <20160827104228.5db67f6a@scratchpost.org> <20160829123149.0e260af6@scratchpost.org> <20160829161919.5277eb35@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]:58917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beR7L-0006iX-18 for guix-devel@gnu.org; Mon, 29 Aug 2016 14:17:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1beR7F-00059V-OK for guix-devel@gnu.org; Mon, 29 Aug 2016 14:17:06 -0400 Received: from dd1012.kasserver.com ([85.13.128.8]:37680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1beR7F-00059O-HD for guix-devel@gnu.org; Mon, 29 Aug 2016 14:17:01 -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 If I forgot any other things, see my working copy http://www.scratchpost.org/software/Guix/guix.tar.gz - warning: there be dragons. The existing files that I touched for U-Boot are: ./gnu/build/vm.scm ; initialize-hard-disk has a key #:grub.cfg ./gnu/build/install.scm ; actual invocation of grub-install is here ./gnu/system/vm.scm ; qemu-image has a key #:grub-configuration; source file hardcodes grub package (?) ./gnu/system/install.scm ; references grub package "mostly so xrefs to its manual work" ./gnu/system.scm ; needs to be adapted ./guix/scripts/system.scm ; install-grub* needs to be generalized ./gnu.scm ; %public-modules grub for grub-configuration Probably not: ./tests/system.scm ; harmless, just uses grub-configuration ./build-aux/hydra/demo-os.scm ; harmless, just uses grub-configuration And the new files are called u-boot* I also did this - although usually I'm against magically appearing symbols: diff --git a/gnu.scm b/gnu.scm index 932e4cd..9207e38 100644 --- a/gnu.scm +++ b/gnu.scm @@ -35,6 +35,7 @@ (gnu system mapped-devices) (gnu system file-systems) (gnu system grub) ; 'grub-configuration' + (gnu system u-boot) ; 'u-boot-configuration' (gnu system pam) (gnu system shadow) ; 'user-account' (gnu system linux-initrd)