summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-08-27 19:31:54 +0000
committerJeremy Katz <katzj@redhat.com>2007-08-27 19:31:54 +0000
commit9af2ca9907f4be5bffe051c3e742b795c090c930 (patch)
tree4a9c1367b6b4672ec1cdf78aae868170021e1e57 /scripts
parent5f1657c79a0514e390b52b48c8b62d3f12465035 (diff)
2007-08-27 Jeremy Katz <katzj@redhat.com>
* anaconda.spec (Requires): And so we don't need /usr/bin/strip for anaconda-runtime anymore * scripts/scrubtree: Stuff is stripped as buildroot policy now * scripts/mk-images: Likewise. * scripts/upd-instroot: Likewise.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mk-images2
-rwxr-xr-xscripts/scrubtree10
-rwxr-xr-xscripts/upd-instroot4
3 files changed, 0 insertions, 16 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index 52c8bed51..2910d0bf6 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -598,10 +598,8 @@ EOF
echo $arch > $MBD_DIR/etc/arch
install -s -m 755 $LOADERBINDIR/$LOADERBIN $MBD_DIR/sbin/loader
- strip $MBD_DIR/sbin/loader
if [ "$BUILDARCH" != "s390" -a "$BUILDARCH" != "s390x" ]; then
install -s -m 755 $LOADERBINDIR/init $MBD_DIR/sbin
- strip $MBD_DIR/sbin/init
ln -s ./init $MBD_DIR/sbin/reboot
ln -s ./init $MBD_DIR/sbin/halt
ln -s ./init $MBD_DIR/sbin/poweroff
diff --git a/scripts/scrubtree b/scripts/scrubtree
index 6b604b0f2..b1e00a9ab 100755
--- a/scripts/scrubtree
+++ b/scripts/scrubtree
@@ -14,13 +14,8 @@ fi
p=$1
-STRIP=strip
ARCH=`uname -m | sed -e 's/i.86/i386/'`
-if [ $ARCH = ia64 ]; then
- STRIP="strip --strip-debug"
-fi
-
if [ $ARCH = x86_64 -o $ARCH = s390x ]; then
LIBDIR=lib64
else
@@ -67,8 +62,3 @@ done
)
umount $p/proc
-
-for l in `find $p -type f -perm +100 | xargs file | sed -n 's/^\([^:]*\):.*ELF.*$/\1/p'`; do
- $STRIP $l -R .comment -R .note `objdump -h $l | \
- sed -n 's/^.*\(\.gnu\.warning\.[^ ]*\) .*$/-R \1/p'`
-done
diff --git a/scripts/upd-instroot b/scripts/upd-instroot
index d74963065..15a7acae8 100755
--- a/scripts/upd-instroot
+++ b/scripts/upd-instroot
@@ -1384,10 +1384,6 @@ for p in $DEST $DESTGR; do
done
done
-# do some stripping of debugging symbols
-find $DEST -type f -name '*.so' |xargs strip -g
-find $DESTGR -type f -name '*.so' |xargs strip -g
-
# some python stuff we don't need for stage2
rm -rf $DESTGR/usr/$LIBDIR/python?.?/site-packages/distutils/
rm -rf $DESTGR/usr/$LIBDIR/python?.?/site-packages/lib-dynload/japanese