From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CCEAF158089 for ; Sun, 3 Sep 2023 20:03:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0215E2BC014; Sun, 3 Sep 2023 20:03:28 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC4D72BC014 for ; Sun, 3 Sep 2023 20:03:27 +0000 (UTC) From: "Andreas K. Huettel" To: gentoo-catalyst@lists.gentoo.org Cc: "Azamat H. Hackimov" , "Azamat H. Hackimov" Subject: Re: [gentoo-catalyst] [PATCH] Compile external modules with dist-kernel Date: Sun, 03 Sep 2023 22:03:19 +0200 Message-ID: <3554684.3VsfAaAtOV@pinacolada> Organization: Gentoo Linux In-Reply-To: <20230823003903.26556-1-azamat.hackimov@gmail.com> References: <20230823003903.26556-1-azamat.hackimov@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4978215.AJdgDx1Vlc"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Archives-Salt: ae9c5907-6a0b-48e2-a39a-4c2ff429f16c X-Archives-Hash: de03a23182b328dd4f911cae441bc5ac --nextPart4978215.AJdgDx1Vlc Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; protected-headers="v1" From: "Andreas K. Huettel" To: gentoo-catalyst@lists.gentoo.org Date: Sun, 03 Sep 2023 22:03:19 +0200 Message-ID: <3554684.3VsfAaAtOV@pinacolada> Organization: Gentoo Linux In-Reply-To: <20230823003903.26556-1-azamat.hackimov@gmail.com> References: <20230823003903.26556-1-azamat.hackimov@gmail.com> MIME-Version: 1.0 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. >=20 > Also don't unmerge kernel after merging as it may needed for building pro= cess, just deselect. Later it will be unmerged by depclean process. > --- > targets/support/kmerge.sh | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) >=20 > 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 > =20 > if [[ ${distkernel} =3D "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=3D$(equery -Cq f ${ksource} | grep "/usr/src/li= nux-" -m1) > distkernel_image_path=3D$(distkmerge_get_image_path) > @@ -201,6 +206,6 @@ if [[ -n ${clst_KERNCACHE} && ! ${cached_kernel_found= } ]]; then > fi > =20 > if [[ ! ${cached_kernel_found} ]]; then > - run_merge -C "${ksource}" > + run_merge --deselect "${ksource}" > rm /usr/src/linux > fi >=20 =2D-=20 Andreas K. H=FCttel dilfridge@gentoo.org Gentoo Linux developer (council, toolchain, base-system, perl, libreoffice) --nextPart4978215.AJdgDx1Vlc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQKTBAABCgB9FiEE/Rnm0xsZLuTcY+rT3CsWIV7VQSoFAmT05odfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEZE MTlFNkQzMUIxOTJFRTREQzYzRUFEM0RDMkIxNjIxNUVENTQxMkEACgkQ3CsWIV7V QSrOqRAAp7g9Dlc5hn+sFtUwRQgwSL51gEoxC4dALDN3BBC6s1VVBqzNwYChBkIa gEhl6zFnrOkwjLIb3i1mnXQV9o5ScclIWNEO5K7PH22reX27Wod0sDGk6htPUew6 LBi1f8INuenPNRco4HrbPhR96qAwmQzdNcMVAXoZL/c0F1DbmFndnrnlVGwT/+Ab kUdKsALQThTTE4LWqk4XOa/6CKat/XDIHz0edLcOmKuCWt8+/1ZYqNGKZUwLseBe 2KRMhaGOX+QgGW+qrjt1NlCTHGMWS4SCVKUsvi+fCkaB7kGw/F+Fdn+WtZcX03rT ARC8L310aR3mVwNjnr6LJcGeIOUAnVbF8t6ard2ApityGYgbYXB/XL7eFYSeY2qH QBqKSbZi7PoLhQ823+p3Dtolt6B+SRh2wAHQrHbJp5ETNyfMbwvsLBGBXTZ9gaJ3 cHFDVqwHXLzmj2gGZFG1oJcs+Y00GvLzJC63nOyY9Z49VJhCdFlzLcSqBc6uGyNS +xU5gTCzNuI3LeeMLdAz99LOlix6WfD5n1DoPa1V2rFrmxyAl2Dry1hZuORRhfLZ pF3WKKESTc2BQv3MNbhBU6rQ+yMCoFj9+2qOizkTrTKY9hL6QxWhXAcJRtagA96b pneY05sq/36yk0onYQLO+kWAdHphy7e7pAKofEsqHkdK+JnmrZ8= =eSTj -----END PGP SIGNATURE----- --nextPart4978215.AJdgDx1Vlc--