diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2012-09-17 11:06:49 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-21 11:10:22 +0100 |
commit | b9bd372666af10f5ff0635885f23a03a0daae2b2 (patch) | |
tree | 9c98d87826c960f47fa7a45e18875580ac21d65d /meta/recipes-devtools | |
parent | 621fec0277e5c53fe35bc0f1dc4d6892f01c51b1 (diff) | |
download | poky-b9bd372666af10f5ff0635885f23a03a0daae2b2.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools')
-rwxr-xr-x | meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal index 78ea6d0514..f113aa4b80 100755 --- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal +++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal | |||
@@ -112,7 +112,7 @@ check_result | |||
112 | 112 | ||
113 | #install below must sdk-host packages | 113 | #install below must sdk-host packages |
114 | OPKG_INSTALL_CMD="$OPKG_CMD " | 114 | OPKG_INSTALL_CMD="$OPKG_CMD " |
115 | OPKG_INSTALL_NATIVE_CMD="$OPKG_INSTALL_CMD -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR install" | 115 | OPKG_INSTALL_NATIVE_CMD="$OPKG_INSTALL_CMD --force-overwrite -f $OPKG_CONFIG_FILE -o $NATIVE_INSTALL_DIR install" |
116 | 116 | ||
117 | BASE_HOSTSDK_PKGNAMES="pseudo opkg pkgconfig libtool autoconf automake" | 117 | BASE_HOSTSDK_PKGNAMES="pseudo opkg pkgconfig libtool autoconf automake" |
118 | for pkg in $BASE_HOSTSDK_PKGNAMES; do | 118 | for pkg in $BASE_HOSTSDK_PKGNAMES; do |