package_srpm: handle exceptions from parse_packageconfig
parse_packageconfig() causes lots of expansions which are prone to break due to Bitbake's poor handling of Python fragments. For example this string value when expanded causes a parse failure due to...
View Articlesrpm_utils: replace systemd_unitdir
The Tizen RPM macro %{_unitdir} is the *system* unit directory, so this has to be expanded to the parent of that directory. Ugly, but it works. Signed-off-by: Ross Burton The Tizen RPM macro...
View ArticleRename "translator" task into "srpms"
This has two advantages: - it better describes what the task does ("translator - translate into what?!") - it allows using "translator" as override [ Rename changed from srpm to srpms - RB ]...
View Articlepackage_srpm: rename functions to _srcrpm
Use _srcrpm in task and function names so that _srpm is free to be used as an override. Signed-off-by: Ross Burton Use _srcrpm in task and function names so that _srpm is free to be used as an...
View Articlepackage_srpm: Add srpm OVERRIDE when translating
Add "srpm" to OVERRIDES when archiving and translating so that translation-specific modifications can be made to recipes. Based on a series of patches by Patrick Ohly. Signed-off-by: Ross Burton Add...
View Articlepackage_srpm: handle PACKAGECONFIG parse failures more gracefully
Instead of emitting an error log and later hitting unbound variables, emit a warning log and set the expected values to empty strings. Signed-off-by: Ross Burton Instead of emitting an error log and...
View Articlepackage_srpm: use translator-specific data when fetching
Don't use the original data when fetching as there may be translator-specific overrides in effect on SRC_URI. Signed-off-by: Ross Burton Don't use the original data when fetching as there may be...
View Articlepackage_srpm: replace base_do_configure with a stub
base_do_configure() simply does a clean of an existing build tree, so doesn't serve any purpose in spec files. Signed-off-by: Ross Burton base_do_configure() simply does a clean of an existing build...
View Articlepackage_srpm: fix incorrect return values from parse_packageconfig
Signed-off-by: Ross Burton Signed-off-by: Ross Burton
View Article
More Pages to Explore .....