unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: 白い熊 <help-guix_gnu.org@sumou.com>
To: GNU Guix help <help-guix@gnu.org>
Subject: Re: GRUB theming - background
Date: Tue, 7 Apr 2020 20:06:48 +0000 (UTC)	[thread overview]
Message-ID: <6fa7cc43-6136-4611-8d05-9fa046e5f186@localhost> (raw)
In-Reply-To: <87ftdfp0k0.fsf@nckx>

Apr 7, 2020 21:18:36 Tobias Geerinckx-Rice <me@tobias.gr>:

> OK, can you be more specific? ‘Invalid field specifier’ on its own doesn't tell us anything.
>
> I pasted my previous example into my own system.scm and it built fine:
>
> (operating-system
> …
> (bootloader (bootloader-configuration
> (bootloader grub-efi-bootloader)
> (target "/boot/efi")
> (theme (grub-theme
> ;; This probably makes little sense in practice,
> ;; unless your image suits the default colours:
> (inherit %default-theme)
> (images (list (grub-image
> (aspect-ratio 4/3)
> (file (local-file "/home/…")))))))
> (timeout (seconds 1)))
> …)
>
> What does your operating-system's (bootloader …) field look like, and what did Guix actually say?

I'm sorry, Tobias, I was mistaken — I thought it had to go in the “(grub-configuration” section under “(bootloader”. Thanks for posting your config — I saw the mistake.

Anyhow, now “system reconfigure” still won't finish.

With the bootloader section like:

(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")))

… it reconfigures fine.

If I change to:

(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(target "/dev/sda")
(theme (grub-theme
(inherit %default-theme)
(images (list (grub-image
(aspect-ratio 4/3) ; or 16/9, &c., to match…
(file (local-file "/home/shiroikuma/0/pictures/grub/gnu-grub.jpg")))))))))

… the reconfigure fails with:

substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
/gnu/store/sn21yqw850b1kwlqkph9pkzl5wkdhcb7-system.drv
/gnu/store/m5rlvm9c15k0z89yk3af2786kfpwm07g-provenance.drv
/gnu/store/f6pnyki0nigyxkx0kg4jir7jds1l175m-grub.cfg.drv
/gnu/store/z2b3prcifgswnc00ybvan9s65prky1lv-grub-image.png.drv
building /gnu/store/z2b3prcifgswnc00ybvan9s65prky1lv-grub-image.png.drv...
\builder for `/gnu/store/z2b3prcifgswnc00ybvan9s65prky1lv-grub-image.png.drv' failed with exit code 1
build of /gnu/store/z2b3prcifgswnc00ybvan9s65prky1lv-grub-image.png.drv failed
View build log at '/var/log/guix/drvs/z2/b3prcifgswnc00ybvan9s65prky1lv-grub-image.png.drv.bz2'.
cannot build derivation `/gnu/store/f6pnyki0nigyxkx0kg4jir7jds1l175m-grub.cfg.drv': 1 dependencies couldn't be built
guix system: error: build of `/gnu/store/f6pnyki0nigyxkx0kg4jir7jds1l175m-grub.cfg.drv' failed

The build log contains:

Backtrace:
2 (primitive-load "/gnu/store/8xhx6nv3dy9y1gkpn1884bwclvj?")
In gnu/build/svg.scm:
46:4 1 (svg->png "/gnu/store/srr4fpapz69jz4p5y0f8b81iyf8spsrj?" ?)
In unknown file:
0 (rsvg-handle-new-from-file "/gnu/store/srr4fpapz69jz4p5?")

ERROR: In procedure rsvg-handle-new-from-file:
Throw to key `rsvg-error' with args `("rsvg-handle-new-from-file" "" () ())'.

Thanks for helping. :@)

-- 
Best regards / 宜しく御願い致します / S pozdravem / C уважением / Z poważaniem /
Mit freundlichen Grüßen
白い熊

  reply	other threads:[~2020-04-07 20:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-07 16:48 GRUB theming - background 白い熊
2020-04-07 17:39 ` Tobias Geerinckx-Rice
2020-04-07 17:58   ` 白い熊
2020-04-07 19:18     ` Tobias Geerinckx-Rice
2020-04-07 20:06       ` 白い熊 [this message]
2020-04-09 15:08         ` 白い熊
2020-04-14 10:18           ` ison
2020-04-16 16:06             ` 白い熊
2020-09-12 14:53               ` 白い熊
2020-09-14 21:27                 ` Joshua Branson
2020-09-15  5:39                   ` 白い熊
2020-09-15 17:07                     ` Joshua Branson
  -- strict thread matches above, loose matches on Subject: below --
2020-09-15  6:13 Stefan

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=6fa7cc43-6136-4611-8d05-9fa046e5f186@localhost \
    --to=help-guix_gnu.org@sumou.com \
    --cc=help-guix@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.
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).