-
Notifications
You must be signed in to change notification settings - Fork 62
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
kernel command line parameters are not being updated #706
Comments
Hello @jlarsen45! Unfortunately we don't have a good way of doing what you want to do right now. Currently, If you have ideas on how to change that, I'd be interested to hear your thoughts. Also, it's worth making sure we're on the same page, so a couple questions:
And if you want to see exactly what is happening with that variable, I recommend looking at https://wiki.yoctoproject.org/wiki/Technical_FAQ#I_set_a_variable_but_it_doesn.27t_seem_to_be_having_an_effect.2C_how_do_I_fix_this.3F. But in this case, I think it just isn't getting used the way you want it to be. |
Thanks @patrickvacek for your reply. I am using meta-updater master branch (36c0d42) I think I was too specific in my details. In general, I want to be able to update kernel args with an over-the-air update. It seems like it should. It already modifies the bootloader conf file (grub.cfg in my case). Could it do an update to that file before it does the modifications that switch to boot the new rootfs? Another idea is to keep a kernel arg file along with vmlinuz and initramfs. There is karg handling code in libostree already correct? |
AFAIK ostree does support that, see for example ostreedev/ostree#479 (comment). The problem you're going to face if trying to update with meta-updater is that our update client aktualizr does not currently support changing the kernel args when it deploys a new OSTree commit. If you want to do it yourself, you might be able to try using the commandline run-mode options of aktualizr and then deploy the OSTree commit yourself, i.e.:
That might work. |
Closing due to lack of feedback. |
I am using intel-corei7-64 with grub as bootloader. If I change my kernel command line parameters the changes do not get updated when an update is performed.
Steps:
Expected result: command line parameters are the new parameters from new OSTREE_KERNEL_ARGS
Actual result: command line parameters are stuck at initial values
The text was updated successfully, but these errors were encountered: