all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: Pierre Neidhardt <mail@ambrevar.xyz>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Packaging CDEmu and VHBA kernel module
Date: Sun, 14 Apr 2019 19:23:08 +0200	[thread overview]
Message-ID: <20190414192308.7330f62f@scratchpost.org> (raw)
In-Reply-To: <87wojwa4si.fsf@ambrevar.xyz>

[-- Attachment #1: Type: text/plain, Size: 833 bytes --]

Hi Pierre,

On Sun, 14 Apr 2019 19:13:33 +0200
Pierre Neidhardt <mail@ambrevar.xyz> wrote:

> Could we configure a service that automatically inserts the kernel
> module and sets up the right udev rule?  Danny?

Probably, but that's not the official way to do those things in modern Linux.

Linux is supposed to automatically load modules it needs (if it needs them
and they are indeed built as a module) on first access of the device file.

So we'd have to extend the generator of /run/booted-system/kernel/lib/modules
in guix to take a list of packages and union those, put the result in the
directory mentioned here and run depmod on it.

I have no idea where that generator is in guix. 

In order to set up udev, just add an udev service-extension in your service
(see gnu/services/sane.scm for an example).

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2019-04-14 17:23 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-12 22:48 Packaging CDEmu and VHBA kernel module Pierre Neidhardt
2019-02-14 10:34 ` Chris Marusich
2019-03-05 17:35   ` Pierre Neidhardt
2019-04-14 17:13     ` Pierre Neidhardt
2019-04-14 17:23       ` Danny Milosavljevic [this message]
2019-04-14 17:24       ` Pierre Neidhardt
2019-04-14 17:28         ` Pierre Neidhardt
2019-04-14 17:31         ` Danny Milosavljevic
2019-04-14 17:57           ` Tobias Geerinckx-Rice
2019-04-14 17:39         ` Tobias Geerinckx-Rice
2019-06-23  3:06     ` Chris Marusich
2019-06-23  6:39       ` Pierre Neidhardt
2019-06-23  6:40         ` Pierre Neidhardt
2019-06-24 13:04           ` Danny Milosavljevic
2019-06-23 22:03         ` Chris Marusich
2019-06-24  7:52           ` Pierre Neidhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190414192308.7330f62f@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=guix-devel@gnu.org \
    --cc=mail@ambrevar.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.