Bug 15749 - RECIPE_NO_UPDATE_REASON has no default value
Summary: RECIPE_NO_UPDATE_REASON has no default value
Status: RESOLVED NOTABUG
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 0.0.0
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2025-02-16 10:12 UTC by kweihmann
Modified: 2025-02-17 12:50 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kweihmann 2025-02-16 10:12:49 UTC
RECIPE_NO_UPDATE_REASON used by recipeutils is lacking a default value

> bitbake-getvar RECIPE_NO_UPDATE_REASON

returns

> The variable 'RECIPE_NO_UPDATE_REASON' is not defined

Defining a default value instead of 'None' will also make the expected
return tuple of the functionality less ambiguous, as the return type would
be a string for all of the items
Comment 1 Richard Purdie 2025-02-17 12:50:04 UTC
As per several other bugs opened of this type, we are not adding default values for the sake of it.