github-ci: add --force-removal-of-dependent-packages

Without this option, a package gets installed with its dependencies
but those do not get removed, causing issues later on with other
packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-09-18 23:56:12 -07:00
parent f1c0e9fca9
commit 836b4e1c73

View File

@@ -28,5 +28,5 @@ for PKG in /ci/*.ipk; do
echo "No test.sh script available"
fi
opkg remove "$PKG_NAME"
opkg remove "$PKG_NAME" --force-removal-of-dependent-packages --force-remove
done