FS#25451 - [linux] Inconsistency in PKGBUILD that affects custom kernels
Attached to Project:
Arch Linux
Opened by buergi (buergi) - Monday, 08 August 2011, 09:59 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 17 August 2011, 06:25 GMT
Opened by buergi (buergi) - Monday, 08 August 2011, 09:59 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 17 August 2011, 06:25 GMT
|
Details
There is a tiny inconsistency in the PKGBUILD of the linux
package.
It does actually only matter for custom kernel builds. The script changes the initramfs image paths in linux.preset but not the kernel image. I would suggest to add the following lines (at least the second one) to the corresponding section in the PKGBUILD. # set correct depmod command for install sed \ + -e "1s|'linux'|'${pkgname}'|g" \ + -e "s|ALL_kver=.*|ALL_kver=\"/boot/vmlinuz-${pkgname}\"|g" \ -e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \ or when dirty ways are allowed perhaps even just sed -e "s|linux|${pkgname}|g" (...) |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Wednesday, 17 August 2011, 06:25 GMT
Reason for closing: Duplicate
Wednesday, 17 August 2011, 06:25 GMT
Reason for closing: Duplicate
The + lines should be the new ones, just as in a diff patch.
FS#25460.The part "+ -e "1s|'linux'|'${pkgname}'|g" \" is not necessary.
Tell me, if you want me to attach the patch here, too.