Skip to contentSkip to conversation

meta-parsec/layer.conf: Insert addpylib declaration

PATCH Peter Hoyes 2 participants 3 messages May 3, 2023 – May 9, 2023 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi Armin,

Quoted 10 lines · Peter Hoyes via lists.yoctoproject.org

From: Peter Hoyes <[email protected]>

Yocto mickledore introduced the addpylib directive for explicitly adding layer paths to the PYTHONPATH.

Standalone OEQA test suite discovery does not require this directive but it is required to import test cases from other layers, e.g. to extend and modify the test cases.

Is it possible that this small patch missed your filters?

Cheers, Peter

Quoted 14 lines
---
  meta-parsec/conf/layer.conf | 2 ++
  1 file changed, 2 insertions(+)
meta-parsec/conf/layer.conf +2 -0
index 0a71694..7d272a2 100644
@@ -12,3 +12,5 @@ LAYERSERIES_COMPAT_parsec-layer = "mickledore"
 
  LAYERDEPENDS_parsec-layer = "core clang-layer"
  BBLAYERS_LAYERINDEX_NAME_parsec-layer = "meta-parsec"
+
+addpylib ${LAYERDIR}/lib oeqa

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Hi again Armin,

Quoted 8 lines · Peter Hoyes via lists.yoctoproject.org

Hi Armin,

Quoted 5 lines · Peter Hoyes via lists.yoctoproject.org

From: Peter Hoyes <[email protected]>

Yocto mickledore introduced the addpylib directive for explicitly adding layer paths to the PYTHONPATH.

Quoted 8 lines
Quoted 5 lines

Standalone OEQA test suite discovery does not require this directive but it is required to import test cases from other layers, e.g. to extend and modify the test cases.

Is it possible that this small patch missed your filters?

Cheers, Peter

Thanks for merging this patch, but I've just spotted it in langdale too, which is breaking one of our internal builds as the addpylib directive is incompatible with langdale's Bitbake. Please could you revert this patch in langdale and apply to mickledore instead.

Thanks,

Peter

Quoted 23 lines
Quoted 12 lines

---
  meta-parsec/conf/layer.conf | 2 ++

  1 file changed, 2 insertions(+)
meta-parsec/conf/layer.conf +0 -0
index 0a71694..7d272a2 100644
@@ -12,3 +12,5 @@ LAYERSERIES_COMPAT_parsec-layer = "mickledore"

    LAYERDEPENDS_parsec-layer = "core clang-layer" BBLAYERS_LAYERINDEX_NAME_parsec-layer = "meta-parsec"

meta-parsec/conf/layer.conf

Quoted 2 lines
meta-parsec/conf/layer.conf +2 -0
+
+addpylib ${LAYERDIR}/lib oeqa

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59853): https://lists.yoctoproject.org/g/yocto/message/59853
Mute This Topic: https://lists.yoctoproject.org/mt/98538531/5715260
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw
Quoted 15 lines · Peter Hoyes

Hi again Armin,

Quoted 12 lines · Peter Hoyes via lists.yoctoproject.org

Hi Armin,

Quoted 9 lines · Peter Hoyes via lists.yoctoproject.org

From: Peter Hoyes <[email protected]>

Yocto mickledore introduced the addpylib directive for explicitly adding layer paths to the PYTHONPATH.

Standalone OEQA test suite discovery does not require this directive but it is required to import test cases from other layers, e.g. to extend and modify the test cases.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Is it possible that this small patch missed your filters?

Cheers, Peter

Thanks for merging this patch, but I've just spotted it in langdale too, which is breaking one of our internal builds as the addpylib directive is incompatible with langdale's Bitbake. Please could you revert this patch in langdale and apply to mickledore instead.

Done. thanks for catching that.

BR,
Armin

Quoted 28 lines

Thanks,

Peter

Quoted 23 lines
Quoted 12 lines

---
  meta-parsec/conf/layer.conf | 2 ++

  1 file changed, 2 insertions(+)
meta-parsec/conf/layer.conf +0 -0
index 0a71694..7d272a2 100644
@@ -12,3 +12,5 @@ LAYERSERIES_COMPAT_parsec-layer = "mickledore"

    LAYERDEPENDS_parsec-layer = "core clang-layer" BBLAYERS_LAYERINDEX_NAME_parsec-layer = "meta-parsec"

meta-parsec/conf/layer.conf

Quoted 2 lines
meta-parsec/conf/layer.conf +2 -0
+
+addpylib ${LAYERDIR}/lib oeqa

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59853): https://lists.yoctoproject.org/g/yocto/message/59853
Mute This Topic: https://lists.yoctoproject.org/mt/98538531/5715260
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-