https://redmine.graphics-muse.org/https://redmine.graphics-muse.org/favicon.ico?16278048512014-03-11T15:44:04ZGraphics Muse Issue TrackerPiBox - Bug #291: kernel-saveconfig is saving to bcmrpi_defconfighttps://redmine.graphics-muse.org/issues/291?journal_id=10382014-03-11T15:44:04ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>30</i></li></ul>This happens because
<ol>
<li>KERNEL_CFG includes the GIT_ID. It shouldn't.</li>
<li>KERNEL_CONFIG checks for KERNEL_CFG, can't find it, so uses KERNEL_DEFCONFIG.</li>
<li>kernel-saveconfig saves to KERNEL_CONFIG</li>
</ol>
What should happen is
<ol>
<li>KERNEL_CFG should not include GIT_ID.</li>
<li>KERNEL_CONFIG is okay as it is</li>
<li>kernel-saveconfig save to KERNEL_CFG</li>
</ol>
<p>The saving of the .config from the kernel build tree should go to the config file we <em>want</em>, not the one we're <em>using</em> 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.</p> PiBox - Bug #291: kernel-saveconfig is saving to bcmrpi_defconfighttps://redmine.graphics-muse.org/issues/291?journal_id=10392014-03-11T15:56:19ZHammelmjhammel@graphics-muse.org
<ul><li><strong>% Done</strong> changed from <i>30</i> to <i>50</i></li></ul><p>I removed the git id from KERNEL_CFG.<br />I made saveconfig use KERNEL_CFG.<br />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.</p>
<p>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 <a class="issue tracker-1 status-5 priority-7 priority-highest closed" title="Bug: Disable NFS (Closed)" href="https://redmine.graphics-muse.org/issues/287">#287</a>). I want to make sure I didn't muck up the config while doing all this name changing.</p> PiBox - Bug #291: kernel-saveconfig is saving to bcmrpi_defconfighttps://redmine.graphics-muse.org/issues/291?journal_id=10422014-03-12T00:52:55ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>50</i> to <i>100</i></li></ul><p>Verified working and all changes pushed upstream. This issue can be closed.</p>