Bug 6924

Summary: apt-file (from apt) depends on debianutils
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ricardo Ribalda <ricardo.ribalda>
Component: coreAssignee: Aníbal Limón <anibal.limon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: anibal.limon, meta.mr.watcher, meta.watcher
Version: 1.7   
Target Milestone: 1.8   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Ricardo Ribalda 2014-11-03 10:12:25 UTC
apt-file calls run-parts with options --list and --regex

root@neopili:~/curro/qtec/qt5022/build-qt5022-cesium/build/tmp/work/bobcat_64-poky-linux/apt/0.9.9.4-r0/apt-0.9.9.4# grep run-parts cmdline/apt-key -rn 
187:		for trusted in $(run-parts --list $TRUSTEDPARTS --regex '^.*\.gpg$'); do


busybox implementation of run-parts does not support --regex. And --list option is not enabled on yocto busybox configuration.

Adding recipe debianutils from meta-oe fixes the issue.
Comment 1 Ricardo Ribalda 2014-11-03 18:49:33 UTC
I have sent these two patches:

http://patchwork.openembedded.org/patch/82523/
http://patchwork.openembedded.org/patch/82521/