Skip to content
Browse files

scripts: ipkg-remove: handle existing .ipk files without SourceName f…


Package archives built before commit e6bcf1e
("build: add ABI_VERSION to binary package names") lack the SourceName
control file field which caused ipkg-remove to skip such archives.

Add fallback code that matches the files by their basename followed by
an underscore, similar to how the old cleanup code worked.

Fixes: openwrt#2067
Signed-off-by: Jo-Philipp Wich <>
  • Loading branch information...
jow- committed Jan 21, 2019
1 parent 3fe555c commit 8c9b182db63fb8be6906cdf8df84e58c9c9daae7
Showing with 5 additions and 0 deletions.
  1. +5 −0 scripts/ipkg-remove
@@ -10,6 +10,11 @@ for pkg in "$@"; do
case "$pkg" in
rm -vf "$pkg"

exit 0

0 comments on commit 8c9b182

Please sign in to comment.
You can’t perform that action at this time.