Talk:Custom Kernel: Difference between revisions
Prabuanand (talk | contribs) No edit summary |
|||
| Line 66: | Line 66: | ||
Perhaps this [[Custom Kernel]] page is now ready for regular use, and the "This material is work-in-progress" banner can be removed, unless there is a shortcoming found. This draft state has held since it was helpfully created in 2014. | Perhaps this [[Custom Kernel]] page is now ready for regular use, and the "This material is work-in-progress" banner can be removed, unless there is a shortcoming found. This draft state has held since it was helpfully created in 2014. | ||
Thanks for kind updates by [[User:Prabuanand|Prabuanand]], [[User:Pawciobiel|Pawciobiel]], [[User:Teopp7|Teopp7]], [[User:Fossdd|Fossdd]], [[User:Anthumchris|Anthumchris]], [[User:Gsora|Gsora]], [[User:Zcrayfish|Zcrayfish]], [[User:Omni|Omni]], [[User:Nabbi|Nabbi]], [[User:Psykose|Psykose]], [[User:Egberts|Egberts]] and thanks also for kind contributions by others that have not been active on the wiki for over five years. [[User:John3-16|John3-16]] ([[User talk:John3-16|talk]]) 19:22, 30 December 2025 (UTC) | Thanks for kind updates by [[User:Prabuanand|Prabuanand]], [[User:Pawciobiel|Pawciobiel]], [[User:Teopp7|Teopp7]], [[User:Fossdd|Fossdd]], [[User:Anthumchris|Anthumchris]], [[User:Gsora|Gsora]], [[User:Zcrayfish|Zcrayfish]], [[User:Omni|Omni]], [[User:Nabbi|Nabbi]], [[User:Psykose|Psykose]], [[User:Egberts|Egberts]] and thanks also for kind contributions by others that have not been active on the wiki for over five years. [[User:John3-16|John3-16]] ([[User talk:John3-16|talk]]) 19:22, 30 December 2025 (UTC) | ||
:removed draft notice as suggested. [[User:Prabuanand|Prabuanand]] ([[User talk:Prabuanand|talk]]) 04:37, 31 December 2025 (UTC) | |||
Revision as of 04:37, 31 December 2025
Needs to be adjusted for other archs
— Preceding unsigned comment added by Orson Teodoro (talk • contribs) 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.
— Preceding unsigned comment added by -anthumchris- (talk • contribs) 17:34, 23 November 2024
build_NAME
After you are done using the menu in the build-NAME folder by doing make menuconfig
It is really not clear what is meant by "the build-NAME folder" here.
Locations/paths of build config files Answer
Usually these are the directories you would look for in linux-lts apk package development (replace "x86_64" with different $ARCH if needed) (replace $YOUR_WORK_DIR to which directory you downloaded aports to),
Below should contain APKBUILD, lts.x86_64.config, virt.x86_64.config and .patch files (and more $ARCH's by default, but to keep it simple, I will just state the x86_64 files)
$YOUR_WORK_DIR/aports/main/linux-lts
ALL .patch files that are in $YOUR_WORK_DIR/aports/main/linux-lts are also in below
$YOUR_WORK_DIR/aports/main/linux-lts/src
Below is a tar compressed linux file that decompresses into linux-$VERSION
$YOUR_WORK_DIR/aports/main/linux-lts/src/linux-$VERSION.tar.gz
$YOUR_WORK_DIR/aports/main/linux-lts/src/linux-$VERSION
$YOUR_WORK_DIR/aports/main/linux-lts/src/build-lts.x86_64
$YOUR_WORK_DIR/aports/main/linux-lts/src/build-virt.x86_64
In the "APKBUILD" file, change this "source" line to this:
Contents of $YOUR_WORK_DIR/aports/main/linux-lts/APKBUILD
do make menuconfig within $YOUR_WORK_DIR/aports/main/linux-lts/src/linux-$VERSION and copy the .config file to $YOUR_WORK_DIR/aports/main/linux-lts/lts.x86_64.config and/or $YOUR_WORK_DIR/aports/main/linux-lts/virt.x86_64.config
— Preceding unsigned comment added by Pursuable1652 (talk • contribs) 16:55, 25 December 2024
build_NAME Answer
After you are done using the menu in the build-NAME folder by doing make menuconfig
the "build-NAME" folder should actually be $YOUR_WORK_DIR/aports/main/linux-lts/src/linux-$VERSION
— Preceding unsigned comment added by Pursuable1652 (talk • contribs) 16:55, 25 December 2024
Page ready for regular release?
Perhaps this Custom Kernel page is now ready for regular use, and the "This material is work-in-progress" banner can be removed, unless there is a shortcoming found. This draft state has held since it was helpfully created in 2014. Thanks for kind updates by Prabuanand, Pawciobiel, Teopp7, Fossdd, Anthumchris, Gsora, Zcrayfish, Omni, Nabbi, Psykose, Egberts and thanks also for kind contributions by others that have not been active on the wiki for over five years. John3-16 (talk) 19:22, 30 December 2025 (UTC)
- removed draft notice as suggested. Prabuanand (talk) 04:37, 31 December 2025 (UTC)