summaryrefslogtreecommitdiff
path: root/scripts/ipkg-make-index.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ipkg-make-index.sh')
-rwxr-xr-xscripts/ipkg-make-index.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/ipkg-make-index.sh b/scripts/ipkg-make-index.sh
index 8ae7eed..a529f28 100755
--- 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}')