Jeffery To 53a53b8ee3 CI: Add --autoremove, ignore removal errors
836b4e1c734f9705bfd8db0da0c04214c2647932 added
--force-removal-of-dependent-packages but it does not do what the commit
message says it does.

When package A depends on package B (package B is a dependency of
package A; package A is a dependent of package B), trying to remove
package B while package A is installed will result in an error. Adding
--force-removal-of-dependent-packages in this case will cause the
removal of package B and package A (package B's dependent).

But in the case of the CI testing step, it is package A that is being
installed and removed. Removing package A with
--force-removal-of-dependent-packages will not cause package B (package
A's dependency) to be removed.

This adds --autoremove to actually remove the package's dependencies.

This also ignores any errors returned by opkg remove as --autoremove can
sometimes falsely return an error[1].

[1]: https://github.com/openwrt/openwrt/issues/12241

Fixes: 836b4e1c734f ("github-ci: add --force-removal-of-dependent-packages")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-26 11:29:59 +02:00
2023-05-27 12:10:09 +02:00
2023-02-10 08:39:41 +01:00
2023-05-27 12:09:50 +02:00
2020-08-11 12:36:05 -07:00
2023-05-15 11:45:03 +02:00
2023-04-27 17:14:16 +02:00
2020-12-17 06:28:05 +00:00
2023-04-27 17:14:16 +02:00
2023-04-27 17:14:16 +02:00
2023-04-27 17:14:16 +02:00
2021-03-10 08:20:24 +01:00
2023-06-13 15:20:23 +02:00
2023-06-23 11:28:18 +02:00
2023-04-27 17:14:16 +02:00
2023-04-27 17:14:16 +02:00
2022-02-26 15:37:24 +01:00
2023-04-27 17:14:16 +02:00

OpenWrt Routing Feed

Description

This OpenWrt package feed contains community maintained routing packages.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update routing
./scripts/feeds install -a -p routing
Description
OpenWrt Routing Packages
Readme 4.6 MiB
Languages
Shell 35%
Makefile 32.7%
Lua 15.9%
C 14.6%
HTML 1.8%