From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?55m944GE54aK?= Subject: Re: GRUB theming - background Date: Tue, 7 Apr 2020 20:06:48 +0000 (UTC) Message-ID: <6fa7cc43-6136-4611-8d05-9fa046e5f186@localhost> References: <45d15522-a4e8-4d20-8cb7-5d33687a413b@localhost> <87imibp551.fsf@nckx> <87ftdfp0k0.fsf@nckx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54832) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLuUx-0008Ls-2g for help-guix@gnu.org; Tue, 07 Apr 2020 16:07:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLuUm-0004cp-Vx for help-guix@gnu.org; Tue, 07 Apr 2020 16:07:03 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:48574) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLuUm-0004by-Sn for help-guix@gnu.org; Tue, 07 Apr 2020 16:06:52 -0400 Received: from 37-48-21-184.nat.epc.tmcz.cz ([37.48.21.184] helo=[127.0.0.1]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1jLuUl-0003U0-RL for help-guix@gnu.org; Tue, 07 Apr 2020 16:06:52 -0400 In-Reply-To: <87ftdfp0k0.fsf@nckx> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: GNU Guix help Apr 7, 2020 21:18:36 Tobias Geerinckx-Rice : > OK, can you be more specific? =E2=80=98Invalid field specifier=E2=80=99 o= n its own doesn't tell us anything. > > I pasted my previous example into my own system.scm and it built fine: > > (operating-system > =E2=80=A6 > (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/=E2=80=A6"))))))) > (timeout (seconds 1))) > =E2=80=A6) > > What does your operating-system's (bootloader =E2=80=A6) field look like,= and what did Guix actually say? I'm sorry, Tobias, I was mistaken =E2=80=94 I thought it had to go in the = =E2=80=9C(grub-configuration=E2=80=9D section under =E2=80=9C(bootloader=E2= =80=9D. Thanks for posting your config =E2=80=94 I saw the mistake. Anyhow, now =E2=80=9Csystem reconfigure=E2=80=9D still won't finish. With the bootloader section like: (bootloader (bootloader-configuration (bootloader grub-bootloader) (target "/dev/sda"))) =E2=80=A6 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=E2=80=A6 (file (local-file "/home/shiroikuma/0/pictures/grub/gnu-grub.jpg"))))))))) =E2=80=A6 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.dr= v' failed with exit code 1 build of /gnu/store/z2b3prcifgswnc00ybvan9s65prky1lv-grub-image.png.drv fai= led View build log at '/var/log/guix/drvs/z2/b3prcifgswnc00ybvan9s65prky1lv-gru= b-image.png.drv.bz2'. cannot build derivation `/gnu/store/f6pnyki0nigyxkx0kg4jir7jds1l175m-grub.c= fg.drv': 1 dependencies couldn't be built guix system: error: build of `/gnu/store/f6pnyki0nigyxkx0kg4jir7jds1l175m-g= rub.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. :@) --=20 Best regards / =E5=AE=9C=E3=81=97=E3=81=8F=E5=BE=A1=E9=A1=98=E3=81=84=E8=87= =B4=E3=81=97=E3=81=BE=E3=81=99 / S pozdravem / C =D1=83=D0=B2=D0=B0=D0=B6= =D0=B5=D0=BD=D0=B8=D0=B5=D0=BC / Z powa=C5=BCaniem / Mit freundlichen Gr=C3=BC=C3=9Fen =E7=99=BD=E3=81=84=E7=86=8A