Bug 11041

Summary: LSB 4.1: lsb_release script incompatible with busybox head and find
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Athanasios Oikonomou <athoik>
Component: coreAssignee: Athanasios Oikonomou <athoik>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, ross.burton
Version: 2.2.2   
Target Milestone: 2.3 M3   
Hardware: Other   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Athanasios Oikonomou 2017-02-09 20:57:12 UTC
Busybox implementation only supports head -1 option if ENABLE_INCLUDE_SUSv2
or ENABLE_FEATURE_FANCY_HEAD configuration options are enabled. Also the -and
option for find is only supported if ENABLE_DESKTOP configuration option is
enabled. These configuration options are not enabled in several builds, which is
why this patch is needed.

Here is the required patch: https://github.com/openwebos/meta-webos/blob/master/recipes-extended/lsb/lsb/fix-lsb_release-to-work-with-busybox-head-and-find.patch
Comment 1 Ross Burton 2017-02-13 16:10:56 UTC
Can you submit that as a patch to oe-core?
Comment 2 Leonardo Sandoval Gonzalez 2017-02-16 15:41:18 UTC
Are you planning to send the patch to the oe-core ml? let me know if you need help on this task.
Comment 3 Athanasios Oikonomou 2017-02-16 18:48:33 UTC
Hi, 

I've never send a patch to oe-core ml. 

I'll see the guide and post the patch.

Just a question, the lsb_4.1.bb has PR equal to "r2". 

Should I bump the PR to r3 or it's ok to keep as is?
Comment 4 Ross Burton 2017-02-23 15:22:01 UTC
I didn't notice your comment but I see you've sent a patch.
Comment 5 Ross Burton 2017-03-20 17:33:34 UTC
Merged in oe-core 9b036ac92073cadd26819def37ac0199f1ec9934.