From: "Andreas K. Huettel" <dilfridge@gentoo.org>
To: gentoo-catalyst@lists.gentoo.org
Cc: "Azamat H. Hackimov" <azamat.hackimov@gmail.com>,
"Azamat H. Hackimov" <azamat.hackimov@gmail.com>
Subject: Re: [gentoo-catalyst] [PATCH] Compile external modules with dist-kernel
Date: Sun, 03 Sep 2023 22:03:19 +0200 [thread overview]
Message-ID: <3554684.3VsfAaAtOV@pinacolada> (raw)
In-Reply-To: <20230823003903.26556-1-azamat.hackimov@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1446 bytes --]
Thanks, pushed! -a
Am Mittwoch, 23. August 2023, 02:39:03 CEST schrieb Azamat H. Hackimov:
> If boot/kernel/${kernel}/packages is defined, force build external module packages for dist-kernels.
>
> Also don't unmerge kernel after merging as it may needed for building process, just deselect. Later it will be unmerged by depclean process.
> ---
> targets/support/kmerge.sh | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/targets/support/kmerge.sh b/targets/support/kmerge.sh
> index c5beddc9..7114ff91 100755
> --- a/targets/support/kmerge.sh
> +++ b/targets/support/kmerge.sh
> @@ -152,6 +152,11 @@ if [[ -n ${clst_KERNCACHE} ]]; then
> fi
>
> if [[ ${distkernel} = "yes" ]] ; then
> + # Build external kernel modules
> + if [[ -n ${kernel_merge} ]]; then
> + run_merge ${kernel_merge}
> + fi
> +
> # Kernel already built, let's run dracut to make initramfs
> distkernel_source_path=$(equery -Cq f ${ksource} | grep "/usr/src/linux-" -m1)
> distkernel_image_path=$(distkmerge_get_image_path)
> @@ -201,6 +206,6 @@ if [[ -n ${clst_KERNCACHE} && ! ${cached_kernel_found} ]]; then
> fi
>
> if [[ ! ${cached_kernel_found} ]]; then
> - run_merge -C "${ksource}"
> + run_merge --deselect "${ksource}"
> rm /usr/src/linux
> fi
>
--
Andreas K. Hüttel
dilfridge@gentoo.org
Gentoo Linux developer
(council, toolchain, base-system, perl, libreoffice)
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 981 bytes --]
prev parent reply other threads:[~2023-09-03 20:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-23 0:39 [gentoo-catalyst] [PATCH] Compile external modules with dist-kernel Azamat H. Hackimov
2023-09-03 20:03 ` Andreas K. Huettel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3554684.3VsfAaAtOV@pinacolada \
--to=dilfridge@gentoo.org \
--cc=azamat.hackimov@gmail.com \
--cc=gentoo-catalyst@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox