adt-installer: fix package installation issue
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Mon, 17 Sep 2012 08:06:49 +0000 (11:06 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Sep 2012 10:10:22 +0000 (11:10 +0100)
commitd410ca0c8d88b506e45393b79101acecc0ef4c3f
treebd54326a0760431f69097e736ee4847133c6a15e
parentd82c0cea0616cbf26619f9c337423d559b1afbce
adt-installer: fix package installation issue

When the cross canadian toolchains are installed, for different
architectures, they might contain common files. This leads to
installation failures since the opkg, by default, does not overwrite
files. This issue happens, for example, for binutils packages (that
contain the same locale files) or gdb (which installs some syscalls xml
files). The locale files could be removed from the binutils
cross-canadian package but we cannot do the same for the syscalls GDB
files which are used by GDB to display user friendly names for the
syscall numbers. Hence, the best solution is to force opkg to overwrite
these files.

[YOCTO #3109]

(From OE-Core rev: 3396545467df05421c3adeb4b5ec532fa95dcb06)

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal