Jump to content

[Armbian build PR] - cli: add command to rewrite/refresh kernel configs


Recommended Posts

Posted

Description

Adding a command that can be used to refresh kernel configs without launching menuconfig interface. This can be helpful to refresh kernel configs when doing kernel upgrades for all kernels being bumped by running in a for loop and can be also be used in some automation to periodically refresh kernel configs

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • [X] Tested by running ./compile.sh BOARD=khadas-vim4 BRANCH=legacy rewrite-kernel-config. It refreshed and updated config/kernel/linux-meson-s4t7-legacy.config file based on the needed updates which in this case was mostly compiler and toolchain versions as this file has not been refreshed for sometime now.

Checklist:

  • [X] My code follows the style guidelines of this project
  • [X] I have performed a self-review of my own code
  • [ ] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [X] My changes generate no new warnings
  • [ ] Any dependent changes have been merged and published in downstream modules

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines