On Sun, 2025-11-16 at 04:18 -0800, Robert Yang via lists.openembedded.org wrote: > From: Robert Yang <[email protected]> > > The version-going-backwards check may fail without PRServer, and it's not easy > to debug, so warn for that. > > Signed-off-by: Robert Yang <[email protected]> > --- > meta/classes/buildhistory.bbclass | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/meta/classes/buildhistory.bbclass > b/meta/classes/buildhistory.bbclass > index 4a380c10c6..859fded472 100644 > --- a/meta/classes/buildhistory.bbclass > +++ b/meta/classes/buildhistory.bbclass > @@ -57,6 +57,11 @@ BUILDHISTORY_PRESERVE = "latest latest_srcrev sysroot" > PATCH_GIT_USER_EMAIL ?= "buildhistory@oe" > PATCH_GIT_USER_NAME ?= "OpenEmbedded" > > +python() { > + if not d.getVar('PRSERV_HOST'): > + bb.warn('PRServer is not enabled, version-going-backwards check may > fail!') > +} > +
Shouldn't this be conditional on that test being enabled? Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#226475): https://lists.openembedded.org/g/openembedded-core/message/226475 Mute This Topic: https://lists.openembedded.org/mt/116320341/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
