GNU bug report logs -
#70433
customize-kernel does not accept inferior package
Previous Next
To reply to this bug, email your comments to 70433 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#70433
; Package
guix
.
(Wed, 17 Apr 2024 08:22:04 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ricardo Wurmus <rekado <at> elephly.net>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 17 Apr 2024 08:22:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Especially on underpowered aarch64 systems with custom kernels it may be
desirable to avoid rebuilding the kernel on "guix deploy" or "guix
system reconfigure". It's possible to use an inferior to pin the kernel
to a known good version.
Unfortunately, this doesn't work when attempting to customize the kernel
with "customize-kernel" as that procedure doesn't accept an inferior as
an input package.
--
Ricardo
Information forwarded
to
bug-guix <at> gnu.org
:
bug#70433
; Package
guix
.
(Wed, 17 Apr 2024 08:39:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 70433 <at> debbugs.gnu.org (full text, mbox):
Ricardo Wurmus <rekado <at> elephly.net> writes:
> Especially on underpowered aarch64 systems with custom kernels it may be
> desirable to avoid rebuilding the kernel on "guix deploy" or "guix
> system reconfigure". It's possible to use an inferior to pin the kernel
> to a known good version.
>
> Unfortunately, this doesn't work when attempting to customize the kernel
> with "customize-kernel" as that procedure doesn't accept an inferior as
> an input package.
"customize-kernel" works by inheriting from a base package. It then
augments the arguments.
Inheriting from an inferior package does not work, though. Nor is there
a procedure to obtain the arguments of an inferior package. The naïve
approach of simply defining inferior-package-arguments fails:
--8<---------------cut here---------------start------------->8---
(define (inferior-package-arguments package)
"Return the arguments field of PACKAGE."
(inferior-package-field package 'package-arguments))
...
(inferior-package-arguments linux-libre-arm64-generic/fixed)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
socket:20:156: Unknown # object: "#<"
--8<---------------cut here---------------end--------------->8---
--
Ricardo
This bug report was last modified 1 year and 56 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.