summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mtd-utils: do not stage headers in sysrootAndrea Adami2012-06-281-5/+1
| | | | | | | | | | | | | | | | | * Headers are included in the package for compatibility * but have not yet been synched with linux 3.0 * The actual issue was that ubi-user.h in sysroot * was overwritten by the older version. * Unfortunately one ioctl was renamed: * http://lists.infradead.org/pipermail/linux-mtd/ * 2011-March/034419.html * Note: the recipe will still use its own older header, * following upstream. (From OE-Core rev: 2a4ab6fc2ef10202d13568aba5d7633e88aa71e5) Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mx: Upgrade to 1.4.6Saul Wold2012-06-282-111/+4
| | | | | | | | | Remove patch as introspection.m4 is now included with the upstream (From OE-Core rev: 6c33d56f0f6b472e8ba695d1f2636bc829e56696) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tiny-init: Basic init mechanism for poky-tinyDarren Hart2012-06-264-1/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently poky-tiny images will boot and run /bin/sh, which results in error messages to the console about being unable to open the tty and job control being disabled. The shell must be session leader to open the tty, and the tty must not be /dev/console (it should be a vt or a physical tty like ttyS0), the tty is required for job control (handling signals, etc.). The goals of poky-tiny are to be an initial starting point from which to build a distribution that does what you want, and NOTHING more. This patch results in a system that boots with the virtual filesystems mounted, the local network interface up, and a shell with job control running, and a hook (/etc/rc.local) for easy customization. Nothing else. Enabling the basic busybox init, including the ability to give the controlling console to commands starting with a dash in inittab results in a 5664 byte delta (compared with 2560 bytes for enabling setsid and cttyhack). Note that the help in busybox suggests the cttyhack may be more reliable than the init support for handing over the controlling terminal. So the difference between using a standard init and just enabling the two options is about 3k, but enabling setsid and cttyhack may enable others to things besides what I am looking to do. Enabling init in both DISTRO_FEATURES and busybox is fairly trivial to do, so I think it's better to leave that as something to add if needed, rather than something to remove, as that is more consistent with the goals of poky-tiny. Thanks to Tim Bird for his suggestion to include support for rc.local by default. (From meta-yocto rev: 5ae60ed46b34cbf4ab17fe7eab3d46e2f78ee7b8) Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tim Bird <tim.bird@am.sony.com> CC: Thomas Frydrych <tf+lists.yocto@r-finger.com> CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> CC: Paul Eggleton <paul.eggleton@linux.intel.com> CC: Phil Blundell <philb@gnu.org> CC: Khem Raj <raj.khem@gmail.com> CC: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Introduce poky-tiny defconfig overrideDarren Hart2012-06-262-0/+1011
| | | | | | | | | | | | | | | | | | | | | | | When building very small systems, it can be useful to spawn a shell from a simple init script, rather than a full System V Init process. This requires the shell be the session leader and be able to open the controlling terminal if it is to have job control. Create a busybox bbappend in meta-yocto with a poky-tiny/defconfig. This adds SETSID and CTTYHACK for poky-tiny on top of the oe-core defconfig. (From meta-yocto rev: 04842688748f58966be533ed6ebc95a19190a31c) Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tim Bird <tim.bird@am.sony.com> CC: Thomas Frydrych <tf+lists.yocto@r-finger.com> CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> CC: Paul Eggleton <paul.eggleton@linux.intel.com> CC: Phil Blundell <philb@gnu.org> CC: Khem Raj <raj.khem@gmail.com> CC: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsp: update yocto-bsp xorg.conf templatesTom Zanussi2012-06-262-2/+8
| | | | | | | | | | | | The non-x86 qemu machines now require an xorg.conf, change the templates accordingly. Fixes [YOCTO #2559] (From meta-yocto rev: d465c09d8df0e6d210ba8cd3c17549a07a8e134d) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsp: update yocto-bsp machine.conf templateTom Zanussi2012-06-261-2/+5
| | | | | | | | | | | | Some changes in the ordering assumptions of the qemu include rendered X inoperative, fix those in the qemu machine template. Fixes [YOCTO #2559] (From meta-yocto rev: c3d208267dea6bc0f8be2eb9c63b4125730bb21b) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* upstream_tracking: Update Upgraded and Manual Checked upstreamSaul Wold2012-06-261-34/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove VERSION and CHECK_DATE info for packages we can generate the information for automagically. Manually checked: console-tools sysfsutils cracklib less psmisc sysstat glew libmad boost libcheck libcap libexif sqlite3 Upgraded: sqlite3: Update to 3.7.13 psmisc: Update to 22.19 sysstat: Update to 10.0.5 util-linux: Update to 2.21.2 libxml2: Update to 2.8.0 mx: Upgrade to 1.4.6 libxml-simple-perl: Upgrade to 2.20 cracklib: Upgrade to 2.8.19 resolvconf: Upgrade to 1.67 libtasn1: Upgrade to 2.13 gnutls: Upgrade to 2.12.20 foomatic-filters: Upgrade to 4.0.16 libidn: Upgrade to 1.25 libtiff: Upgrade to 4.0.2 (From meta-yocto rev: 5d2f68863a7684eab4f6d3cb0054cdc26b50dd11) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers-yocto: update to v3.4 and remove unecessary codeBruce Ashfield2012-06-261-25/+7
| | | | | | | | | | | Updating the linux-libc-headers-yocto recipe to 3.4. There are blocks of code and definitions that are handled by the included libc-headers.inc, so we shouldn't be repeating them in this recipe. (From meta-yocto rev: ad8456e013907c444d972ad945b8d6e96be1d4f0) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-libc-headers-yocto: use kernel-arch to set ARCHBruce Ashfield2012-06-261-14/+3
| | | | | | | | | | | The arch mapping done in kernel-arch should be used instead of recipe local mapping. Inheriting kernel-arch consolidates the code and simplifies the libc-header recipe. (From meta-yocto rev: 4978935df1c59afdaeeb2f975647d4b6c9b7a9c3) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/yocto-project-qs/yocto-project-qs.xml: Updated Fedora packagesScott Rifenbark2012-06-261-1/+1
| | | | | | | | | | | | Changed the xsltproc package to libxslt. Fixes [YOCTO #2652] Reported-by: Cristian Ciupitu <cristian.ciupitu@yahoo.com> (From yocto-docs rev: aa187423e7516fea172cce5fbd4432810d9a63e3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/poky-ref-manual/ref-images.xml: Fixed product nameScott Rifenbark2012-06-261-1/+1
| | | | | | | (From yocto-docs rev: 58a6b4950ba5c8cc3649391f47f08513399556f2) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: Re-defined "Build Appliance" to mean the fileScott Rifenbark2012-06-262-6/+8
| | | | | | | | | | | | | | | | | Previous renditions of the term "Build Appliance" referred to the VMware system. However, it was determined that the term "Build Appliance" should really refer to the actual image that can be booted and run on the VMware applications. I have updated the areas affected by this change. The change assumes the name of the built or downloaded file you boot will be named "build-appliance-image." Fixes [YOCTO_#2656] (From yocto-docs rev: 6b27b7d92b9722351eb43a7c2a341ce3af056dba) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: Increase LAYER_CONF_VERSION to match bblayers changeRichard Purdie2012-06-251-1/+1
| | | | | | (From OE-Core rev: f4b5afe46ff018570c1949653eb6995428827f6f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bblayers.conf.sample: Fix empty BBPATH entry warningsRichard Purdie2012-06-251-1/+3
| | | | | | | | | | | | | | | | | | | | | Many people are seeing issues from the empty path warnings from BBPATH. The empty path entry corresponding to the current working directory is a problem since if cwd changes, so does BBPATH and build reproducibility. Simply removing the empty element causes problems since the build directory then isn't listed in BBPATH which means local.conf isn't found and this gives an extremely confusing error message about bbappends being unsatisfied. The build directory in bitbake terms is TOPDIR. The correct way to fix things is to add in TOPDIR into bblayers.conf itself. This means the layers can happily append/prepend to BBPATH at will as its no longer empty hence neatly solving all the various problems. Since the file has changed, the version is also changed. (From meta-yocto rev: 7bbbedf64b0820cacffe723789486d3081894827) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tcmode-default: Update gzip PREFERRED_VERSION to 1.15Saul Wold2012-06-251-1/+1
| | | | | | | (From OE-Core rev: 28d5fec9a68411343fd304be055f55974c8c5cae) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtiff: Upgrade to 4.0.2Saul Wold2012-06-251-3/+3
| | | | | | | (From OE-Core rev: 2ee374c5c1dfef2c2a480a11b4ae81802e447e7d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libidn: Upgrade to 1.25Saul Wold2012-06-251-3/+3
| | | | | | | (From OE-Core rev: 059460f1d7dc4f556a904658b4f26c2e7d684210) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* foomatic-filters: Upgrade to 4.0.16Saul Wold2012-06-251-2/+2
| | | | | | | (From OE-Core rev: 3d2a5cb06f54d31fdcab640a9b59d7398f63f70a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: Upgrade to 2.12.20Saul Wold2012-06-256-2/+2
| | | | | | | (From OE-Core rev: 49ee683e5d3168e2e61873cc3eff2ede59ed2450) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtasn1: Upgrade to 2.13Saul Wold2012-06-251-3/+3
| | | | | | | (From OE-Core rev: c3af98c939c6c126cd0b14075868defcf0e0b5fb) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* resolvconf: Upgrade to 1.67Saul Wold2012-06-251-2/+2
| | | | | | | (From OE-Core rev: 1d56ae5b923346bd4f4c6e178e3429cd4e5ba8d0) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cracklib: Upgrade to 2.8.19Saul Wold2012-06-251-3/+3
| | | | | | | (From OE-Core rev: 33e295a017ff04a746e051f778eeee3556a2c8f4) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml-simple-perl: Upgrade to 2.20Saul Wold2012-06-251-4/+4
| | | | | | | | | | Change license file to LICENSE, which now contails both Artistic-1.0 and GPL-1.0 License text (From OE-Core rev: b92478f8067e1b69bbe7338e3c0a3b082c6df46d) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: Update to 2.8.0Saul Wold2012-06-255-56/+7
| | | | | | | | | | removed 2 patches that are now fixed upstream updated hash.c LIC_FILES_CHKSUM due to updating the date to 2012 (From OE-Core rev: b13b2894217ba085931b2a0410b7715d7fa13868) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Update to 2.21.2Saul Wold2012-06-252-28/+3
| | | | | | | | | Remove patch that was corrected upstream (From OE-Core rev: 6cbcee1a7fe52437e58045d4acd169ea214b6cb3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysstat: Update to 10.0.5Saul Wold2012-06-252-8/+8
| | | | | | | (From OE-Core rev: 819bdf2add2929d19cdb6c69f492c7f0163ae0d3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psmisc: Update to 22.19Saul Wold2012-06-252-7/+7
| | | | | | | (From OE-Core rev: 5e14635427494092db9e89344e564a8fa2d90b13) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sqlite3: Update to 3.7.13Saul Wold2012-06-252-11/+11
| | | | | | | (From OE-Core rev: 935a784a52d5eef73c55a8ba624ed556f7288760) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distrodata: Fix missed VARIABLE name changeSaul Wold2012-06-251-1/+1
| | | | | | | (From OE-Core rev: f0eba1569a16553d784f8234e5ce577ff2c66c38) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.inc: Fix packageconfig optionsKhem Raj2012-06-251-1/+1
| | | | | | | | | | | | | | --{en|dis}able-gl-accel is spcefic to gl patches in 0.15.1 which may not be available for other qemu's so if someone chooses to remove gl from PACKAGECONFIG then we dont explicitly use the --disable-gl-accel option since this wont be recognised by configure. (From OE-Core rev: 68a170c9b69fc70b22167f344e6f72f028938066) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc: Fix packaging to match the new package orderKhem Raj2012-06-251-13/+15
| | | | | | | | | | This gets rid of some phony rdepends on uclibc-dev being reported (From OE-Core rev: 4eab0ed5dd23c2093992854c19ad5ab8c862746e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: update to main repo on kernel.orgPaul Gortmaker2012-06-251-5/+5
| | | | | | | | | | | This is now the authoratative repository, taking updates. The latest has a couple updated license files, vs. the previous srcrev that was used. (From OE-Core rev: b9d42ec94dfcbe92ce2a857045a0e3678c05c26c) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: upgrade to 1.8.5p2Scott Garman2012-06-252-4/+4
| | | | | | | | | LIC_FILES_CHKSUM updated due to trivial copyright date change. (From OE-Core rev: 373e4fef7b4687a875a24c2c51a89fe2f251a4a9) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gzip: upgrade to 1.5Scott Garman2012-06-253-12/+15
| | | | | | | | | | | LIC_FILES_CHKSUM updated due to trivial copyright date change. Use new update-alternatives syntax. (From OE-Core rev: 570788854be1372b095d5dd1ad0549e26c8e8992) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Remove csl gcc recipesKhem Raj2012-06-2518-1551/+0
| | | | | | | | | | sourcery toolchain is available as external pluggable toolchain if needed. (From OE-Core rev: 7d0c7a759c29669b2b5828fd75837926506acd87) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* eglibc-2.13: Retire into toolchain layerKhem Raj2012-06-2515-1050/+0
| | | | | | | | | | If anyone wants it add toolchain-layer from meta-openembedded repo to your setup (From OE-Core rev: 505d82df47628b72e2af6f73e7c33fbb9812fdd1) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-4.6: Retire into toochain-layerKhem Raj2012-06-2553-6935/+0
| | | | | | | | | | If anyone wants it add toolchain-layer from meta-openembedded repo to your setup (From OE-Core rev: a78260d8d041e606ce4d10c0bb52f196dd27832e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gpgme: updated to 1.3.2Valentin Popa2012-06-252-4/+4
| | | | | | | | | Licence update: the same licence and new copyright years added (From OE-Core rev: 0328d64cdf1daf2deee0ddc2a3aa3bbc8b812096) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu-internal: qemu fails to run on ext2 imageKang Kai2012-06-251-1/+1
| | | | | | | | | | | | | | | [Yocto 2579] When set DISTRO to poky-tiny, only ext2 image is created. But runqemu-internal doesn't set QEMUOPTIONS for ext2 image that make qemu fail to boot. Fix it for qemux86 arch since poky-tiny can only build for qemux86 now. (From OE-Core rev: 5f2f951bdcb6f29e3ece39250715293d92db5f69) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xev: updated to 1.2.0Valentin Popa2012-06-253-29/+29
| | | | | | | | | tested on sato (From OE-Core rev: e7b3040f0a0f5356949e6a51d9d9d1c8dcf1f3c9) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cml1.bbclass: Only delay exit if the command failsDarren Hart2012-06-251-1/+1
| | | | | | | | | | | | Rather than pause for 5 seconds, test the return code of the command and require user input before exiting on failure. This avoids pausing after successful command execution as well as possibly not waiting long enough if the user happens to be doing something else for 5 seconds. (From OE-Core rev: d99cc2b70bbda9a0cbc09a4430b871c287113041) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/adt-manual/adt-eclipse.xml: Updated YP settings dialogueScott Rifenbark2012-06-251-2/+2
| | | | | | | | | | The dialogue for the Yocto Project Settings is now "Yocto Project Settings" instead of "Project Yocto Settings." Updated the manual. (From yocto-docs rev: 980b4d22dab4ac681c6dc1a85e78306213799062) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/adt-manual/adt-eclipse.xml: Updated Yocto ADT Project itemScott Rifenbark2012-06-251-1/+1
| | | | | | | | | | The selection "Yocto ADT Project" has changed to "Yocto Project ADT Project." (From yocto-docs rev: aa61cd4f93e08373ef430926c008da9f28f72ff8) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/adt-manual/adt-prepare.xml: Re-worded toolchain generationScott Rifenbark2012-06-251-6/+7
| | | | | | | | | | | | | | The section that describes how to generate the cross-toolchain into the Yocto build tree erroneously referred to this process as installing the toolchain. Furthermore, it actually mentioned the creation of a toolchain tarball, which is wrong. I updated the section to more properly refer to this procedure as generating the toolchain. I also removed the bit about the tarball creation. (From yocto-docs rev: 5ae8faa651ed6bf22c5475a4eacb5c758c62cea1) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/adt-manual/adt-eclipse.xml: Updated Yocto Project ADT itemScott Rifenbark2012-06-251-1/+1
| | | | | | | | | | The item to click in the step to configure the Eclipse Yocto Plug-in changed from "Yocto ADT" to "Yocto Project ADT." (From yocto-docs rev: fc860fe497be6da189e8e48f9546b105b9ff0075) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/adt-manual/adt-prepare.xml: grammar fix.Scott Rifenbark2012-06-251-1/+1
| | | | | | | (From yocto-docs rev: e698503896615cf08366b004a66b4562f304e3b5) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: Fix for Hob bug #2323Cristian Iorga2012-06-252-12/+4
| | | | | | | | | | | Removed unnecessary button from Recipes screen and replaced the button that diplayed packages size and total image size from Packages screen with a label. (Bitbake rev: e6ff1d4bab43fdcd8af1230f1d54615f53c1978e) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: hig.py: use module tempfile to create temp fileKang Kai2012-06-251-12/+8
| | | | | | | | | | I am sorry that use os.tmpname which casue a security warning. Follow Darren's suggestion to use tempfile.NamedTemporaryFile instead. (Bitbake rev: fe514a130579302312f68821536d108c8ceb4363) Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: Ensure star character doesn't end up in mirror tarball namesRichard Purdie2012-06-252-2/+2
| | | | | | | | | | | | If '*' does end up in mirror urls accidently, some strange things can break since supports_checksum() looks for this, ud.localpath can then get ignored and this can lead to empty directories being downloaded "successfully". '*' is a special case for file urls only at this point so remove any entries that accidentlly make it in through url mapping. (Bitbake rev: 1369bec2404d942acc3618a8d005ec6868dcfd41) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: lib/bb/utils.py: remove unnecessary preserved variablesPaul Eggleton2012-06-251-2/+0
| | | | | | | | | | | | | | | | | | | | _ and LANG no longer need to be preserved from the external environment. The value of _ changes between non-pseudo-wrapped and pseudo-wrapped invocations (e.g. between "bitbake -p" and "bitbake target") and this will currently trigger a full reparse in the absence of a whitelist entry in BB_HASHCONFIG_WHITELIST, which is not ideal. LANG used to be preserved in order to ensure the C locale was being used for tools invoked by bitbake, however we now set LC_ALL in bitbake.conf to take care of this. Second part of the fix for [YOCTO #2600]. Acked-by: Jason Wessel <jason.wessel@windriver.com> (Bitbake rev: 1c531dff2fb055ecab2d462027eecec3fabc2a44) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>