all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: 30825@debbugs.gnu.org
Subject: bug#30825: Building disk-image fails
Date: Thu, 15 Mar 2018 16:14:16 +0100	[thread overview]
Message-ID: <20180315151416.GA4969@jurong> (raw)
In-Reply-To: <20180315133724.GA1967@jurong>

[-- Attachment #1: Type: text/plain, Size: 339 bytes --]

I am attaching my configuration file as passed to
   ./pre-inst-env guix system disk-image lime.scm
I am trying to create a GuixSD image to be run on the Olimex Lime system.

When I comment out the line "initrd" (since the module does not exist
on x86_64), a disk image is created on x86_64.

What could I do to help debug this?

Andreas


[-- Attachment #2: lime.scm --]
[-- Type: text/plain, Size: 1308 bytes --]

(use-modules (gnu) (gnu bootloader u-boot))
(use-service-modules audio networking ssh)
(use-package-modules screen ssh)

(operating-system
  (host-name "my-mpd-server")
  (timezone "Europe/Berlin")
  (locale "en_US.utf8")
  (bootloader (bootloader-configuration
               (bootloader u-boot-a20-olinuxino-lime-bootloader)
               (target "/dev/sda")))
  (initrd (lambda (fs . rest)
            (apply base-initrd fs
                   ;; This module is required to mount the sd card.
                   #:extra-modules (list "omap_hsmmc")
                   rest)))
  (file-systems (cons (file-system
                        (device "my-root")
                        (title 'label)
                        (mount-point "/")
                        (type "ext4"))
                      %base-file-systems))
  (users (cons (user-account
                (name "mpd")
                (group "users")
                (home-directory "/home/mpd"))
               %base-user-accounts))
  (services (cons* (dhcp-client-service)
                   (agetty-service
                    (agetty-configuration
                     (extra-options '("-L"))
                     (baud-rate "115200")
                     (term "vt100")
                     (tty "ttyO0")))
                   %base-services)))


  reply	other threads:[~2018-03-15 15:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-15 13:37 bug#30825: Building disk-image fails Andreas Enge
2018-03-15 15:14 ` Andreas Enge [this message]
2018-03-15 15:29 ` Ludovic Courtès
2018-03-15 15:58   ` Mathieu Othacehe
2018-05-01 20:28   ` Ludovic Courtès
2020-12-07  9:46 ` Mathieu Othacehe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180315151416.GA4969@jurong \
    --to=andreas@enge.fr \
    --cc=30825@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.