kernel-saveconfig is saving to bcmrpi_defconfig
|Status:||Closed||Start date:||10 Mar 2014|
|Category:||03 - Linux Kernel|
|Severity:||01 - Critical|
It should be going to src/kernel/linux-rpi-3.10.y.cfg.rpi-3.10.y.
This is currently on the CentOS build box though its not a CentOS problem. It's a problem with the configs/kernel-git.cfg setting for KERNEL_CONFIG and KERNEL_DEFCONFIG.
RM #291: Remove GIT ID from KERNEL_CFG, which is the name of the config file saved in our tree.
RM #291: Change KERNEL_CFG to KERNEL_SAVECFG so its a little more obvious what the variable is being used for.
#1 Updated by Hammel over 6 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 30
- KERNEL_CFG includes the GIT_ID. It shouldn't.
- KERNEL_CONFIG checks for KERNEL_CFG, can't find it, so uses KERNEL_DEFCONFIG.
- kernel-saveconfig saves to KERNEL_CONFIG
- KERNEL_CFG should not include GIT_ID.
- KERNEL_CONFIG is okay as it is
- kernel-saveconfig save to KERNEL_CFG
The saving of the .config from the kernel build tree should go to the config file we want, not the one we're using since the one we're using may just be a fallback if the one we want didn't exist yet. After we've built and modified from the defconfig we want to save to the file we will use in later builds, which will be KERNEL_CFG.
#2 Updated by Hammel over 6 years ago
- % Done changed from 30 to 50
I removed the git id from KERNEL_CFG.
I made saveconfig use KERNEL_CFG.
Then I changed the name of KERNEL_CFG to KERNEL_SAVECFG to make it a little more obvious what the variable is used for compared to KERNEL_CONFIG and KERNEL_DEFCONFIG.
These are checked in but not pushed. I'm retesting the kernel build because I changed the name of the saved 3.10.y kernel config to match KERNEL_SAVECFG and saved and updated kernel configuration to it (related to RM #287). I want to make sure I didn't muck up the config while doing all this name changing.