GNU bug report logs - #32167
Kernel 'build' directory in the store is a broken symbolic link

Previous Next

Package: guix;

Reported by: <pkill9 <at> runbox.com>

Date: Sun, 15 Jul 2018 20:09:02 UTC

Severity: normal

Done: Sarah Morgensen <iskarian <at> mgsn.dev>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nils Gillmann <ng0 <at> n0.is>
To: pkill9 <at> runbox.com
Cc: Mark H Weaver <mhw <at> netris.org>, 32167 <at> debbugs.gnu.org
Subject: bug#32167: Kernel 'build' directory in the store is a broken symbolic link
Date: Sun, 15 Jul 2018 21:32:53 +0000
pkill9 <at> runbox.com transcribed 94 bytes:
> /run/booted-system/kernel/lib/modules/<kernel version>/build is a broken symbolic link.

Yep. This is not a bug until it comes to what you are possibly trying to attempt,
build a software which relies on your *current* kernel sources.

For a solution I can point to the Nix package for linux, where they deal with this
within the kernel package, for firmware and more. Because I'm short on time these
days I haven't sent a patch yet but I can confirm the issues you probably ran into
as I had them many months back already.

Mark, you are mostly responsible for the linux module in Guix.

Besides my own notes, this was relevant:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/manual-config.nix#L161




This bug report was last modified 3 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.