LukeShortCloud / rootpages

Root Pages is a collection of easy-to-reference tutorials and guides primarily for Linux and other UNIX-like systems.
Other
57 stars 6 forks source link

[administration][linux_kernel] Merge old and new Kconfig files #626

Open LukeShortCloud opened 2 years ago

LukeShortCloud commented 2 years ago
$ git clone --depth 1 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git kernel
$ cd ./kernel/
$ ./scripts/kconfig/merge_config.sh arch/x86/configs/x86_64_defconfig <OLD_CONFIG_FILE>

https://www.collabora.com/news-and-blog/blog/2021/11/26/venus-on-qemu-enabling-new-virtual-vulkan-driver/

LukeShortCloud commented 2 years ago

In this example, settings from the <OLD_CONFIG_FILE> will override the defaults from x86_64_defconfig.

LukeShortCloud commented 1 year ago

You can find the old configuration file in one of these locations:

https://superuser.com/questions/287371/obtain-kernel-config-from-currently-running-linux-system