aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/images/meta-python2-image-base.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/images/meta-python2-image-base.bb')
-rw-r--r--recipes-core/images/meta-python2-image-base.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-core/images/meta-python2-image-base.bb b/recipes-core/images/meta-python2-image-base.bb
index 6b43def..834e928 100644
--- a/recipes-core/images/meta-python2-image-base.bb
+++ b/recipes-core/images/meta-python2-image-base.bb
@@ -5,3 +5,5 @@ IMAGE_INSTALL = "packagegroup-core-boot"
LICENSE = "MIT"
inherit core-image
+
+PNBLACKLIST[meta-python2-image-base.bb] ?= "${@bb.utils.contains('I_SWEAR_TO_MIGRATE_TO_PYTHON3', 'yes', '', 'python2 is out of support for long time, read https://www.python.org/doc/sunset-python-2/ https://python3statement.org/ and if you really have to temporarily use this, then set I_SWEAR_TO_MIGRATE_TO_PYTHON3 to "yes"', d)}"