Difference between revisions of "Talk:Kernel/Arch Build System"

From ArchWiki
Jump to navigation Jump to search
(→‎Dependencies: I think this problem is solved by now, both by the article and PKGBUILD makedepends. Striking off this section)
(→‎Rename linux.install instruction ambiguous: It has been more than a week since the header of this exhausted discussions got <s> tags. Following Help:Discussion#Closing_a_discussion: deleting it.)
Line 24: Line 24:
What directory are these commands supposed to be run from? [[User:Dbbolton|Dbbolton]] ([[User talk:Dbbolton|talk]]) 06:59, 9 April 2014 (UTC)
What directory are these commands supposed to be run from? [[User:Dbbolton|Dbbolton]] ([[User talk:Dbbolton|talk]]) 06:59, 9 April 2014 (UTC)
== <s>Rename linux.install instruction ambiguous</s> ==
This is ambiguous: "Depending on the PKGBUILD you may have to also rename linux.install to match the modified pkgbase."
An example of what to change it to based on some hypothetical value of pkgbase would be helpful.
:{{ic|linux.install}}, {{ic|90-linux.hook}}, and perhaps a few other files, have a {{ic|%PACKAGEBASE%}} directive that will be filled in automatically if {{ic|PKGBUILD}} is edited to have:
{{bc|1=% grep '^.\?pkgbase' PKGBUILD
#pkgbase=linux              # Build stock -ARCH kernel
pkgbase=linux-custom      # Build kernel with a different name}}
:linux-custom is just an example string. All this is mentioned at [[Kernel/Arch_Build_System#Modifying_the_PKGBUILD]]. I guess one is not expected to rename {{ic|linux.install}} to match the modified pkgbase if he followed that suggestion. [[User:Regid|Regid]] ([[User talk:Regid|talk]]) 15:31, 23 February 2019 (UTC)
:: In view of [[Special:Diff/586248/587784]], striking off the subject of this section. Should this section removed? [[User:Regid|Regid]] ([[User talk:Regid|talk]]) 15:11, 15 December 2019 (UTC)
:::Please do not top-post and see [[Help:Discussion]] for the removal policy. -- [[User:Lahwaacz|Lahwaacz]] ([[User talk:Lahwaacz|talk]]) 15:28, 15 December 2019 (UTC)

Revision as of 14:44, 25 December 2019


I edited Kernels/Arch_Build_System#Getting the Ingredients to use asp instead of abs due to the depreciation of the tool outlined here camohiddendj (talk) 10:47, 18 May 2017 (UTC)

I've clarified a number of steps, including some questions here in talk. Hope it helps. Eduncan911 (talk) 01:47, 8 May 2015 (UTC)


  • I am doing this now and 2 dependencies have shown up that are not documented, bc and xmlto. Or maybe these used to be installed with base-devel but no longer are.

SanjeevKSharma (talk) 15:31, 27 October 2013 (UTC)

At the time of this writing, bc, xmlto, and other required packages, are mentioned at PKGBUILD::makedepends. Kernel/Arch Build System#Compiling suggests to use makepkg -s, and states
The -s parameter will download any additional dependencies used by recent kernels such as xml and docs.
Regid (talk) 10:12, 19 December 2019 (UTC)


  • If somebody want to keep stock kernel beside custom one, shouldn't be the "provides" array uncommented, and changed to

provides=('kernel26' 'linux') ? --4javier 05:27, 10 January 2012 (EST)

should I also uncomment these parts in package_linux-headers() and not only in package_linux()? --Onny 11:08, 8 March 2012 (EST)
  • this page does not mention that every changed .config-file has a new md5sum which should be added into the PKGBUILD --Onny 11:24, 8 March 2012 (EST)


What directory are these commands supposed to be run from? Dbbolton (talk) 06:59, 9 April 2014 (UTC)