From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E296DC433EF for ; Thu, 11 Nov 2021 10:22:08 +0000 (UTC) Received: from mx.walter.deinstapel.de (mx.walter.deinstapel.de [116.202.209.171]) by mx.groups.io with SMTP id smtpd.web09.8805.1636626126728105368 for ; Thu, 11 Nov 2021 02:22:07 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="no key for verify" header.i=@fancydomain.eu header.s=mail header.b=hvKfyfWc; spf=pass (domain: fancydomain.eu, ip: 116.202.209.171, mailfrom: jasper@fancydomain.eu) From: jasper@fancydomain.eu DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fancydomain.eu; s=mail; t=1636626114; bh=YsAwmhrgFCN7SQ2qqINnMwLtQsyf5ROvOlXWvA5u8cs=; h=From:To:Cc:Subject:In-Reply-To:References; b=hvKfyfWcyGqCrHC2GlIxrTT/jfKdl/OBT/J/RMKLhp0eZjPqZQp0o/9Dy2EvoKOQB wdibJpCiYMrLJMHzgbk+sUbmNu6ofbIOcq5u5gGoc/ZUM9HAF8nY4peN273v8xrGss MFxEjdNd/zq5wFaNtxpADa4Mdq7SUxp8mx33Zxj9FaICgnhFhZ/dPLOwEVNJdSYZwZ Yq24D3QLWapsMzjATXuh1zuwfePjMPdYAk7U+LbFxyQuHkHxdWdiXYr8FNJJUBekhS tjWyGR/L/021HMj2GYPf8keAvbFWUWxIfsYU/m6XJmnCrGJdeGGJBxZvMAyRKRPRXB xkuUfhSdaF+dg== To: openembedded-core@lists.openembedded.org Cc: martin@mko.dev, Daniel.Baumgart@iris-sensing.com, bitbake-devel@lists.openembedded.org, Jasper Orschulko Subject: [oe-core][PATCH v5 2/2] base.bbclass: Add sysroot deps for repo fetcher Date: Thu, 11 Nov 2021 11:21:24 +0100 Message-Id: <20211111102124.7661-2-jasper@fancydomain.eu> In-Reply-To: <20211111102124.7661-1-jasper@fancydomain.eu> References: <20211111102124.7661-1-jasper@fancydomain.eu> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 11 Nov 2021 10:22:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/158157 From: Jasper Orschulko Add git-native and repo-native as prerequisite for the repo fetcher. Signed-off-by: Jasper Orschulko --- meta/classes/base.bbclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index a65fcc6c1d..3298bd1952 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -665,6 +665,11 @@ python () { elif uri.scheme =3D=3D "npm": d.appendVarFlag('do_fetch', 'depends', ' nodejs-native:do_po= pulate_sysroot') =20 + elif uri.scheme =3D=3D "repo": + needsrcrev =3D True + d.appendVarFlag('do_fetch', 'depends', ' repo-native:do_popu= late_sysroot') + d.appendVarFlag('do_fetch', 'depends', ' git-native:do_popul= ate_sysroot') + # *.lz4 should DEPEND on lz4-native for unpacking if path.endswith('.lz4'): d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_popu= late_sysroot') --=20 2.33.1