[source] ipkg-make-index.sh: drop a few non-essential fields
LEDE Commits
lede-commits at lists.infradead.org
Wed Dec 14 03:14:02 PST 2016
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/b4aa3c899cbf1f81cd8a1ea197481ac84a9d646e
commit b4aa3c899cbf1f81cd8a1ea197481ac84a9d646e
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Tue Dec 13 15:20:03 2016 +0100
ipkg-make-index.sh: drop a few non-essential fields
Saves some more space on the package index
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
scripts/ipkg-make-index.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
More information about the lede-commits
mailing list