summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-08-01 12:17:34 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-08-01 12:17:34 +0200
commit8ea87cbaf6a1873b77c5ce4e4104e8dd7c7a0211 (patch)
tree6562703db0c4acafe43fc7b693caad385e3cec30
parent8bfeba8967542bb93cd024000d54a8bbc60be950 (diff)
always make binary or library writable by the user, before trying to strip
-rw-r--r--package/lvm/Makefile1
-rw-r--r--package/readline/Makefile1
-rw-r--r--package/tcl/Makefile1
-rw-r--r--scripts/rstrip.sh1
4 files changed, 1 insertions, 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