Git rev: master/74e403705e25afec656b5e40921771a9c29bdc40 Steps: 1. Download poky source and setup the environment. 2. Add the iproute2 package to the rootfs. Add the following line to conf/local.conf: CORE_IMAGE_EXTRA_INSTALL += "iproute2" 3. Build the image and bootup. After the system bootup, there is a file named "1" in / directory. ################### # cat /1 update-alternatives: Error: cannot register alternative ip to /bin/ip since it is already registered to /sbin/ip # ################### It looks there are 2 issues: 1. The /bin/ip command from iproute2 set a wrong ALTERNATIVE_LINK_NAME 2. The log of update-alternatives is in wrong directory.
(In reply to comment #0) ... > 2. The log of update-alternatives is in wrong directory. It is not an update-alternatives issue, it is run-postinsts issue.
Merge into master: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b45f322abfa72fb0330aac9a1e4c86aebcc4598e http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b03c670d44b28c673393468bbe62919f3f8186de http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=cfe3bb097df2a9e6488b4d50f61311b97959ed26