summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/installer/adt-installer
Commit message (Collapse)AuthorAgeFilesLines
* adt_installer: do not install rootfs if target is not selectedLaurentiu Palcu2014-01-223-15/+15
| | | | | | | | | | | | | | | | | | | | | | Currently, if YOCTOADT_TARGETS does not contain an architecture but the rootfs/machine settings are uncommented, then the rootfs is installed and adt will throw an error because is not able to find the toolchain environment script. This patch will: * not allow to install a target rootfs if the toolchain for the target architecture is not selected; * uncomment the target rootfs/machine settings for the other architectures since it's easier for the user to just add a new architecture in YOCTOADT_TARGETS and have the target rootfs installed; [YOCTO #5727] (From OE-Core rev: 22351d27de76b39cb71904396e73497e36d9e1d6) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt_installer: Fix missing autogen.sh errorRichard Purdie2013-11-301-1/+1
| | | | | | | | | | | | With the transition from svn -> tarball release, this issue was missed. Instead of using autogen.sh, we can call configure directly. [YOCTO #5606] (From OE-Core rev: 776e3b19160e5e1cceec1a8941c831be4d1f82b0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-installer: add warning if MACHINE is not set in adt-installer.confLaurentiu Palcu2013-09-263-8/+20
| | | | | | | | | | | | | | | | | | | | | | | Since the MACHINE can now be specified in adt-installer.conf, in order to install the proper toolchain and environment script for the given machine, add a sanity checking at the beginning to make sure MACHINE is set for the wanted architecture. Also: * uncomment the x86 target variables, in adt-installer.conf, in order to have qemux86 MACHINE set, by default, and also the sysroot installed (since it doesn't make much sense to install the toolchain without a target sysroot); * remove 'sudo' when creating relocate_sdk_tmp.py because the file is created in adt-installer directory; [YOCTO #5259] (From OE-Core rev: 0623a0e1bd7cf0c405a0469e9f16779971c0c3b5) 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>
* adt-installer: check if sudo is needed when installing target sysrootLaurentiu Palcu2013-09-261-20/+31
| | | | | | | | | | | | | | | | | Currently, if SDK is installed in a directory that needs sudo preivileges, the target sysroot is also installed with sudo, even though the location is in users's home directory. This patch reuses the ownership checking code and uses it to check if sudo is needed for target sysroot too. [YOCTO #5259] (From OE-Core rev: 5acfced041477d8c272485196e87ad601a0ce5b4) 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>
* adt-installer: fix opkg repo nameLaurentiu Palcu2013-09-142-2/+2
| | | | | | | | | | | | | I mistakenly named the allarch opkg repo the same as nativesdk one... This patch fixes it. [YOCTO #5181] (From OE-Core rev: 98f39b0ae4ed45194a165de3913f27745481cb7a) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-installer: allow installation of other machinesLaurentiu Palcu2013-09-105-40/+42
| | | | | | | | | | | | | | | | | | | | | | | | | Currently, adt-installer allows only the installation of qemu target sysroots. The changes in this patch do the following: * add a new setting in adt-installer.conf (YOCTOADT_TARGET_MACHINE) for each target architecture. For example, for arm we can choose to use a qemuarm sysroot or a beagleboard sysroot. By default, only the qemu target sysroots are selected (current behavior); * change adt_installer scripts to allow installing the correct meta-environment package for the selected machine; * remove some left-over commented lines; * use packagegroup-cross-canadian-${MACHINE} when installing the cross canadian packages instead of doing it separately for each package; * change the opkg config files in order to be able to find the packagegroup package, which is allarch; [YOCTO #4783] (From OE-Core rev: 02085d410bf734e833d45293f4d5b06bb9536a60) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt_installer: allow specifying relative target sysroot pathsLaurentiu Palcu2013-08-032-0/+6
| | | | | | | | | | | | | | | | If one specifies a relative target sysroot path, then he/she must always be in the same directory in order to be able to compile. With this patch, adt_installer will automatically convert user supplied relative paths to absolute. [YOCTO #4955] (From OE-Core rev: 1abf13cb035fa9e02f0c6a1c6f3524b649d2a701) 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>
* adt_installer_internal: fix spelling errorBeth Flanagan2013-07-241-1/+1
| | | | | | | | | | s/envrionement/environment/ (From OE-Core rev: 5ace1d88efc37b70516eeb1a609ea37a657a5ce0) Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_base.bbclass: use new perm option for findStefan Stanacar2013-07-181-1/+1
| | | | | | | | | | | | | | | | Old way find -perm +mode is no longer supported in newer versions of find (Fedora 19). Man page says: -perm +mode This is no longer supported (and has been deprecated since 2005). Use -perm /mode instead. [YOCTO #4853] (From OE-Core rev: 21b079e01873e2fb4d8674541e8c5818ba73554e) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt_installer_internal:add sudo when permission deny on installation directoryHongxu Jia2013-06-281-2/+2
| | | | | | | | | | | | | When the user doesn't have rights to access the installation directory, the sdk installation will fail, add sudo to fix this. [YOCTO #4760] (From OE-Core rev: 040010d04672c93f18d60308ecf3c26a26ec5fd3) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt_installer_internal:fix perl lib version mismatchHongxu Jia2013-06-281-0/+7
| | | | | | | | | | | | | | | | | | | | When run "autoreconf" in toolchain, there is an error if the host's perl's version is not the same as the one in the SDK, the error says that the executable perl mismatches the perl lib's version. This is because most of the autotools' scripts use the "#!/usr/bin/perl -w" which is host perl, but the gnu-configize uses "#! /usr/bin/env perl" which invokes the perl wrapper in the SDK, and the wrapper will set the PERL5LIB to the SDK which causes the mismatch. We can make all the perl scripts to use the host perl or the SDK perl to fix this problem. [YOCTO #4758] (From OE-Core rev: 487d1fa7b79e89518494986461c157bace842613) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt_installer_internal: fix perl modules relocated failed on older distributionsHongxu Jia2013-06-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The perl module for automake has an embedded path in it, this needs to be relocated. Older versions of 'file' do not return the "ASCII" text in the output for a perl module file. Hence, the regex pattern didn't match perl module and they were not getting relocated at all on older distributions. 1) On CentOS release 6.4, the version of file is 5.04 $ file /usr/lib/perl5/Config_heavy.pl $ /usr/lib/perl5/Config_heavy.pl: Perl5 module source text 2) On Ubuntu 13.04, the version of file is 5.11 $ file /usr/lib/perl/5.14/Config_heavy.pl $ /usr/lib/perl/5.14/Config_heavy.pl: C source, ASCII text, with very long lines [YOCTO #4550] (From OE-Core rev: 7cfab2c895bf4daa7716fb7509e367bf74f016e4) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_sdk_base, adt_installer: abort install if path contains spacesLaurentiu Palcu2013-06-251-4/+9
| | | | | | | | | | | | | | | | | | | Spaces are not handled properly in some parts of oe-core and it's safer to abort toolchain installation if path contains spaces. Even though we fix space handling in the toolchain installation script, there are various other parts in the toolchain (perl scripts, sysroot path passed to toolchain binaries, shebang lines) that would need special handling. So, for now, just bail out if path contains spaces. The checking for spaces in the path is done after expanding relative paths to absolute and tilde conversion. [YOCTO #4488] (From OE-Core rev: 8c35ba2d3048ce69f74f72cb2676e4bc162cfb63) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-installer: do not dereference symlinks when relocatingLaurentiu Palcu2013-05-021-1/+1
| | | | | | | | | | | | This was already fixed for meta-toolchain. [YOCTO #4157] (From OE-Core rev: 9e9331a4b859c4205c2a0406ab0224ac575e351b) 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>
* populate_sdk_base, adt_installer_internal: fix issue on older distributionsLaurentiu Palcu2012-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This patch addresses an SDK installer issue on older distributions if the installation takes place in another directory than the default one. In fact, is all about the 'file' utility version used for determining if a file is a text file. For example, for a perl script, newer 'file' versions return: "...script, ASCII text executable" while older versions return: "...script text executable" Hence the regex pattern didn't match the scripts. Also the patch contains two unrelated minor fixes: * return an exit code of 1 instead of -1 when installation machine is not supported. That because on an older distribution we also get this error message: "exit: 9: Illegal number: -1"; * remove unnecessary $SUDO_EXEC prefix to grep; [YOCTO #3538] (From OE-Core rev: e7e23a1e5aae4028e21e37ec09e9d431a9adfbcb) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix the first line typo of adt-installerJessica Zhang2012-11-181-1/+1
| | | | | | | | | [YOCTO #3384] (From OE-Core rev: 039e119590b2f3e1d912b446fa68b6cf936d21c2) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-installer: add sudo when relocating symlinksLaurentiu Palcu2012-09-241-1/+1
| | | | | | | | | | This is needed if installation is done in a directory that needs root privileges. (From OE-Core rev: 28823486ba8ce4d88bbad3cea696ce9fba0cc165) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* SDK: relocate symlinks tooLaurentiu Palcu2012-09-211-0/+5
| | | | | | | | | | | | | | The directory usr/libexec/ in the SDK sysroot contains the default symlinks to the toolchain binaries and these, too, need to point to the correct toolchain path. [YOCTO #3090] (From OE-Core rev: 6e4923c0c9b218271fd44d78df9987b5cabb1c03) 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>
* adt-installer: ensure directory exists before copying/removingLaurentiu Palcu2012-09-211-25/+27
| | | | | | | | | | | | | | If the installation is done in a directory which already contains a valid installation, opkg will not install anything and the moving the contents of /install/dir/opt/poky/1.2 (for example) to /install/dir will throw some errors. However, the install directory will not be affected. This patch will ensure that the /install/dir/opt/poky/1.2 exists. (From OE-Core rev: 1cd01533cbec0e9ed61bbd33ecdf5dc306a32eec) 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>
* SDK: fix installation into symlinked directoriesLaurentiu Palcu2012-09-212-2/+6
| | | | | | | | | | | | | | | | | | | The SDK installation scripts should not canonicalize symlinked directories because the entire relocation would be done to the directory to which the symlink points. Instead, if the installation is a symlink, use that path to relocate the binaries. For example, if we have the following symlink: /opt/sdk -> ~/my/test/sdk the binaries will be relocated to /opt/sdk not ~/my/test/sdk as it is done now. [YOCTO #3102] (From OE-Core rev: 9e6a25e2e9a7f37c3baa0b2949a43ac4127868da) 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>
* adt-installer: fix package installation issueLaurentiu Palcu2012-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | 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>
* adt-installer: Allow changing YOCTOADT_REPOElizabeth Flanagan2012-09-051-1/+1
| | | | | | | | | | | | | | | | YOCTOADT_REPO within adt-installer.conf was hardcoded to http://adtrepo.yoctoproject.org/${SDK_VERSION} This allows it to be overriden in local.conf by setting ADTREPO = "http://adtrepo.yoctoproject.org/${SDK_VERSION}" I'm also fixing a bad rm in do_populate_adt. The file name that is being rm'd is wrong. (From OE-Core rev: 610f8c0c0cab8e258919689fd641faec28b58caf) Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk: Switch to using nativesdk as a prefix, not a suffixRichard Purdie2012-09-021-4/+4
| | | | | | | | | | | | | | | As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. (From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu-export-rootfs and friends: don't put pseudo db in target fsPeter Seebach2012-08-291-4/+4
| | | | | | | | | | | | | | | | | | | | In a few places, we have scripts which use <rootfs>/var/pseudo for the pseudo state directory controlling a given filesystem. This seems possibly risky because it means that stuff running under qemu or whatnot could wipe out the data being used to handle that rootfs. Move this to: <rootfs>/../$(basename_rootfs).pseudo_state to avoid problems. This also solves at least one case (not directly hit by yocto's tree) wherein you could end up trying to remove a rootfs while pseudo was using a database inside that rootfs, and thus the remove would fail. (From OE-Core rev: aa5d6bd006d3b4eede21d8987451876ed3385ab8) Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-installer: add support for relocatable SDKLaurentiu Palcu2012-08-172-18/+104
| | | | | | | | | | Since we made the SDK relocatable, we have to add this functionality to adt-installer too. (From OE-Core rev: 0fa784c261050c632b7237ba3d43a148ab71b0ca) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-installer: Fixed ppc kernel naming.Lianhao Lu2012-04-102-12/+12
| | | | | | | | | | | | | | 1. Fixed the ppc kernel naming. 2. Disabled opkg shared library to avoid runtime opkg-cl launching error. 3. Adjusted the variable sequence in adt-installer.conf Fixed bug [YOCTO #2233] (From OE-Core rev: fdf65d9f12d67f4290b83253efdbb34e5551fbb2) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-installer: Adapted environment file name for powerpc.Lianhao Lu2012-03-301-2/+0
| | | | | | | | | | | | Adpated to the new environment file name for powerpc, due to the oe-core commit c2d96179. Fixed bug [YOCTO #2055]. (From OE-Core rev: bebcac5e6eaceb7bdafa6432e42fe8073a42c6d2) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-installer: Corrected wrong environment file names.Lianhao Lu2012-03-081-0/+2
| | | | | | | | | | | | [YOCTO #2055] 1. Corrected the wrong environment file name for powerpc. 2. Removed unnecessary variables in adt_installer.conf. (From OE-Core rev: 9c52fe75b7f77feda075e9c5296448dea6ff7922) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix the issue that adt-installer tar ball is not regenerated if sstate is ↵Jessica Zhang2012-02-011-1/+1
| | | | | | | | | on, and other minor bug fixes (From OE-Core rev: 61da952fdc2996c27c56234c36116a69a23a378d) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-installer: install autoconf(/automake)-nativesdkLianhao Lu2012-01-191-12/+6
| | | | | | | | | | [YOCTO #1909] Install autoconf-nativesdk and automake-nativesdk to host. (From OE-Core rev: 0b3842f5c3c1587d25e70bc8223e2b144b9043cb) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix powerpc term and provide more template for different archesJessica Zhang2011-08-311-1/+14
| | | | | | | (From OE-Core rev: bf9e9961ec4e7b2d10f25b550b902df62b3939b1) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "Fix adt-installer for consistent naming for powerpc and add all arch ↵Jessica Zhang2011-08-313-17/+4
| | | | | | | | | | template for installation" This reverts commit ae4ad20edbb6ea023155f7ae2b00871d479e370d. (From OE-Core rev: 13d713dccd7fedb5a223f1292227e177d7a44164) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fix adt-installer for consistent naming for powerpc and add all arch ↵Jessica Zhang2011-08-293-4/+17
| | | | | | | | | template for installation (From OE-Core rev: 299402832cc461f2db58481ccbb1a3a8ac92a7d0) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-installer: Removed the hard coded repo url.Lianhao Lu2011-08-232-2/+2
| | | | | | | | | | [YOCTO #1380] Removed the hard coded repo url in opkg configuration files. (From OE-Core rev: 125eae393a3448e1ff5f3c2cf782ed7b3aa23920) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add adt repo checkingJessica Zhang2011-05-192-2/+13
| | | | | | | (From OE-Core rev: 0004344116f816167d368d012d1d8aeaee1cb010) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* extract bitbake config setting into data_define, use more variables ↵Jessica Zhang2011-05-194-5/+4
| | | | | | | | | replacing hardcoded values (From OE-Core rev: 993a2367f881f1f4eaa10339cde93c7058660d67) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt_installer_internal: Remove hardcoded Poky referencesRichard Purdie2011-04-211-3/+3
| | | | | | (From OE-Core rev: 372f8c841f715d9e21e7cef4fd4106f1559795a8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* POKY_NATIVE_SYSROOT -> OECORE_NATIVE_SYSROOTRichard Purdie2011-04-212-6/+6
| | | | | | (From OE-Core rev: c056aeaa13549b404088e3d465f3b03443e5ab88) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Rename poky-image-* -> core-image-* and task-poky-* -> task-core-*Richard Purdie2011-04-212-3/+3
| | | | | | (From OE-Core rev: 560b04181d8f51d189b99f01a72f17210dadf7a3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ADT: bug fix for nameing and do_patch sequenceLiping Ke2011-03-172-8/+11
| | | | | | | | | | This patch is for fixing the x86-64 image name bug and also, do_patch must be done before do_deploy. (From OE-Core rev: 95e27a0f604796b30d7e7e1d58d0925942cfefa9) Signed-off-by: Liping Ke <liping.ke@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt: fix ppc/powerpcc naming bugLiping Ke2011-03-142-3/+5
| | | | | | | | | | | | for ipk files on ppc, the name should be powerpc. So does the environment file name. For the tar file name, it should be ppc. This patch is to correct the arch/machine name pair. Related Bug#864 (From OE-Core rev: 9b94486c6cc7295ed872e3c03ea297c3f3c7dcdf) Signed-off-by: Liping ke <liping.ke@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt: removed unused repo source and opkg optionsLiping Ke2011-03-083-3/+1
| | | | | | | | | | | | opgk option --force-overwrite is only a workaround for bug #547. Now this bug is gone, so remove this option. and also, the first opkg repo source is not useful, remove it. (From OE-Core rev: e6c72db2ac5684dd2bb65207b2f3da7214f5dca7) Signed-off-by: Liping Ke <liping.ke@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt: Update to svn r596 to fix symbolic link issuesLiping Ke2011-03-081-1/+1
| | | | | | | | | | | See the longlinksfix patch for details but symlinks over 100 chars long were broken in sdk tarballs and its due to problems in the inbuilt tar in libbb in opkg. svn r596 has already fixed the problem. (From OE-Core rev: 90d4624f0c5de6a35eace1f13c3e04df9737390c) Signed-off-by: Liping Ke <liping.ke@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Fixup merge error and apply cleanupsRichard Purdie2011-03-032-2/+2
| | | | | | (From OE-Core rev: a72822d315d7bc35a424b0807693ad7a3317c519) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ADT: Bug fix for Suse LinuxLiping Ke2011-03-032-2/+2
| | | | | | | | | | | | | On Suse linux11.2, we found when using sudo, we must add -E opts to preserver some network proxy environment settings. Otherwise, opkg-cl can't access files behind firewall. [bug #785] Also, we need to add absolute path when sourcing files. Fix for [bug #786] (From OE-Core rev: 794da1a4cffaedc8a9ceeb0b089d7236b22e7913) Signed-off-by: Liping Ke <liping.ke@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add libtool-nativesdk for ADTLiping Ke2011-03-031-0/+3
| | | | | | | | | | We need to add libtool native sdk support in ADT installer. This patch fix #bug 791 (From OE-Core rev: a003ba3d2b80dc08d128f9b58890fe89c612236d) Signed-off-by: Liping Ke <liping.ke@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ADT: Fix several bugs for adt installerLiping Ke2011-03-013-9/+10
| | | | | | | | | | Two bugs are found 1) image download file path is not correct. So even if file is downloaded already, it can't be detected. 2) several images now are renamed, such as sato-dev, sato-sdk, we need to change the name accordingly. Signed-off-by: Liping Ke <liping.ke@intel.com>
* ADT: Fix check_result script cond comparison bugLiping Ke2011-02-211-4/+4
| | | | | | | | | When meeting errors, the return number can't be directly compared with -1. Actually, it might be represented as 255. The correct way is to compared it with 0. If the result is non-zero number, we meet error. This patch is for fixing [BUGID #742] Signed-off-by: Liping Ke <liping.ke@intel.coom>
* adt-installer: change to adopt the adt public repo directory layoutJessica Zhang2011-02-087-17/+16
| | | | Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
* adt-intaller feature implementation, including the bitbake recipe file for ↵Liping Ke2011-01-128-0/+853
creating the intaller tar file under /tmp/deploy/sdk, and the adt-installer script files and config files, set the reference to adt repo entry empty before it's setup Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>