unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#18068: LINUX_MODULE_DIRECTORY needs trailing slash
@ 2014-07-21  4:37 Mark H Weaver
  2014-07-21 16:12 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Mark H Weaver @ 2014-07-21  4:37 UTC (permalink / raw)
  To: 18068

'module-init-tools' (with our patch) assumes that LINUX_MODULE_DIRECTORY
ends with a trailing slash.  However, 'udev-service' sets
LINUX_MODULE_DIRECTORY to "/run/booted-system/kernel/lib/modules".

One option would be to add a trailing slash:

--8<---------------cut here---------------start------------->8---
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -488,7 +488,7 @@ passed to @command{guix-daemon}."
 
                         ;; Allow udev to find the modules.
                         (setenv "LINUX_MODULE_DIRECTORY"
-                                "/run/booted-system/kernel/lib/modules")
+                                "/run/booted-system/kernel/lib/modules/")
 
                         (let ((pid (primitive-fork)))
                           (case pid
--8<---------------cut here---------------end--------------->8---

Another option would be to change module-init-tools-moduledir.patch to
cope with the lack of a trailing slash.

Thoughts?

    Thanks,
      Mark

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-23 20:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-21  4:37 bug#18068: LINUX_MODULE_DIRECTORY needs trailing slash Mark H Weaver
2014-07-21 16:12 ` Ludovic Courtès
2014-07-23  2:22   ` Mark H Weaver
2014-07-23 17:10     ` Ludovic Courtès
2014-07-23 19:53       ` Mark H Weaver
2014-07-23 20:28         ` Ludovic Courtès

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).