summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gnupg: add libusb to DEPENDSTom Zanussi2012-06-141-2/+2
| | | | | | | | | | | | | | | | | | | | gnupg apparently depends on libusb: | error: Failed dependencies: | libusb-0.1-4 >= 0.1.3 is needed by gnupg-2.0.18-r1.core2 So add libusb to gnupg DEPENDS. (From OE-Core rev: 1a76f50c1f159477a86dc7a6cb95873cee05d9e6) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Resolved merge conflicts when importing from oe-core master. Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* webkit-gtk: Use glib as unicode backend to avoid browser crashZhai Edwin2012-06-141-1/+9
| | | | | | | | | | | | | webkit-gtk depends on ICU for the unicode, but ICU is not safe when build and target system owns different endian. ICU's community is not responsive to make a patch for this, so glib is used as work around here. [YOCTO #1570] got fixed (From OE-Core rev: df83a9480ba7b2fd2bcc0a92932d51434d7795a0) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/sanity: send sanity check failure as a separate event for HobPaul Eggleton2012-06-141-3/+13
| | | | | | | | | | | | | | | | | | In order to show a friendlier error message within Hob that does not bury the actual sanity error in our typical preamble about disabling sanity checks, use a separate event to indicate that sanity checks failed. This change is intended to work together with the related change to BitBake, however it has a check to ensure that it does not fail with older versions that do not include that change. Fixes [YOCTO #2336]. (From OE-Core rev: 3788f9bcb36cca90ca8cf650c9d33f5485e3087b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: copy the data store and finalise before running checksJoshua Lock2012-06-141-59/+68
| | | | | | | | | | | | | At the ConfigParsed event the datastore has yet to be finalised and thus appends and overrides have not been set. To ensure the sanity check is being run against the configuration values the user has set call finalize() on a copy of the datastore and pass that for all sanity checks. (From OE-Core rev: 527e26ea1e44f114fc9fcec1bc7d83156dba1a70) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: Ensure ${S} is cleaned at the start of rootfs generationRichard Purdie2012-06-141-0/+1
| | | | | | | | | | | | | Some image classes such as bootimg save files into ${S} as part of rootfs generation. For correctness we should therefore clean this at the start of image generation to ensure reproducibility. I found this issue when some files I thought should disappear from my rootfs would not disappear. (From OE-Core rev: 23b7d7dab475caca4558e3b20db534122bee1525) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: fixed wrong `chmod` pathMihai Lindner2012-06-141-3/+3
| | | | | | | | | | | | Placed $D between braces ${D} to be correctly expanded to the workdir path, instead of a path relative to host rootfs. Currently, bitbake sudo fails on host systems where sudo is not installed. (From OE-Core rev: 83c5acfe4731990c296be1bf67059452a72f9584) Signed-off-by: Mihai Lindner <mihaix.lindner@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Improve wget timeoutsRichard Purdie2012-06-141-4/+4
| | | | | | | | | | | The wget default is a 900 second timeout and 20 retries. This is way too long for most of our usecases so this patch changes it to a 30 second timeout and reduces retries from 5 to 2. We have good mirror infrastructure, this will let us fall back to it easier. (From OE-Core rev: dbb88617576ea9bbeec08f5e5e15c26c4c18347f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Avoid occasional builling failure when having parallel processable taskXiaofeng Yan2012-06-141-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ncurses failure non-gplv3 build (race issue) like the following \ error information: | tic: error while loading shared libraries: /srv/home/pokybuild \ /yocto-autobuilder/yocto-slave/nightly-non-gpl3/build/build/tmp/\ work/x86_64-linux/ncurses-native-5.9-r8.1/ncurses-5.9/narrowc/lib\ /libtinfo.so.5: file too short | ? tic could not build /srv/home/pokybuild/yocto-autobuilder/\ yocto-slave/nightly-non-gpl3/build/build/tmp/work/x86_64-linux/\ ncurses-native-5.9-r8.1/image/srv/home/pokybuild/yocto-autobuilder\ /yocto-slave/nightly-non-gpl3/build/build/tmp/sysroots/x86_64-linux\ /usr/share/terminfo | make[1]: *** [install.data] Error 1 This is a race issue which is caused by install.libs and install.data: 1) install.data needs run tic 2) tic needs libtinfo.so 3) install.libs would regenerate libtinfo.so 4) but install.data doesn't depend on install.libs, and they can run parallelly So there would be errors in a very critical condition: tic is begining to run at the same time when install.libs is generating libtinfo.so, and this libtinfo.so is not integrity, then there would be the above error. Let task install.libs run before install.data for fixing this bug. [YOCTO #2298] (From OE-Core rev: 6993570787a97fbca5ea81513b0120c6d7563484) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm 5.4.0: respect to the arch when choose the alternativesRobert Yang2012-06-142-1/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a bug if we: 1) bitbake diffutils with MACHINE=crownbay 2) bitbake diffutils with MACHINE=qemux86 3) bitbake core-image-sato with MACHINE=crownbay Then the diffutils.i586 would be installed to the crownbay's image, this is because diffutils.i586 is newer than diffutils.core2, and rpm doesn't respect to the arch priorities: We have put the archs in order in _solve_dbpath: crownbay/solvedb:core2/solvedb:i586/solvedb:all/solvedb Fix rpm to respect to the order, for example, if it finds a pkg in both core2/ and i586/, and the core2/ comes first, it should not use the one in i586/ even if it's build time is newer. Note: Don't worry about the _free(*ptr), it can check whether ptr is NULL or not. This is for the denzil branch, and the master branch also needs it. [YOCTO #2360] (From OE-Core rev: 2199e6b9c82bb2b6738e87903f30329586db20e2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Update version to 1.15.2 (correspdoning to Yocto 1.2 release)Richard Purdie2012-06-052-2/+2
| | | | | | (Bitbake rev: 270a05b0b4ba0959fe0624d2a4885d7b70426da5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: add original url show function with the tooltip hyperlink for userLiming An2012-06-051-0/+19
| | | | | | | | | | | | | When case about No browser, such as running in 'Build Appliance', user can't open the hyper link, so add this work around for user. (Checking the browser is avaiable or not is hard by different system and browser type) [YOCTO #2340] (Bitbake rev: 02cc701869bceb2d0e11fe3cf51fb0582cda01b0) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: change the refresh icon speed to make it view clearLiming An2012-06-051-1/+1
| | | | | | | | | | | Because the arrow icon refresh so fast as the go backward by illusion, so adjust it slow. [YOCTO #2335] (Bitbake rev: ac4a8885fafdc0d1e79831334ead9a8ddb6e2472) Signed-off-by: Liming An <limingx.l.an@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Hob: Clear the building status if command failedDongxiao Xu2012-06-051-0/+2
| | | | | | | | | | | | We may meet certain command failure during build time, for example, out of memory. In this case, we need to clear the "building" status. This fixes [YOCTO #2371] (Bitbake rev: 283dbbbf5d34adb4c9e3aa87e3925fdebe21ff42) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-bsp: clarify help with reference to meta-intelTom Zanussi2012-06-051-4/+44
| | | | | | | | | | | | | | The current yocto-bsp help assumes knowledge that the meta-intel layer needs to be cloned before it's put into the BBLAYERS. Avoid the guesswork and state the details explicitly in the help. Also, the shorter 'usage' string doesn't mention it at all; it would help to at minimum mention it and refer the user to the detailed help. Fixes [YOCTO #2330]. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-kernel: use BUILDDIR to find bblayers.confTom Zanussi2012-06-051-1/+6
| | | | | | | | | | | The current code assumes that builddir == srcdir/build, which it obviously isn't sometimes. Use BUILDDIR to get the actual builddir being used. Fixes [YOCTO #2219]. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* netbase: Correctly set FILESEXTRAPATHS to include the versionRichard Purdie2012-06-051-1/+1
| | | | | | [YOCTO #2366] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/yocto-project-qs/yocto-project-qs.xml: pre-built example fixScott Rifenbark2012-05-311-4/+6
| | | | | | | | | | | | | | | The example showing how to use pre-built images, the toolchain, and filesystem was off a bit. I changed some wording to indicate using the .ext3 filetype of the filesystem. Previously it talked about expanding the tarball version but the example has been changed to use .ext3. Also, the environment setup file has been mis-named forever. It should have i586 in it and not i686. And, finally, the image name does not have a release number as part of the name. (From yocto-docs rev: 97ed79993dd3e2eede4807482e15633b66b99f49) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/dev-manual/dev-manual-bsp-appendix.xml: .bbappend exampleScott Rifenbark2012-05-311-4/+3
| | | | | | | | | | | | The linux-yocto_3.2.bbappend example was out of date. There is no longer a kernel features statement in the last part of the section. Only COMPATIBLE_MACHINE, KMACHINE, and KBRANCH remain. I removed the fourth one from the text description and the example code. (From yocto-docs rev: 89a11ce3c2a43e2d7c26599976d906011130131f) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/dev-manual/dev-manual-bsp-appendix.xml: Added noteScott Rifenbark2012-05-311-1/+4
| | | | | | | | | | | Added a note telling the user that the commit ID strings in the example might not match the actual commit ID strings found in the .bbappend file. (From yocto-docs rev: 0477122c42eaf6d5e18e28a2356fe58c1070c608) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/yocto-project-qs/yocto-project-qs.xml: Minor wording changesScott Rifenbark2012-05-311-4/+4
| | | | | | | (From yocto-docs rev: 528e34b1694739396295b769cc6f83d58dd3bf59) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/dev-manual/dev-manual-kernel-appendix.xml: Kernel example fixedScott Rifenbark2012-05-311-21/+57
| | | | | | | | | | | | | | | Due to a bug (2256) the example that changes the kernel configuration through menuconfig did not work. I have re-written the section to now start with the default behavior of CONFIG_SMP=y and then have the user change the configuration to where it is not set. The changes include the reversing of the flow and the work-around needed due to bug 2256. (From yocto-docs rev: 2eaaafab0390d1108b212b9cfb7ca8365e0f39a9) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: Added 1.2.1 manual entry information.Scott Rifenbark2012-05-315-0/+25
| | | | | | | | | | Added 1.2.1 manual history entry to five manuals. The date is to be determined. (From yocto-docs rev: bb920814d5adaa24d37fbcefd85de2ba93ddf604) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/yocto-project-qs/yocto-project-qs.xml: Setup changesPaul Eggleton2012-05-311-13/+3
| | | | | | | | | | | | | | Remove mercurial as this is no longer needed. linuxdoc-tools was mentioned twice in the CentOS list. We no longer support Fedora versions older than 15 so remove this note. This commit applies to 1.2, 1.2.1, and 1.3. (From yocto-docs rev: 1347f92c49e61a42aa51e5c1ffccde88a449a4fb) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation/Makefile: Fixed figures publishing bugScott Rifenbark2012-05-311-1/+1
| | | | | | | | | | | | | | | | | | I discovered a bug when publishing documents. There are two scp commands that copy a document's files and figures to the appropriate directory in the srifenbark@yocto-www:~/www.yoctoproject.or-docs server where the manuals are published. The second scp command had a "/figures" at the end. This was causing a new "figures" directory to be created within the "figures" directory. This redundancy shows up as missing figures in the manuals if a new figure or changed figure is ever added to the book after initial publishing. I removed the extra "/figures" at the end of the scp command. (From yocto-docs rev: 5ab530f998427405a0486b94ca76cff58a4cf463) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fotowall: Add #include ui_wizard.h to ExportWizard.cppAndrei Gherzan2012-05-312-2/+22
| | | | | | | | | | | | App/ExportWizard.cpp depends on wizard.h which depends on ui_wizard. The last one should be already generated before compiling ExportWizard.cpp. [YOCTO #2297] (From OE-Core rev: d7bf94647f17c0382caad8af0bdda837b14b22dc) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/mirrors.bbclass: Point snapshot.debian.org mirror to working locationKhem Raj2012-05-311-1/+1
| | | | | | | | | | | | If you point to snapshot.debian.net/archive/pool then it will fetch you a html page which will end up in corrupt download. The locations have changed for archives and here we point the mirror to right location. (From OE-Core rev: d5574749b2272357f6bdad04c37ec0657b391cca) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc.inc: uclibc rtld does support GNU_HASHKhem Raj2012-05-311-1/+2
| | | | | | | (From OE-Core rev: 090d8a687517c2d4deb33295a3cceb5175aa28f3) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: Fix build for mips64(el)Khem Raj2012-05-312-9/+9
| | | | | | | (From OE-Core rev: 8c74ddf5fd5502fd759f310096e9013fad0ca4db) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pango: Fix modules load failure in multilib environmentZhai Edwin2012-05-313-5/+54
| | | | | | | | | | | | | Multi-libs of Pango need different modules, thus different config files and utils. This patch separate config file and utils with different MLPREFIX to avoid conflict. [YOCTO #2356] got fixed. (From OE-Core rev: 535e298b98182d95c3280d2d46aa6388e27aac40) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sed: Explicitly disable acl for deterministic buildsRichard Purdie2012-05-311-1/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt4: move functions from python to shell styleDongxiao Xu2012-05-315-26/+24
| | | | | | | | | | | | | | | | | | | | In qt4's do_configure operation, it will refer to some variables that are derived from 'd', however these variable values may be not correct in multilib case since the extraction of these variables happens before the multilib handler. The fix is to move these python style functions back to shell style. This fixes [YOCTO #2355] [RP: Fix whitepace] (From OE-Core rev: 98cb2efe4e9f3092d531c9fc809406c3ef559725) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [SG: Resolve merge conflicts for 1.2.1] Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initrdscripts: Update install.sh to work with mmc devicesDarren Hart2012-05-312-22/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [YOCTO #2385] The installer only searches for hd[ab] sd[ab]. Some newer BSPs have mmcblk devices that should be used as the install target. These devices also have a partition prefix (mmcblk0p1 instead of mmcblk01). As they are detected asynchronously, it is necessary to add the rootwait kernel parameter to avoid a race condition trying to mount the root device. As BSPs like the FRI2 and the sys940x have mmc devices and will have a 1.2 release, we should push this to 1.2.1. The changes are perfectly contained and easily verified. Test for an mmcblk device and add the p partition prefix if necessary. Add the rootwait kernel parameter when an mmcblk device is detected. Replace the series of explicit umount commands with a single umount using a wildcard. This will find all the partitions and will not try to unmount non-existant devices. Avoid copy and paste errors by replacing /dev/${device}${pX} references with the previously assigned rootfs, bootfs, and swap variables. These changes have been tested on the FRI2 Sato image which installed to /dev/mmcblk0 as well as the N450 Sato image which installed to /dev/sda. Both were successful. (From OE-Core rev: 36634e16c0a0c80674bacf20f9841e3b042bd5fd) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory: fix multiple commit of images and packages at the same timePaul Eggleton2012-05-311-1/+1
| | | | | | | | | | | | | | | The echo line here was merging multiple lines into one, and the result was that if both image and package changes had to be comitted then only the image changes were being committed and the package changes could potentially be merged into the next package change. Quoting the variable reference fixes this. Fixes [YOCTO #2411] (From OE-Core rev: 540cd9d42a4db562e5eca431cec89ac5a6a05cab) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* builder: Add Please Wait Dialog BoxSaul Wold2012-05-313-2/+35
| | | | | | | | | | Add dialog box while bitbake starts hob to inform user to please wait for the hob screen to become visible. (From OE-Core rev: e9239e4250ef140920847f78625cc7206763c32c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: fix perl path in target perl scriptsNitin A Kamble2012-05-311-1/+14
| | | | | | | | | | | | | | | | | | | | While building on distros like fedora17, which has /bin/perl, the target perl scripts get perl path also as /bin/perl. And that is not correction path of perl on the target. This commit avoids this error. | error: Failed dependencies: | /bin/perl is needed by quilt-0.51-r2.i586 NOTE: package core-image-sato-sdk-1.0-r0: task do_rootfs: Failed ERROR: Task 8 (/home/nitin/prj/poky.git/meta/recipes-sato/images/core-image-sato-sdk.bb, do_rootfs) failed with exit code '1' (From OE-Core rev: c8c394bd806978c867f2fe82e4bde65c98764880) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* boost: Ensure we use our user-config.jam fileSaul Wold2012-05-311-1/+2
| | | | | | | | | | | | | This change ensures we use the user-config.jam Configuration that we created and will not use anything from the user's home directory. [YOCTO #2302] (From OE-Core rev: f246e467b8513f1c1c33b5e7462ae6478754d531) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc SDK not including libpthread_nonshared.aMark Norman2012-05-311-4/+4
| | | | | | | | | Modified the uclibc PACKAGES list order to ensure the uclibc-dev package is processed before uclibc-staticdev to allow *_nonshared.a libraries to be packaged in the uclibc-dev package. The *_nonshared.a libraries are required by the SDK. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu-ifup: enable ip masquerading for QEMU NAT addressesScott Garman2012-05-311-1/+2
| | | | | | | | | | | | Fix the IP masquerading settings so that networked QEMU sessions can reach external networks. This is a partial fix for [YOCTO #2329]. (From OE-Core rev: 78c7a82a2e3214eaec3c559269e3cc6c219759c0) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: upgrade to 1.0.0iScott Garman2012-05-3118-4/+3
| | | | | | | | | | | Addresses CVE-2012-2110 Fixes bug [YOCTO #2368] (From OE-Core rev: 51a122a5593c62d7ffd07f860e54a2fb0327959c) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpng: upgrade to 1.2.49Scott Garman2012-05-311-5/+5
| | | | | | | | | | | | | | | License hasn't changed, just updated the md5 checksums due to trivial date changes within the text (and the position of the license text within png.h). Addresses CVE-2011-3045 Fixes [YOCTO #2352] (From OE-Core rev: 6e2235a4d769b16ebf68d6bbed56d8bcc0e0c83f) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Add patch to search for db.h in inc_dirs and remove warningAndrei Gherzan2012-05-312-1/+42
| | | | | | | | | | | | | python should search for db.h in inc_dirs and not in a hardcoded path. If db.h is found but HASHVERSION is not 2 we avoid a warning by not. adding this module to missing variable. [YOCTO #1937] (From OE-Core rev: 8eb3e52d39147f8cb98ec95857be17db0444098e) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: Add patch for 64bit platformAndrei Gherzan2012-05-312-1/+59
| | | | | | | | | | | | | | | This patch was added for 64bit host machines. In the compile process python is checking if platform is a 64bit platform using sys.maxint which is the host's value. The patch fixes this issue so that python would check if TARGET machine is 64bit not the HOST machine. In this way will have "dl" and "imageop" modules built if HOST machine is 64bit but the target machine is 32bit. [YOCTO #1937] (From OE-Core rev: 22ae3959f40845ebcc00413ccf733539472a1a81) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* {kernel, module}.bbclass: don't run depmod for module packages during do_rootfsAndreas Oberritter2012-05-312-7/+4
| | | | | | | | | | | | | | | | | * depmod already gets executed by pkg_postinst_kernel-image. * If you build a module using module.bbclass, pkg_postinst returns 1 in do_rootfs, causing pkg_postinst to run again on first boot. To improve this situation, I copied pkg_postinst from kernel.bbclass to module.bbclass. This was rejected by Koen, because he doesn't like the code from kernel.bblcass, which uses ${STAGING_DIR_KERNEL}. Richard then suggested that calling depmod during do_rootfs wasn't necessary at all, because it already gets done by kernel-image. (From OE-Core rev: 663b4be025283a30adb823760ce9d9a056106bcf) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* utils.bbclass: Testing via env in create_wrapper is a nice idea but breaks ↵Richard Purdie2012-05-311-3/+1
| | | | | | | | | | | | | | things For example, pseudo-native wants to set LD_LIBRBARY_PATH but setting this into the environment here causes the existing pseudo (running during do_install) to poke into paths in /opt and this breaks builds. The simplest fix is simply not to do this. Comments tweaks to match the code. (From OE-Core rev: 915769c405e24751eae613e9ef55f05490a726de) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libproxy: fix compilation with gcc 4.7Nitin A Kamble2012-05-312-1/+32
| | | | | | | (From OE-Core rev: 6689c52eb13430593d6afe48dba3973467cd2404) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg-native: fix deb-based rootfs construction failure on Fedora 16Paul Eggleton2012-05-312-2/+201
| | | | | | | | | | | | | | | Backport a fix from 1.16.x upstream to use fd instead of stream-based I/O in dpkg-deb, which avoids the use of fflush() on an input stream (the behaviour of which is undefined by POSIX, and appears to have changed in the version of glibc introduced in Fedora 16 and presumably other systems). Fixes [YOCTO #1858]. (From OE-Core rev: b1c28667592e736115ab5e603a12c2723b939cf2) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: move empty quiltrc to native sysconfdirSaul Wold2012-05-315-8/+9
| | | | | | | | | | | | | | | patch.bbclass orignally pointed at /usr/bin/quiltrc for an empty version to ensure that no user setting were picked up, change this to /etc/quiltrc in the Native sysroot since we now have a native sysconfdir. Make sure that the quiltrc is actually installed in the Native sysconfdir, not the target, so fix this after the recipe split. (From OE-Core rev: aec4cdc6efda430a0965d6b3b4f84c7943390273) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc: Add plugins package for ARM, fix /usr/incude packagingSaul Wold2012-05-311-1/+7
| | | | | | | | | | | | | WARNING: For recipe gcc, the following files/directories were installed but not shipped in any package: WARNING: /usr/include WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config/arm WARNING: /usr/lib/gcc/arm-poky-linux-gnueabi/4.6.4/plugin/libgcc/config/arm/bpabi-lib.h (From OE-Core rev: cf49cf3958b24fdb89d57abbf1f1b30c07a06030) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xserver-kdrive: Add xkb to existing docs listSaul Wold2012-05-311-1/+1
| | | | | | | | | | | | | WARNING: For recipe xserver-kdrive, the following files/directories were installed but not shipped in any package: WARNING: /usr/share/man WARNING: /usr/share/man/man5 WARNING: /usr/share/man/man1 WARNING: /usr/share/man/man1/Xephyr.1 WARNING: /usr/share/man/man1/Xserver.1 (From OE-Core rev: 515cbe565b684359ac9d8bd0fb523aa3d2f810e2) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgcc: Package additional *crt*.o files for PPCSaul Wold2012-05-311-1/+1
| | | | | | | | | | | | WARNING: For recipe libgcc, the following files/directories were installed but not shipped in any package: WARNING: /usr/lib/powerpc-poky-linux/4.6.4/ecrti.o WARNING: /usr/lib/powerpc-poky-linux/4.6.4/ncrti.o WARNING: /usr/lib/powerpc-poky-linux/4.6.4/ecrtn.o WARNING: /usr/lib/powerpc-poky-linux/4.6.4/ncrtn.o (From OE-Core rev: 580d734ddc928aaaac9acaa248427b01731074f2) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>