* bug#66355: guix_defconfig options cannot be overridden in customize-linux function
@ 2023-10-05 1:34 Nathan Dehnel
2023-10-05 13:10 ` Maxim Cournoyer
0 siblings, 1 reply; 2+ messages in thread
From: Nathan Dehnel @ 2023-10-05 1:34 UTC (permalink / raw)
To: 66355
(let ((linux-package
(customize-linux
#:name name
#:linux linux
;; #:configs
;; '("CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y"
;; "CONFIG_DMA_PERNUMA_CMA=y"
;; "CONFIG_FONTS=y"
;; "CONFIG_FONT_8x16=y"
;; "CONFIG_FONT_SUN12x22=y"
;; "CONFIG_FONT_TER16x32=y")
#:defconfig
;; this defconfig contains the config options above (among others)
(local-file "defconfig-6.6")
#:configs and #:defconfig both cause this error:
Mismatching configurations in .config and
arch/arm64/configs/guix_defconfig
(("CONFIG_FRAMEBUFFER_CONSOLE_ROTATION" (#f "y")) ("CONFIG_DM
A_PERNUMA_CMA" (#f "y")) ("CONFIG_FONTS" (#f "y")) ("CONFIG_FONT_8x16"
(#f "y")) ("CONFIG_FONT_SUN12x22" (#f "y")) ("CONFIG_FONT_TER16x32
" (#f "y")))
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#66355: guix_defconfig options cannot be overridden in customize-linux function
2023-10-05 1:34 bug#66355: guix_defconfig options cannot be overridden in customize-linux function Nathan Dehnel
@ 2023-10-05 13:10 ` Maxim Cournoyer
0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2023-10-05 13:10 UTC (permalink / raw)
To: Nathan Dehnel; +Cc: 66355
Hi Nathan,
Nathan Dehnel <ncdehnel@gmail.com> writes:
> (let ((linux-package
> (customize-linux
> #:name name
> #:linux linux
> ;; #:configs
> ;; '("CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y"
> ;; "CONFIG_DMA_PERNUMA_CMA=y"
> ;; "CONFIG_FONTS=y"
> ;; "CONFIG_FONT_8x16=y"
> ;; "CONFIG_FONT_SUN12x22=y"
> ;; "CONFIG_FONT_TER16x32=y")
> #:defconfig
> ;; this defconfig contains the config options above (among others)
> (local-file "defconfig-6.6")
>
> #:configs and #:defconfig both cause this error:
>
> Mismatching configurations in .config and
> arch/arm64/configs/guix_defconfig
> (("CONFIG_FRAMEBUFFER_CONSOLE_ROTATION" (#f "y")) ("CONFIG_DM
> A_PERNUMA_CMA" (#f "y")) ("CONFIG_FONTS" (#f "y")) ("CONFIG_FONT_8x16"
> (#f "y")) ("CONFIG_FONT_SUN12x22" (#f "y")) ("CONFIG_FONT_TER16x32
> " (#f "y")))
customize-linux is very limited in that it doesn't resolve the config
inter-dependencies. So if you try to enable CONFIG_FONTS but forget to
also enable any of its required options, you'll end up in the situation
above.
I'd suggest producing a defconfig file with all the correctly resolved
dependencies using the 'make savedefconfig' or similar after modifying
the config with 'make menuconfig'.
Let me know how it goes.
--
Thanks,
Maxim
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-10-05 13:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-05 1:34 bug#66355: guix_defconfig options cannot be overridden in customize-linux function Nathan Dehnel
2023-10-05 13:10 ` Maxim Cournoyer
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).