From 8ea87cbaf6a1873b77c5ce4e4104e8dd7c7a0211 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 1 Aug 2010 12:17:34 +0200 Subject: always make binary or library writable by the user, before trying to strip --- package/lvm/Makefile | 1 - package/readline/Makefile | 1 - package/tcl/Makefile | 1 - scripts/rstrip.sh | 1 + 4 files changed, 1 insertion(+), 3 deletions(-) diff --git a/package/lvm/Makefile b/package/lvm/Makefile index c7d2a4ee6..5120212a0 100644 --- a/package/lvm/Makefile +++ b/package/lvm/Makefile @@ -37,7 +37,6 @@ post-install: ${INSTALL_DIR} ${IDIR_LIBDEVMAPPER}/usr/lib ${CP} ${WRKINST}/usr/lib/libdevmapper.so* \ ${IDIR_LIBDEVMAPPER}/usr/lib - chmod u+w ${IDIR_LIBDEVMAPPER}/usr/lib/*.so* # device-mapper ${INSTALL_DIR} ${IDIR_DEVICE_MAPPER}/usr/sbin ${INSTALL_BIN} ${WRKINST}/usr/sbin/dmsetup \ diff --git a/package/readline/Makefile b/package/readline/Makefile index 542f72d9a..7895198a5 100644 --- a/package/readline/Makefile +++ b/package/readline/Makefile @@ -23,6 +23,5 @@ post-install: ${INSTALL_DIR} ${IDIR_LIBREADLINE}/usr/lib ${CP} ${WRKINST}/usr/lib/libhistory.so* ${IDIR_LIBREADLINE}/usr/lib/ ${CP} ${WRKINST}/usr/lib/libreadline.so* ${IDIR_LIBREADLINE}/usr/lib/ - chmod u+w ${IDIR_LIBREADLINE}/usr/lib/* include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/tcl/Makefile b/package/tcl/Makefile index 3eb849626..8f605261a 100644 --- a/package/tcl/Makefile +++ b/package/tcl/Makefile @@ -31,6 +31,5 @@ post-install: ${INSTALL_DIR} ${IDIR_TCL}/usr/lib ${IDIR_TCL}/usr/bin ${CP} ${WRKINST}/usr/bin/* ${IDIR_TCL}/usr/bin ${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_TCL}/usr/lib - chmod u+w ${IDIR_TCL}/usr/lib/libtcl8.5.so # for strip include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/scripts/rstrip.sh b/scripts/rstrip.sh index 0c7550d8e..951362d35 100644 --- a/scripts/rstrip.sh +++ b/scripts/rstrip.sh @@ -54,6 +54,7 @@ find $TARGETS -type f -a -exec file {} \; | \ esac echo "$SELF: $V:$S" echo "-> $T $F" + eval "chmod u+w $F" eval "$T $F" done exit 0 -- cgit v1.2.3