Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luci-app-opkg: fix passing wrong option on opkg update/install #7340

Closed
wants to merge 1 commit into from

Conversation

Ansuel
Copy link
Member

@Ansuel Ansuel commented Oct 22, 2024

Fix passing wrong option on opkg update/install. While starting to introduce support for APK in the opkg module, it was notice that --force-removal-of-dependent-packages was always passed even with update and install command.

This was probably a leftover/oversight of old one. To fix this, limit this option only on remove and also update the acl.d to support single call to update or install.

Fixes: 9b25031 ("luci-app-opkg: rework backend operations")

Fix passing wrong option on opkg update/install. While starting to
introduce support for APK in the opkg module, it was notice that
--force-removal-of-dependent-packages was always passed even with update
and install command.

This was probably a leftover/oversight of old one. To fix this, limit
this option only on remove and also update the acl.d to support single
call to update or install.

Fixes: 9b25031 ("luci-app-opkg: rework backend operations")
Signed-off-by: Christian Marangi <[email protected]>
@Ansuel
Copy link
Member Author

Ansuel commented Oct 22, 2024

@jow- didn't want to investigate further but why "--force-removal-of-dependent-packages" is even forced with --remove?

@systemcrash
Copy link
Contributor

This is ready to go in as-is?

@systemcrash
Copy link
Contributor

Closed by 3a8e9ba

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants