projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c2b3d
)
ipkg-make-index.sh: drop a few non-essential fields
author
Felix Fietkau
<nbd@nbd.name>
Tue, 13 Dec 2016 14:20:03 +0000
(15:20 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Wed, 14 Dec 2016 11:13:14 +0000
(12:13 +0100)
Saves some more space on the package index
Signed-off-by: Felix Fietkau <nbd@nbd.name>
scripts/ipkg-make-index.sh
patch
|
blob
|
history
diff --git
a/scripts/ipkg-make-index.sh
b/scripts/ipkg-make-index.sh
index c99c5fe8a37c4785eb39c14b96b44a76202a4bcb..ac6f9837bca0e1870c7fee973385c12602394849 100755
(executable)
--- 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