Talk:Custom Kernel: Difference between revisions

From Alpine Linux
(Created page with "Needs to be adjusted for other archs === For kernel package maintainer === Each config-NAME.ARCH should be updated for all ARCHes so that it doesn't disrupt the building pro...")
 
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Needs to be adjusted for other archs
Needs to be adjusted for other archs


=== For kernel package maintainer ===
<small><span class="autosigned">—&nbsp;Preceding [[Help:Signature|unsigned]] comment added by [[User:Orson Teodoro|Orson Teodoro]] ([[User talk:Orson Teodoro|{{int:talkpagelinktext}}]] • [[Special:Contributions/Orson Teodoro|{{int:contribslink}}]]) 03:36, 4 March 2018</span></small>‎


Each config-NAME.ARCH should be updated for all ARCHes so that it doesn't disrupt the building process.  To do this:
== Locations/paths of build config files ==


  cd src/build-NAME
My goal is to build the Virt (not Standard/LTS) kernel using the defaults for Virt, and I don't understand which files are needed in exactly which paths.
  cp ../../config-NAME.ARCH .config
 
  make oldconfig
I had difficulty understanding the excerpt below. Is anyone willing to assist me in understanding it? For example, where/what is the "linux-4.15" folder?
  (hold enter to accept all default options)
 
  make menuconfig (optional to tweak it for the particular arch)
:''When you are done with your edits either by editing directly the APKBUILD and copying the lts.ARCH.config as .config in the linux-4.15 folder. You will then move the .config back overriding the lts.ARCH.config generated by make menuconfig.''
  cp .config ../../config-NAME.ARCH

Latest revision as of 22:34, 23 November 2024

Needs to be adjusted for other archs

— Preceding unsigned comment added by Orson Teodoro (talkcontribs) 03:36, 4 March 2018

Locations/paths of build config files

My goal is to build the Virt (not Standard/LTS) kernel using the defaults for Virt, and I don't understand which files are needed in exactly which paths.

I had difficulty understanding the excerpt below. Is anyone willing to assist me in understanding it? For example, where/what is the "linux-4.15" folder?

When you are done with your edits either by editing directly the APKBUILD and copying the lts.ARCH.config as .config in the linux-4.15 folder. You will then move the .config back overriding the lts.ARCH.config generated by make menuconfig.