summaryrefslogtreecommitdiffstats
path: root/trunk/tools/compute-rpm-sizes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/tools/compute-rpm-sizes.sh')
-rwxr-xr-xtrunk/tools/compute-rpm-sizes.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/trunk/tools/compute-rpm-sizes.sh b/trunk/tools/compute-rpm-sizes.sh
deleted file mode 100755
index 5425d3f..0000000
--- a/trunk/tools/compute-rpm-sizes.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-chroot=$1
-name=$2
-
-if [ -z "$chroot" ] || [ -z "$name" ]; then
- echo "usage: $0 <chroot> <name>"
-fi
-
-full=$name-full.lst
-leaves=$name-leaves.lst
-chroot $chroot sh -c "rpm -qa --qf '%{size} \t%{name}\n' | sort -n" > $full
-chroot $chroot sh -c "urpmi_rpm-find-leaves | xargs rpm -q --qf '%{size} \t%{name}\n' | sort -n" > $leaves
-
-echo $full $leaves