summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/installer/adt-installer/scripts
Commit message (Collapse)AuthorAgeFilesLines
* 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-171-18/+93
| | | | | | | | | | 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: 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>
* 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>
* Revert "Fix adt-installer for consistent naming for powerpc and add all arch ↵Jessica Zhang2011-08-312-2/+2
| | | | | | | | | | 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-292-2/+2
| | | | | | | | | 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>
* extract bitbake config setting into data_define, use more variables ↵Jessica Zhang2011-05-192-3/+2
| | | | | | | | | 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-211-1/+1
| | | | | | (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-171-3/+3
| | | | | | | | | | 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-081-1/+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>
* Fixup merge error and apply cleanupsRichard Purdie2011-03-031-1/+1
| | | | | | (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-011-1/+1
| | | | | | | | | | 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-082-2/+3
| | | | Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
* adt-intaller feature implementation, including the bitbake recipe file for ↵Liping Ke2011-01-124-0/+420
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>