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

CONTFIG.TXT in FAT View #3210

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kasjer
Copy link
Contributor

@kasjer kasjer commented Apr 26, 2024

This adds file with contents of sys/config variables visible in FAT view

Signed-off-by: Jerzy Kasenberg jerzy.kasenberg@codecoup.pl

This change extract several FAT root entries definitions
to separate files so it's easier to see how to make
custom entries.

This feature utilized newt tool features:
- link time tables (used for root dir entries)
- pkg.whole_archive switch that forces to search whole archive
- pkg.source_files (now package files are selected separately)

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
While every config entry could specify export function
there was no easy way to call those functions.
Then only way to export config was to use shell command
config dump

Now new function conf_export takes allows to export configuration
and conf_dump_running just uses it so functionality is preserved.

Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
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.

None yet

1 participant