projects
/
openwrt
/
staging
/
adrian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
047c0b8
)
build: prevent the virtual "kernel" package from leaking into the package index to...
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 13 May 2012 12:31:53 +0000
(12:31 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 13 May 2012 12:31:53 +0000
(12:31 +0000)
SVN-Revision: 31704
scripts/ipkg-make-index.sh
patch
|
blob
|
history
diff --git
a/scripts/ipkg-make-index.sh
b/scripts/ipkg-make-index.sh
index 8ae7eedc9ae3180b8c2673a881afa6e18d010651..a529f28ef5355d0ad8c09c8420756f2b8034abe3 100755
(executable)
--- a/
scripts/ipkg-make-index.sh
+++ b/
scripts/ipkg-make-index.sh
@@
-11,6
+11,9
@@
fi
which md5sum >/dev/null 2>&1 || alias md5sum=md5
for pkg in `find $pkg_dir -name '*.ipk' | sort`; do
+ name="${pkg##*/}"
+ name="${name%%_*}"
+ [[ "$name" = "kernel" ]] && continue
echo "Generating index for package $pkg" >&2
file_size=$(ls -l $pkg | awk '{print $5}')
md5sum=$(md5sum $pkg | awk '{print $1}')