All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] udev-141: avoid using full path when linking udev rules.d
@ 2009-11-23 19:01 Ricardo Salveti de Araujo
  0 siblings, 0 replies; only message in thread
From: Ricardo Salveti de Araujo @ 2009-11-23 19:01 UTC (permalink / raw)
  To: openembedded-devel; +Cc: koen

When it's directly linked to ${sysconfdir}/udev/rules.d dpkg will fail when
unpacking Network Manager, as it'll try to extract files over this directory
and the link will be pointing to the main host files.

Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@openbossa.org>
---
 recipes/udev/udev_141.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/udev/udev_141.bb b/recipes/udev/udev_141.bb
index b54b059..1ebfccb 100644
--- a/recipes/udev/udev_141.bb
+++ b/recipes/udev/udev_141.bb
@@ -6,7 +6,7 @@ LICENSE = "GPL"
 # Untested
 DEFAULT_PREFERENCE = "-1"
 
-PR = "r15"
+PR = "r16"
 
 # needed for init.d script
 RDEPENDS_${PN} += "udev-utils"
@@ -70,7 +70,7 @@ do_install () {
 	# This is hardcoded to $(udev_prefix)/lib/udev/rules.d in the
 	# Makefile, even if libdir is lib64.
 	mv ${D}/lib/udev/rules.d ${D}${sysconfdir}/udev/
-	ln -sf ${sysconfdir}/udev/rules.d ${D}/lib/udev/
+	ln -sf ../../${sysconfdir}/udev/rules.d ${D}/lib/udev/
 
  	cp ${S}/rules/rules.d/* ${D}${sysconfdir}/udev/rules.d/
 	cp ${S}/rules/packages/* ${D}${sysconfdir}/udev/rules.d/
-- 
1.6.5




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

only message in thread, other threads:[~2009-11-23 19:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-23 19:01 [PATCH] udev-141: avoid using full path when linking udev rules.d Ricardo Salveti de Araujo

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.