From 9756c8d5940e5f067c97dd37e2f30704eaa0927f Mon Sep 17 00:00:00 2001 From: Mario Domenech Goulart Date: Tue, 23 Jun 2009 16:07:19 -0300 Subject: opkg-native: use OE's libdir instead of hardcoded /usr/lib for update-alternatives Signed-off-by: Otavio Salvador --- recipes/opkg/files/opkg-libdir.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recipes/opkg/files/opkg-libdir.patch (limited to 'recipes/opkg/files/opkg-libdir.patch') diff --git a/recipes/opkg/files/opkg-libdir.patch b/recipes/opkg/files/opkg-libdir.patch new file mode 100644 index 0000000000..1d48b9a6bf --- /dev/null +++ b/recipes/opkg/files/opkg-libdir.patch @@ -0,0 +1,11 @@ +--- trunk/utils/update-alternatives.orig 2009-06-23 15:33:56.000000000 -0300 ++++ trunk/utils/update-alternatives 2009-06-23 15:34:10.000000000 -0300 +@@ -21,7 +21,7 @@ + set -e + + # admin dir +-ad="$OPKG_OFFLINE_ROOT/usr/lib/opkg/alternatives" ++ad="$OPKG_OFFLINE_ROOT/${libdir}/opkg/alternatives" + + usage() { + echo "update-alternatives: $* -- cgit v1.2.3