summaryrefslogtreecommitdiff
path: root/scripts/ipkg-make-index.sh
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-12-13 15:20:03 +0100
committerFelix Fietkau <nbd@nbd.name>2016-12-14 12:13:14 +0100
commitb4aa3c899cbf1f81cd8a1ea197481ac84a9d646e (patch)
tree74a9aa0fd65e671375863c89133e04a2513a9d47 /scripts/ipkg-make-index.sh
parent34c2b3de6602205c625e9d16e40ef826fcf693d2 (diff)
downloadmtk-20170518-b4aa3c899cbf1f81cd8a1ea197481ac84a9d646e.zip
mtk-20170518-b4aa3c899cbf1f81cd8a1ea197481ac84a9d646e.tar.gz
mtk-20170518-b4aa3c899cbf1f81cd8a1ea197481ac84a9d646e.tar.bz2
ipkg-make-index.sh: drop a few non-essential fields
Saves some more space on the package index Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts/ipkg-make-index.sh')
-rwxr-xr-xscripts/ipkg-make-index.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ipkg-make-index.sh b/scripts/ipkg-make-index.sh
index c99c5fe..ac6f983 100755
--- a/scripts/ipkg-make-index.sh
+++ b/scripts/ipkg-make-index.sh
@@ -24,7 +24,7 @@ for pkg in `find $pkg_dir -name '*.ipk' | sort`; do
tar -xzOf $pkg ./control.tar.gz | tar xzOf - ./control | sed -e "s/^Description:/Filename: $sed_safe_pkg\\
Size: $file_size\\
SHA256sum: $sha256sum\\
-Description:/"
+Description:/" | grep -vE '^(Maintainer|LicenseFiles|Source|Require)'
echo ""
done
[ -n "$empty" ] && echo