Re: [oe-core][PATCH v4 2/2] base.bbclass: Add sysroot deps for repo fetcher

2021-11-10 Thread Jasper Orschulko
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Unless there are any more comments, I believe this patch series should
be mergable now.

- -- 
With best regards

Jasper Orschulko
DevOps Engineer

Tel. +49 30 58 58 14 265
Fax +49 30 58 58 14 999
jasper.orschu...@iris-sensing.com

• • • • • • • • • • • • • • • • • • • • • • • • • •

iris-GmbH
infrared & intelligent sensors
Schnellerstraße 1-5 | 12439 Berlin

https://iris-sensing.com/





On Wed, 2021-11-10 at 16:53 +0100, jas...@fancydomain.eu wrote:
> 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 == "npm":
>  d.appendVarFlag('do_fetch', 'depends', ' nodejs-
> native:do_populate_sysroot')
>  
> +    elif uri.scheme == "repo":
> +    needsrcrev = True
> +    d.appendVarFlag('do_fetch', 'depends', ' repo-
> native:do_populate_sysroot')
> +    d.appendVarFlag('do_fetch', 'depends', ' git-
> native:do_populate_sysroot')
> +
>  # *.lz4 should DEPEND on lz4-native for unpacking
>  if path.endswith('.lz4'):
>  d.appendVarFlag('do_unpack', 'depends', ' lz4-
> native:do_populate_sysroot')
-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEE4WyPMIC5Ap4+Ooo1Ygqew07VMNUFAmGL66cACgkQYgqew07V
MNWhOwf/c4ITfBijE4DD2gFOWj0OMAQFrdeYC8dQhsm756Kua1m0mPc5Oh61kkB9
og/bsd1qqnuabTcUHW9gVI9Hq45yPXfAy5Gyg6A10owDeCcmNgihCuTGr+sQy64W
li5OcOw59/ok6yPVqE+CaeYoHCGv1VdLR09pSdK1S9kk/3hVNOSRb9umtGb3aR6L
KmrtG71QZVVLBjTrppzIolyuy116cGfIey5zAVmrYPDHLtvwYjnt1NdBFn7OFMFV
7kIXy7aoBMXsuRxTR6mvC9GxJcwOUgsILUWLyQ62VcgNH13G5nR0zHwPamtIOT0R
eaoasSPkMl2wfevOHosrI9tgMI8hIg==
=EDCL
-END PGP SIGNATURE-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158081): 
https://lists.openembedded.org/g/openembedded-core/message/158081
Mute This Topic: https://lists.openembedded.org/mt/86960074/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe-core][PATCH v4 2/2] base.bbclass: Add sysroot deps for repo fetcher

2021-11-10 Thread Jasper Orschulko via lists.openembedded.org
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 == "npm":
 d.appendVarFlag('do_fetch', 'depends', ' 
nodejs-native:do_populate_sysroot')
 
+elif uri.scheme == "repo":
+needsrcrev = True
+d.appendVarFlag('do_fetch', 'depends', ' 
repo-native:do_populate_sysroot')
+d.appendVarFlag('do_fetch', 'depends', ' 
git-native:do_populate_sysroot')
+
 # *.lz4 should DEPEND on lz4-native for unpacking
 if path.endswith('.lz4'):
 d.appendVarFlag('do_unpack', 'depends', ' 
lz4-native:do_populate_sysroot')
-- 
2.33.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158080): 
https://lists.openembedded.org/g/openembedded-core/message/158080
Mute This Topic: https://lists.openembedded.org/mt/86960074/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-