Bug 4926

Summary: su conflicts between attempted installs of util-linux and shadow
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Hongxu Jia <hongxu.jia>
Component: coreAssignee: Hongxu Jia <hongxu.jia>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: hongxu.jia, liezhi.yang, mark.hatle, meta.mr.watcher, meta.watcher, ning.zhang, Qi.Chen, razvanx.ionescu, sgw, yi.zhao
Version: 1.5   
Target Milestone: 1.5 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Hongxu Jia 2013-07-26 10:27:00 UTC
*env
git branch: master 67864ca79da08df752487a3a4e1a975546da123d
vim local.conf
...
IMAGE_INSTALL_append = " util-linux shadow"
...

*problem
build core-image-sato
...
Committing transaction...                                                                                             
| Preparing...                    ######################################## [  0%]
| error: file /usr/bin/su conflicts between attempted installs of util-linux-2.23.1-r0.mips32 and shadow-4.1.4.3-r13.mips32
...

*solution
Use alternatives mechanism to prevent confliction among
busybox, shadow and util-linux on su binary.
Comment 2 Razvan Ionescu 2013-10-08 15:34:52 UTC
Verified with poky: 16ce101c3f9b43ba329b6e57ee0c658907da6138 .
No more issues appeared during the build.