@Jörg Sommer<mailto:joerg.som...@navimatix.de>

This change is already present in scarthgap branch, i am just backporting it 
from the scarthgap to kirkstone.

bb.utils.contains is better option as we are expecting a return based on 
presence of ptest enable.

[cid:75e3c0ba-b9c0-49f2-a84c-8f7a86e2ae47]<https://outlook.office.com/bookwithme/user/fcab7d9903984b91a5841c51f49bd...@kpit.com?anonymous&ep=bwmEmailSignature>
         Book time to meet with 
me<https://outlook.office.com/bookwithme/user/fcab7d9903984b91a5841c51f49bd...@kpit.com?anonymous&ep=bwmEmailSignature>
________________________________
From: Jörg Sommer <joerg.som...@navimatix.de>
Sent: Monday, February 3, 2025 10:17 PM
To: thakur.virendra1...@gmail.com <thakur.virendra1...@gmail.com>
Cc: openembedded-devel@lists.openembedded.org 
<openembedded-devel@lists.openembedded.org>; Virendra Kumar Thakur 
<virendra.tha...@kpit.com>
Subject: Re: [oe] [meta-oe][kirkstone][PATCH] libssh: Add ptest

Caution: This email originated from outside of the KPIT. Do not click links or 
open attachments unless you recognize the sender and know the content is safe.

virendra thakur via lists.openembedded.org schrieb am Mo 03. Feb, 13:26 (+0530):
> diff --git a/meta-oe/recipes-support/libssh/libssh_0.8.9.bb 
> b/meta-oe/recipes-support/libssh/libssh_0.8.9.bb
> index 98910d3068..7d0fc2d32f 100644
> --- a/meta-oe/recipes-support/libssh/libssh_0.8.9.bb
> +++ b/meta-oe/recipes-support/libssh/libssh_0.8.9.bb
> @@ -18,17 +18,19 @@ SRC_URI = 
> "git://git.libssh.org/projects/libssh.git;protocol=https;branch=stable
>             file://004_CVE-2023-6004.patch \
>             file://005_CVE-2023-6004.patch \
>             file://006_CVE-2023-6004.patch \
> +           
> file://0001-tests-CMakeLists.txt-do-not-search-ssh-sshd-commands.patch \
> +           file://run-ptest \
>            "
>  SRCREV = "04685a74df9ce1db1bc116a83a0da78b4f4fa1f8"
>
>  S = "${WORKDIR}/git"
>
> -inherit cmake
> +inherit cmake ptest
>
> -PACKAGECONFIG ??= "gcrypt"
> +PACKAGECONFIG ??= "gcrypt ${@bb.utils.contains('PTEST_ENABLED', '1', 
> 'tests', '', d)}"

Would `oe.utils.vartrue()` be better?


Regards Jörg


--
MCSE = Minesweeper Consultant & Solitaire Expert

Navimatix GmbH           T: 03641 - 327 99 0
Tatzendpromenade 2       F: 03641 - 526 306
07745 Jena               
https://apc01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.navimatix.de%2F&data=05%7C02%7CVirendra.Thakur%40kpit.com%7C56eadaaaddd3470f2eb908dd4472860f%7C3539451eb46e4a26a242ff61502855c7%7C0%7C0%7C638741980907356124%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=2jFgh%2BF8v67We4q4YApHdbHoydo4l2HYjy0SWcUP4ko%3D&reserved=0<http://www.navimatix.de/>

Geschäftsführer: Steffen Späthe, Jan Rommeley
Registergericht: Amtsgericht Jena, HRB 501480
This message contains information that may be privileged or confidential and is 
the property of the KPIT Technologies Ltd. It is intended only for the person 
to whom it is addressed. If you are not the intended recipient, you are not 
authorized to read, print, retain copy, disseminate, distribute, or use this 
message or any part thereof. If you receive this message in error, please 
notify the sender immediately and delete all copies of this message. KPIT 
Technologies Ltd. does not accept any liability for virus infected mails.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#115269): 
https://lists.openembedded.org/g/openembedded-devel/message/115269
Mute This Topic: https://lists.openembedded.org/mt/110967396/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to