From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#21224: guix system init --no-grub doesn't work Date: Sun, 09 Aug 2015 13:17:30 -0400 Message-ID: <87egjcqt3p.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49660) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOUFY-0007hc-50 for bug-guix@gnu.org; Sun, 09 Aug 2015 13:19:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZOUFS-0004GO-Th for bug-guix@gnu.org; Sun, 09 Aug 2015 13:19:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOUFS-0004GK-Pz for bug-guix@gnu.org; Sun, 09 Aug 2015 13:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZOUFS-00017j-7U for bug-guix@gnu.org; Sun, 09 Aug 2015 13:19:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49483) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOUEM-0007AY-8o for bug-guix@gnu.org; Sun, 09 Aug 2015 13:17:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZOUEG-0003Pu-Ox for bug-guix@gnu.org; Sun, 09 Aug 2015 13:17:54 -0400 Received: from world.peace.net ([50.252.239.5]:45863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOUEG-0003Pk-Kr for bug-guix@gnu.org; Sun, 09 Aug 2015 13:17:48 -0400 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 21224@debbugs.gnu.org I'm in the early stages of adding GuixSD for the Lemote Yeeloong, and so for now would like to avoid getting grub working on the Yeeloong. So, I tried running "guix system init config.scm /target --no-grub", and this is what happens: /gnu/store/...-system initializing operating system under '/target'... guix system: error: build failed: path `/gnu/store/...-grub.cfg' is not valid In the 'install' procedure in (guix scripts system), I tried changing: (maybe-copy grub.cfg) to: (mwhen grub? (maybe-copy grub.cfg)) and then the command works, but almost nothing gets copied to /target. In retrospect, this makes sense: as the comment says, the installer works by copying the *closure* of grub.cfg. However, it fails when --no-grub is passed, apparently because grub.cfg was not built. Mark