2013-04-13 13:09:53 +02:00
|
|
|
From: Frederic Crozat <fcrozat@suse.com>
|
|
|
|
Date: Wed, 5 Dec 2012 15:13:27 +0000
|
|
|
|
Subject: fix devname prefix
|
|
|
|
|
|
|
|
fix modules.devname path, it isn't in /usr.
|
|
|
|
---
|
|
|
|
src/udev/udevd.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2013-04-25 10:33:19 +02:00
|
|
|
Index: systemd-202/src/udev/udevd.c
|
|
|
|
===================================================================
|
|
|
|
--- systemd-202.orig/src/udev/udevd.c
|
|
|
|
+++ systemd-202/src/udev/udevd.c
|
|
|
|
@@ -824,7 +824,7 @@ static void static_dev_create_from_modul
|
2013-04-19 22:31:17 +02:00
|
|
|
return;
|
|
|
|
}
|
2013-04-13 13:09:53 +02:00
|
|
|
|
|
|
|
- strscpyl(modules, sizeof(modules), ROOTPREFIX "/lib/modules/", kernel.release, "/modules.devname", NULL);
|
|
|
|
+ strscpyl(modules, sizeof(modules), "/lib/modules/", kernel.release, "/modules.devname", NULL);
|
|
|
|
f = fopen(modules, "re");
|
|
|
|
if (f == NULL)
|
|
|
|
return;
|