help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GRUB theming - background


From: 白い熊
Subject: Re: GRUB theming - background
Date: Tue, 7 Apr 2020 20:06:48 +0000 (UTC)

Apr 7, 2020 21:18:36 Tobias Geerinckx-Rice <address@hidden>:

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]