summaryrefslogtreecommitdiff
path: root/meta/classes
Commit message (Collapse)AuthorAgeFilesLines
* base.bbclass/poky.conf: Fix INCOMPATIBLE_LICENSE Whitelist checkingSaul Wold2010-11-141-4/+5
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* bitbake/fetch: Allow checking of a single url at a time (massive sstate ↵Richard Purdie2010-11-131-1/+1
| | | | | | speed improvement) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate.bbclass: Only create symlinks to different localpath urls if the ↵Richard Purdie2010-11-131-2/+3
| | | | | | fetch succeeded Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* kernel: prefer the kernel produced uImageBruce Ashfield2010-11-101-1/+3
| | | | | | | | | | | | The custom uImage produced by the kernel classes by default does not universally boot and working with existing uboot configurations and setups. This changes the preference to the uImage constructed by the kbuild processes and falls back to the other techniques if uImage is requested by the kernel does not produce one. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* imagetest-qemu: Add test case for dmesg check in targetJiajun Xu2010-11-101-2/+4
| | | | | | | | Add a test case for error log check with command dmesg in target. The case introduces a new folder in target, "/opt/test", which holds test scripts running in target. Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
* package.bbclass: make sure 'sysroots' created before lockfileKevin Tian2010-11-071-0/+1
| | | | | | | | package sstate requires a lock under sysroots/, which however may not be created when sstate_setscene functions are executed and then causes failures. here we make sure 'sysroots' created before do_package_setscene is executed. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* meta/classes: Mark do_package_write and do_build as noexec tasksRichard Purdie2010-11-062-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross-canadian bbclass: replace hardcoded -pokysdk with SDK_VENDORKoen Kooi2010-11-031-1/+1
| | | | | Signed-off-by: Koen Kooi <k-kooi@ti.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: Provide a temporary mechanism to stop collisions between toolchain ↵Richard Purdie2010-11-021-1/+27
| | | | | | components in builds from scratch using sstate Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base/utils.bbclass: Sync up overlapping functionsRichard Purdie2010-11-022-20/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* utils.bbclass: Add functions from OE.devRichard Purdie2010-11-021-5/+92
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gnome.bbclass: Remove autotools_stage referenceRichard Purdie2010-11-021-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* gnome.bbclass: Use BPN instead of PN and set SRC_URI name similar to OE.devRichard Purdie2010-11-021-3/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* src_distribute: Set EXPORT_FUNCTIONS correctlyRichard Purdie2010-11-011-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rm_work.bbclass: Handle case where pseudo directory doesn't existRichard Purdie2010-10-231-1/+3
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_deb: The packaging command itself is run under fakeroot so these ↵Richard Purdie2010-10-221-2/+0
| | | | | | lines are totally unneeded Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* classes: Only enable fakeroot on setscene tasks with packagingRichard Purdie2010-10-225-5/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: Fix mirror handling for file:// urlsRichard Purdie2010-10-221-4/+11
| | | | | | | | | | The fetcher has special handling for file:// mirror urls, being efficient and just providing an updated path. Unfortunately the sstate fetching code wasn't able to handle this. This patch detects this and injects a symlink to ensure everything works. It also fixes some datastore references to be correct and ensures the sstate download directory exists if it doesn't already. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* pseudo/fakeroot: Move the pseudo directory creation into bitbakeRichard Purdie2010-10-225-1/+5
| | | | | | | | | | | | | | If sstate was used to accelerate a build, the pseudo directory might not have been created leading to subsequent task failures. Also, sstate packages were not being installed under pseudo context meaning file permissions could have been lost. Fix these problems by creating a FAKEROOTDIRS variable which bitbake ensures exists before running tasks and running the appropriate setscene tasks under fakeroot context. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_deb: Fix a typo meaning the debian packaging was not running in the ↵Richard Purdie2010-10-221-1/+1
| | | | | | fakeroot evnironment Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_rpm: Don't check for the existence of dvar as its never usedRichard Purdie2010-10-221-6/+1
| | | | | | | | | | | If a sstate package exists for the package task but not for the rpm packaging task, the output from the package task will be used. The directory pointed to by dvar will not exist under this scenario. Since the directory is never used by the packaging process remove the check, substituting the pkgd variable which is always present and used. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Ensure an empty do_build tasks exists to silence a warningRichard Purdie2010-10-221-0/+3
| | | | | | | The message "WARNING: Function do_build doesn't exist" doesn't look professional, so fix the underlying problem even if this warning is harmless. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: Fix broken plaindirs supportRichard Purdie2010-10-221-2/+6
| | | | | | | | | | | When installing a sstate package, directories tracked by plaindirs were being installed to the incorrect location. With the current implementation this was limited to the do_package task. This patch ensures plaindirs tracked files are created in the correct location, fixing the bug where these files would go missing. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base/sstate: Add cleanall task to remove downloads and sstate cached filesRichard Purdie2010-10-222-5/+44
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* metadata_scm: Ensure that if an SCM isn't present, we dont print a revision ↵Richard Purdie2010-10-211-3/+6
| | | | | | of 'fatal:' as it looks bad Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* distrodata: Modify Distro tracking spreadsheetSaul Wold2010-10-152-10/+51
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* Revert "meta-toolchain: Update the way ld.so.cache is handled"Richard Purdie2010-10-141-4/+0
| | | | | | | This change didn't work as expected as ld.so.cache doesn't preseve any search path ordering, therefore revert the change. This reverts commit b2c3ce6d17520d43b10777dd306449876cb40819.
* meta-toolchain: Update the way ld.so.cache is handledRichard Purdie2010-10-131-0/+4
| | | | | | | | Fix the library search path so that libs in the toolchain in /opt/ have priority over those in base system but ones from the base system can still be found. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sanity.bbclass: ensure 32it libc is correctly detectedJoshua Lock2010-10-131-1/+5
| | | | | | | | Fix to work for both Ubuntu and Fedora multilib paths. Fixes [BUGID #454] Signed-off-by: Joshua Lock <josh@linux.intel.com>
* rm_work: Fix interaction issues with pseudoRichard Purdie2010-10-121-1/+6
| | | | | | | | | | | This class needs to wipe out the contents of the pseudo database but also ensure the pseudo directory exists for any subsequent tasks and also ensure any pseudo server has shut down before removing the database. This patch does all of these things. [BUGID #222] Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Add Summary/Description support to packagingMark Hatle2010-10-113-8/+33
| | | | | | | | | | | | [BUGID #281] Add the ability for the deb, ipk and rpm classes to use the new summary and description fields. The Description is wrapped around 75 characters to ensure a reasonably nice, presentable description. (Summary defaults to the description if Summary is not defined.) Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* rootfs: Update ROOTFS_PKGMANAGE to include atp/zypperRichard Purdie2010-10-112-2/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* package_rpm: Disable nativesdk/canadian package indexes for now as these are ↵Richard Purdie2010-10-111-2/+3
| | | | | | being incorrectly used for target rootfs generation, breaking the images Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* base.bbclass: Fix spelling mistakes and change log levelRichard Purdie2010-10-091-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rootfs_deb: Fix problem with pseduo and rootfs locationSaul Wold2010-10-081-0/+1
| | | | | | This address [BUGID #401] to complete dpkg rootfs support Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* base.bbclass: add support for commercial license checkSaul Wold2010-10-081-0/+6
| | | | | | | | | This addresses [BUGID #410], require implict action by someone to enable functionality that may have license implications. By default this diables mp3 and mpeg decoding Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* libc-package.bbclass, eglibc, glibc: enable locales generation using ↵Nitin A Kamble2010-10-071-12/+61
| | | | | | | | | | | | | | | | | | | cross-localedef Along with qemu this provides another option to generate locales for [e]glibc. The new method is to use cross-localedef with appropriate arch specific parameters. The cross-localedef method is found to be 15 times faster than qemu's emnualted method. LOCALE_GENERATION_WITH_CROSS-LOCALEDEF : This is new config variable introduced to selet qemu or cross-localedef method for locale generation. Thanks to Mark Hatle from Windriver for providing the rich information for cross locale generation. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* sstate: Fix SSTAGE_MIRRORS handling and improve example in local.conf.sampleRichard Purdie2010-10-071-9/+43
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rootfs_rpm: Add lock file in the rpm deploy directory to allow mutliple ↵Richard Purdie2010-10-072-1/+5
| | | | | | rootfs creation tasks to coexist without breaking each other Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* bitbake/sstate: Implement a lookup function to speed up setscene processingRichard Purdie2010-10-052-1/+27
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Revert "classes: Disable setscene tasks for initial testing"Richard Purdie2010-10-056-6/+6
| | | | This reverts commit 084ec86402bba92418898a4c47667a0574a3b3ee.
* base.bbclass: Implement PRINC, a way to increment the PR variable in ↵Richard Purdie2010-10-051-1/+20
| | | | | | .bbappend files Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Improve FILESPATH usage in .bbappend recipesRichard Purdie2010-10-051-0/+5
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rootfs_deb: fix parsing a shell cmdSaul Wold2010-10-041-1/+1
| | | | | | | This fixes [BUGID #360] parsing failure when using package_dep as rootfs generator. Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* insane: Update the insane class to check for host contaminationMark Hatle2010-10-011-3/+27
| | | | | | | | | | | | | [BUGID #376] Update to the insane class to detect the new gcc and binutils poison messages located within the config.log. (Continue to scan for the old style message.) Add a new compile and install log check to the package_qa that scans the logs for the same types of messages "unsafe for cross-compilation". Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* siteconfig: Fix mkdirMark Hatle2010-10-011-1/+1
| | | | | | | | | | [BUGID #379] In a strange configuration, siteconfig could have already generated it's directory, but decided it needs to regenerate the site config. The lack of -p in the mkdir causes a failure. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* sstate: Deal with a potential race when cleaning packagesRichard Purdie2010-10-011-7/+12
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Make invalid LICENSE fields fatalRichard Purdie2010-09-301-0/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* rootfs_rpm.bbclass: Add Dirnames configurationMark Hatle2010-09-301-0/+4
| | | | | | | | | | | | [BUGID #327] RPM attempts to validate all of the directories on the system are owned by a package. While the root "/" directory was not owned, so in some cases an error could be thrown. Resolve this by informing RPM that yes, "/" is in fact a directory on the system that was properly constructed and is "owned". Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* Revert "Drop vm_mmap_min_addr checks from scripts and sanity class"Joshua Lock2010-09-291-0/+11
| | | | | | | | | This reverts commit 138df217efe850528f88d340acf864c38780c2b0. We still need the vm_mmap_min_addr set to 0 to run locale generation for qemu-arm Signed-off-by: Joshua Lock <josh@linux.intel.com>