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

onion_buildenv update_sdk doesn't respect default feed changes #17

Open
crispyoz opened this issue Feb 14, 2025 · 1 comment
Open

onion_buildenv update_sdk doesn't respect default feed changes #17

crispyoz opened this issue Feb 14, 2025 · 1 comment

Comments

@crispyoz
Copy link

crispyoz commented Feb 14, 2025

When you run bash onion_buildenv update_sdk the function update_package_feeds creates openwrt-sdk/feeds.conf.default from a) ENV PACKAGE_FEEDS from profile then b) appending openwrt-sdk/feeds.conf.default.org.

The upshot is that the user needs to edit openwrt-sdk/feeds.conf.default.org to remove any packages you don't want to build. For instance Onion has never built luci packages, they have always been commented out the the feeds. Presently if even if you comment out the package feed in openwrt-sdk/feeds.conf.default if will overwritten by update_sdk.

I submitted PR #29 that enables the user to prefix any feed in PACKAGE_FEEDS with "-" symbol to disable the feed and the disable will survive update_sdk.

@greenbreakfast
Copy link
Contributor

@crispyoz I mentioned this in the PR OnionIoT/openwrt-imagebuilder-wrapper#29, but it bears repeating here. If the packages from the default repos are not selected for compilation, then including those repos shouldn't be an issue.
Unless there's something I'm missing?

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

No branches or pull requests

2 participants