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

netman fix usage on a filesystem #22820

Merged
merged 2 commits into from
Mar 4, 2024
Merged

netman fix usage on a filesystem #22820

merged 2 commits into from
Mar 4, 2024

Conversation

PetervdPerk-NXP
Copy link
Member

@PetervdPerk-NXP PetervdPerk-NXP commented Feb 28, 2024

Allows netman config to be file instead of a mtd device.
ENOENT returns if the file doesn't exist yet, when using mtd the /fs/mtd_net always exist.
On a filesystem you've to generate the file so if ENOENT returns we've to regenerate the default config as well.

Also updates apps to allow for delayed opening of ipcfg file by polling if the filesystem ha been mounted, this can be done by setting the retry KConfig symbol

ENOENT returns if the file doesn't exist yet, when using mtd /fs/mtd_net always exist.
On a filesystem you've to generate the file so if ENOENT returns we've to regenerate the default config as well.
Copy link
Member

@davids5 davids5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks @PetervdPerk

@dagar dagar merged commit d28653b into main Mar 4, 2024
91 of 92 checks passed
@dagar dagar deleted the pr-netman-filesystem branch March 4, 2024 18:32
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.

4 participants