Skip to contentSkip to conversation

udev 124: fix the absolute soname link in libvolume for SDK

PATCH In review Denys Dmytriyenko 3 participants 5 messages Apr 24, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 udev 124: fix the absolute soname link in libvolume for SDK

---
 recipes/udev/udev-124/libvolume-id-soname.patch |   12 ++++++++++++
 recipes/udev/udev_124.bb                        |    3 ++-
 2 files changed, 14 insertions(+), 1 deletions(-)
 create mode 100644 recipes/udev/udev-124/libvolume-id-soname.patch
recipes/udev/udev-124/libvolume-id-soname.patch new file +12 -0
new file mode 100644
index 0000000..56365a4
@@ -0,0 +1,12 @@
+diff -uNr udev-124-orig/extras/volume_id/lib/Makefile udev-124/extras/volume_id/lib/Makefile
+--- udev-124-orig/extras/volume_id/lib/Makefile	2008-06-12 01:24:30.000000000 -0400
++++ udev-124/extras/volume_id/lib/Makefile	2009-01-14 23:32:42.000000000 -0500
+@@ -113,7 +113,7 @@
+ ifeq ($(libdir),$(usrlibdir))
+ 	ln -sf $(SHLIB) $(DESTDIR)$(usrlibdir)/libvolume_id.so
+ else
+-	ln -sf $(libdir)/$(SHLIB) $(DESTDIR)$(usrlibdir)/libvolume_id.so
++	ln -sf ../..$(libdir)/$(SHLIB) $(DESTDIR)$(usrlibdir)/libvolume_id.so
+ endif
+ 	$(INSTALL) -d $(DESTDIR)$(usrlibdir)/pkgconfig
+ 	$(INSTALL_DATA) libvolume_id.pc $(DESTDIR)$(usrlibdir)/pkgconfig/libvolume_id.pc
recipes/udev/udev_124.bb +2 -1
index 76edb2f..37dc3a7 100644
@@ -2,13 +2,14 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
 /dev/, handles hotplug events and loads drivers at boot time. It replaces \
 the hotplug package and requires a kernel not older than 2.6.12."
 RPROVIDES_${PN} = "hotplug"
-PR = "r14"
+PR = "r15"
 
 SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
 	   file://noasmlinkage.patch;patch=1 \
 	   file://flags.patch;patch=1 \
 	   file://vol_id_ld.patch;patch=1 \
 	   file://udevtrigger_add_devname_filtering.patch;patch=1 \
+	   file://libvolume-id-soname.patch;patch=1 \
 	   file://mount.blacklist \
 	   file://run.rules \
 	   "
Signature · 1 line
1.6.0.6
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Denys Dmytriyenko

Looks OK to me:

Quoted 44 lines
---
  recipes/udev/udev-124/libvolume-id-soname.patch |   12 ++++++++++++
  recipes/udev/udev_124.bb                        |    3 ++-
  2 files changed, 14 insertions(+), 1 deletions(-)

create mode 100644 recipes/udev/udev-124/libvolume-id-soname.patch

recipes/udev/udev-124/libvolume-id-soname.patch new file +12 -0
new file mode 100644
index 0000000..56365a4
@@ -0,0 +1,12 @@
+diff -uNr udev-124-orig/extras/volume_id/lib/Makefile udev-124/extras/volume_id/lib/Makefile
+--- udev-124-orig/extras/volume_id/lib/Makefile	2008-06-12 01:24:30.000000000 -0400
++++ udev-124/extras/volume_id/lib/Makefile	2009-01-14 23:32:42.000000000 -0500
+@@ -113,7 +113,7 @@
+ ifeq ($(libdir),$(usrlibdir))
+ 	ln -sf $(SHLIB) $(DESTDIR)$(usrlibdir)/libvolume_id.so
+ else
+-	ln -sf $(libdir)/$(SHLIB) $(DESTDIR)$(usrlibdir)/libvolume_id.so
++	ln -sf ../..$(libdir)/$(SHLIB) $(DESTDIR)$(usrlibdir)/libvolume_id.so
+ endif
+ 	$(INSTALL) -d $(DESTDIR)$(usrlibdir)/pkgconfig
+ 	$(INSTALL_DATA) libvolume_id.pc $(DESTDIR)$(usrlibdir)/pkgconfig/libvolume_id.pc
recipes/udev/udev_124.bb +2 -1
index 76edb2f..37dc3a7 100644
@@ -2,13 +2,14 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
  /dev/, handles hotplug events and loads drivers at boot time. It replaces \
  the hotplug package and requires a kernel not older than 2.6.12."
  RPROVIDES_${PN} = "hotplug"
-PR = "r14"
+PR = "r15"
 
  SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
  	   file://noasmlinkage.patch;patch=1 \
  	   file://flags.patch;patch=1 \
  	   file://vol_id_ld.patch;patch=1 \
  	   file://udevtrigger_add_devname_filtering.patch;patch=1 \
+	   file://libvolume-id-soname.patch;patch=1 \
  	   file://mount.blacklist \
  	   file://run.rules \
  	   "
#2 lore raw
Quoted 8 lines · Koen Kooi
Quoted 2 lines · Denys Dmytriyenko

Looks OK to me:

Do I need another ack?

Quoted 59 lines
Quoted 48 lines
---
  recipes/udev/udev-124/libvolume-id-soname.patch |   12 ++++++++++++
  recipes/udev/udev_124.bb                        |    3 ++-
  2 files changed, 14 insertions(+), 1 deletions(-)

create mode 100644 recipes/udev/udev-124/libvolume-id-soname.patch

recipes/udev/udev-124/libvolume-id-soname.patch new file +1 -0
new file mode 100644
index 0000000..56365a4
@@ -0,0 +1,12 @@
+diff -uNr udev-124-orig/extras/volume_id/lib/Makefile 

udev-124/extras/volume_id/lib/Makefile
+--- udev-124-orig/extras/volume_id/lib/Makefile 2008-06-12
01:24:30.000000000 -0400
++++ udev-124/extras/volume_id/lib/Makefile 2009-01-14 23:32:42.000000000
-0500
+@@ -113,7 +113,7 @@
+ ifeq ($(libdir),$(usrlibdir))

recipes/udev/udev-124/libvolume-id-soname.patch new file +7 -0
+ 	ln -sf $(SHLIB) $(DESTDIR)$(usrlibdir)/libvolume_id.so
+ else
+-	ln -sf $(libdir)/$(SHLIB) $(DESTDIR)$(usrlibdir)/libvolume_id.so
++	ln -sf ../..$(libdir)/$(SHLIB) $(DESTDIR)$(usrlibdir)/libvolume_id.so
+ endif
+ 	$(INSTALL) -d $(DESTDIR)$(usrlibdir)/pkgconfig
+ 	$(INSTALL_DATA) libvolume_id.pc 

$(DESTDIR)$(usrlibdir)/pkgconfig/libvolume_id.pc

recipes/udev/udev_124.bb +0 -0
index 76edb2f..37dc3a7 100644
@@ -2,13 +2,14 @@ DESCRIPTION = "udev is a daemon which dynamically 

creates and removes device nod
/dev/, handles hotplug events and loads drivers at boot time. It
replaces \
the hotplug package and requires a kernel not older than 2.6.12." RPROVIDES_${PN} = "hotplug"

recipes/udev/udev_124.bb +1 -1
-PR = "r14"
+PR = "r15"
 
  SRC_URI = 

"http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://noasmlinkage.patch;patch=1 \
file://flags.patch;patch=1 \
file://vol_id_ld.patch;patch=1 \
file://udevtrigger_add_devname_filtering.patch;patch=1 \

recipes/udev/udev_124.bb DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod · line 15

Quoted 4 lines
recipes/udev/udev_124.bb +1 -0
+	   file://libvolume-id-soname.patch;patch=1 \
  	   file://mount.blacklist \
  	   file://run.rules \
  	   "

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#4 lore raw
Quoted 7 lines · Koen Kooi
Quoted 6 lines · Denys Dmytriyenko
Quoted 5 lines · Koen Kooi
Quoted 2 lines · Denys Dmytriyenko
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Looks OK to me:

Do I need another ack?

ehm, I'm not sure, let's ask Marcin :) Marcin?

one ack is needed for none core changes:

http://wiki.openembedded.net/index.php/Stable#Dealing_with_changes

Philip