[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: [OE-core] [PATCH 7/9] devtool: print a warning on upgrades if PREFERRED_VERSION is set
From: "Alexander Kanavin" <alex.kanavin () gmail ! com>
Date: 2021-07-30 11:45:05
Message-ID: 20210730114507.732448-7-alex.kanavin () gmail ! com
[Download RAW message or body]
Content-Transfer-Encoding: 8bit
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
scripts/lib/devtool/upgrade.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py
index da1456a01a..65e19853dc 100644
--- a/scripts/lib/devtool/upgrade.py
+++ b/scripts/lib/devtool/upgrade.py
@@ -583,6 +583,9 @@ def upgrade(args, config, basepath, workspace):
logger.info('New recipe is %s' % rf)
if license_diff:
logger.info('License checksums have been updated in the new recipe; \
please refer to it for the difference between the old and the new license texts.') + \
preferred_version = rd.getVar('PREFERRED_VERSION_%s' % rd.getVar('PN')) + if \
preferred_version: + logger.warning('Version is pinned to %s via \
PREFERRED_VERSION; it may need adjustment to match the new version before any further \
steps are taken' % preferred_version) finally:
tinfoil.shutdown()
return 0
--
2.31.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#154277): https://lists.openembedded.org/g/openembedded-core/message/154277
Mute This Topic: https://lists.openembedded.org/mt/84548200/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic