public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-apps/systemd/files: 0001-udev-add-lib-udev-rules.d-to-rules-directories.patch
@ 2012-08-06 16:30 Michal Gorny (mgorny)
  0 siblings, 0 replies; only message in thread
From: Michal Gorny (mgorny) @ 2012-08-06 16:30 UTC (permalink / raw
  To: gentoo-commits

mgorny      12/08/06 16:30:11

  Added:               
                        0001-udev-add-lib-udev-rules.d-to-rules-directories.patch
  Log:
  Version bump. Update udev firmware search path and add /lib support patch.
  
  (Portage version: 2.2.0_alpha120_p6/cvs/Linux x86_64, RepoMan options: --force)

Revision  Changes    Path
1.1                  sys-apps/systemd/files/0001-udev-add-lib-udev-rules.d-to-rules-directories.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/files/0001-udev-add-lib-udev-rules.d-to-rules-directories.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/systemd/files/0001-udev-add-lib-udev-rules.d-to-rules-directories.patch?rev=1.1&content-type=text/plain

Index: 0001-udev-add-lib-udev-rules.d-to-rules-directories.patch
===================================================================
From d395d7616d089eae34c5b2a81e5cefa13c32acb1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Fri, 13 Jul 2012 16:15:14 +0200
Subject: [PATCH] udev: add /lib/udev/rules.d to rules directories

This adds /lib if split-usr is enabled
to the directories where udev searches for rules.d.

This is needed if split-usr is enabled because some software still
installs rules in /lib/udev/rules.d.
---
 src/udev/udev-rules.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c
index d3b33e4..f30fa5a 100644
--- a/src/udev/udev-rules.c
+++ b/src/udev/udev-rules.c
@@ -1760,6 +1760,9 @@ struct udev_rules *udev_rules_new(struct udev *udev, int resolve_names)
         rules->dirs = strv_new(SYSCONFDIR "/udev/rules.d",
                                "/run/udev/rules.d",
                                UDEVLIBEXECDIR "/rules.d",
+#ifdef HAVE_SPLIT_USR
+                               "/lib/udev/rules.d",
+#endif
                                NULL);
         if (!rules->dirs) {
                 log_error("failed to build config directory array");
-- 
1.7.8.6






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-06 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-06 16:30 [gentoo-commits] gentoo-x86 commit in sys-apps/systemd/files: 0001-udev-add-lib-udev-rules.d-to-rules-directories.patch Michal Gorny (mgorny)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox