summaryrefslogtreecommitdiffstats
path: root/scripts/scrubtree
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-05-30 19:51:43 +0000
committerMatt Wilson <msw@redhat.com>2000-05-30 19:51:43 +0000
commitd5a21d1f2d82b8513f17b3e8459e4ccaf615fd91 (patch)
tree509c04f82bb9eb32db9cfb580f9efeec4fac7988 /scripts/scrubtree
parent6533b9f252ab6ef35af588351e1a6ec7be25fc24 (diff)
downloadanaconda-d5a21d1f2d82b8513f17b3e8459e4ccaf615fd91.tar.gz
anaconda-d5a21d1f2d82b8513f17b3e8459e4ccaf615fd91.tar.xz
anaconda-d5a21d1f2d82b8513f17b3e8459e4ccaf615fd91.zip
make collage links
Diffstat (limited to 'scripts/scrubtree')
-rwxr-xr-xscripts/scrubtree2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/scrubtree b/scripts/scrubtree
index 61a3ff77c..a92266f66 100755
--- a/scripts/scrubtree
+++ b/scripts/scrubtree
@@ -9,6 +9,8 @@ touch $p/etc/ld.so.conf
(cd $p; chroot $p usr/sbin/ldconfig )
rm -f $p/usr/sbin/ldconfig $p/etc/ld.so.conf
+(cd $p/usr/bin; ./collage | $p/usr/lib/anaconda-runtime/mkcollagelinks ./collage)
+
for l in `find $p -type f -perm +100 | grep -v "usr/X11R6/lib/modules" | 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'`