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

Custom Kernel Configuration Options Disappear After Running "vng -b" #192

Open
annanyiri opened this issue Nov 11, 2024 · 2 comments
Open

Comments

@annanyiri
Copy link

annanyiri commented Nov 11, 2024

I want to add new fields to the .config file that are not originally included. I add the line to the ~/.config/virtme-ng/kernel.config file, then run the command scripts/kconfig/merge_config.sh -m .config ~/.config/virtme-ng/kernel.config. After that, I execute vng -b. Once this completes, the lines I added are missing from the .config file. (The lines that disappear are those that were not originally in the .config file, not even as # CONFIG... is not set entries.)

Could someone help me figure out what might be causing this?

@matttbe
Copy link
Collaborator

matttbe commented Nov 11, 2024

Hello,

If you have the last version of vng, the .config file should not be overridden when running vng -b if it is present.

Also, make sure you enabled all dependences for the kernel config you need. The best is probably to run vng -k, backup the generated .config, then make menuconfig to enable your option, then check what has changed.

@annanyiri
Copy link
Author

annanyiri commented Nov 11, 2024

Hello! Thank you for your reply, i will try it.

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