[Top][All Lists]

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

[bug#37868] [PATCH v8] system: Add kernel-module-packages to operating-s

From: Ludovic Courtès
Subject: [bug#37868] [PATCH v8] system: Add kernel-module-packages to operating-system.
Date: Sun, 15 Mar 2020 22:02:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)


Danny Milosavljevic <address@hidden> skribis:

> The only part I'm still unsure about is:
>                           ;; TODO: system, target.
>                           (profile-derivation
>                            (packages->manifest
>                             (cons kernel modules))
>                            #:hooks (list linux-module-database)
>                            #:locales? #f
>                            #:allow-collisions? #f
>                            #:relative-symlinks? #t))
> Will Guix do the derivation (especially the invocation of depmod) for the
> intended system and target?

I would just write a test OS definition, and then run:

  ./pre-inst-env guix system build test.scm -nd -s armhf-linux

>From there, you can inspect the ‘linux-module-database’ derivation,
check its system type, and check the kmod referred to in its “-builder”
file (is it the file name of the armhf-linux kmod?).

Likewise for cross-compilation.



reply via email to

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