Two patches for glibc/eglibc builds on openwrt trunk.
First one is build fix to udevtrigger by adding missing
functions in hotplug2 is build against the glibc or eglibc. 
Fix is originally from sav in bug
https://dev.openwrt.org/ticket/9012

Second patch adds support for the ldconfig in case image
is build against the eglibc or glibc. (It does not change
anything in default uclibc case)

Without these patches I was not able to get network
connection to wzr-hp-g300nh when I build openwrt trunk against the 
eglibc 2.12 version. Serial console revealed that
network was not up because commands like swconfig
where failing because they could not find shared libraries
from /usr/lib directory. (On that attempt things started working
once I set LD_LIBRARY_PATH)

Mika Laitio (2):
  Fix the hotplug2 build with glibc/eglibc
  runtime shared library binding support

 package/base-files/Makefile                        |    4 ++
 .../base-files/glibc-files/etc/init.d/linkbindings |   32 ++++++++++++++
 package/base-files/glibc-files/etc/ld.so.conf      |    1 +
 .../etc/ld.so.conf.d/base_library_path.conf        |    2 +
 package/hotplug2/src/udevtrigger.c                 |   45 ++++++++++++++++++++
 5 files changed, 84 insertions(+), 0 deletions(-)
 create mode 100644 package/base-files/glibc-files/etc/init.d/linkbindings
 create mode 100644 package/base-files/glibc-files/etc/ld.so.conf
 create mode 100644 
package/base-files/glibc-files/etc/ld.so.conf.d/base_library_path.conf

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to