Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 728907 Details for
Bug 785754
Allow use of -dist kernels as boot/kernel/gentoo/sources .spec entries
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Allow use of -dist kernels in .spec files
0001-Allow-use-of-dist-kernels-in-.spec-files.patch (text/plain), 977 bytes, created by
Kenneth G. Strawn
on 2021-07-31 20:11:49 UTC
(
hide
)
Description:
Allow use of -dist kernels in .spec files
Filename:
MIME Type:
Creator:
Kenneth G. Strawn
Created:
2021-07-31 20:11:49 UTC
Size:
977 bytes
patch
obsolete
>From 3cc96ad99e400b963e7a0104fd1db26e23a6d5b9 Mon Sep 17 00:00:00 2001 >From: Kenny Strawn <Kenny.Strawn@gmail.com> >Date: Sat, 31 Jul 2021 13:06:31 -0700 >Subject: [PATCH] Allow use of -dist kernels in .spec files > >--- > targets/support/kmerge.sh | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh >index 20b471f1..3d28bd8a 100755 >--- a/targets/support/kmerge.sh >+++ b/targets/support/kmerge.sh >@@ -129,7 +129,11 @@ if [[ -n ${clst_kextraversion} ]]; then > /usr/src/linux/Makefile > fi > >-genkernel_compile >+if [[ "$clst_boot_kernel_${kname}_sources" == *"gentoo-kernel"* || "$clst_boot_kernel_${kname}_sources" == *"vanilla-kernel"* ]]; then >+ echo "Spec file points to -dist kernel package instead of sources; skipping kernel build" >+else >+ genkernel_compile >+fi > > # Write out CONFIG, USE, VERSION, and EXTRAVERSION files > if [[ -n ${clst_KERNCACHE} && ! ${cached_kernel_found} ]]; then >-- >2.32.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 785754
:
702537
| 728907