unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21224: guix system init --no-grub doesn't work
@ 2015-08-09 17:17 Mark H Weaver
  2015-08-10 14:44 ` Alex Kost
  2015-08-23 18:46 ` Mark H Weaver
  0 siblings, 2 replies; 5+ messages in thread
From: Mark H Weaver @ 2015-08-09 17:17 UTC (permalink / raw)
  To: 21224

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-11-02 22:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-09 17:17 bug#21224: guix system init --no-grub doesn't work Mark H Weaver
2015-08-10 14:44 ` Alex Kost
2015-08-23 18:46 ` Mark H Weaver
2015-08-25 13:50   ` Ludovic Courtès
2015-11-02 22:54   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).