From mboxrd@z Thu Jan 1 00:00:00 1970 From: romeusmeister@gmail.com (Roman Storozhenko) Date: Tue, 30 May 2017 12:28:34 +0300 Subject: Update a newly-created '.config' file with some predefined values Message-ID: <20170530092834.GA19566@home> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hello everybody, I have a host machine and I have a VM machine running CentOS 7 with 3.x. There is a kernel source tree on the host. I have made 'make menuconfig', populated all options that I want to have in my custom kernel and as a result got a '.config' file. Then I copied a centos-default distro config file from my VM's 'boot' catalog to my host's kernel source tree catalog. So now I have two files in my source tree: '.config' and '.config.old'. I am able to see difference between them using the following command: scripts/diffconfig .config.old .config | less But is there anyway to update values in '.config' file with the apropriate values from '.config.old' file? I just want to make sure that all modules will be included in a new custom kernel. Thanks in advance, Roman