summaryrefslogtreecommitdiff
path: root/meta/classes
AgeCommit message (Collapse)AuthorFiles
2010-11-28native.bbclass: Mark various package functions as noexec since they don't do ↵Richard Purdie1
any work Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-28native.bbclasS: Add handing to remap RDEPENDS fields and avoid crossed ↵Richard Purdie1
target and native dependency trees Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-28utility-tasks: Switch listtasks to use bb.plain() for printing outputRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-28rm_work: Set BB_SCHEDULER as done in OE.dev to ensure disk space is freed ↵Richard Purdie1
sooner rather than at the end of the build Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-28scripts/poky-env-internal/image-swab.bbclass: Remove OEROOT referencesRichard Purdie1
OEROOT isn't used outside the init script so stop exporting it into the environment where it can "corrupt" sstate packages. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-22utility-tasks.bbclass: Move distro related tasks to distrodata.bbclassDongxiao Xu2
Most of the d.keys() used in file parsing are variables in distro_tracking_fields.inc, which are not used in normal build. Therefore remove the inclusion of distro_tracking_fields.inc from poky.conf. Besides, move distro related tasks to distrodata.bbclass, which includes that tracking field file. By this change, the file parsing time could save about 25%. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-11-22sanity.bbclass: add wget to required utilitiesPaul Eggleton1
Signed-off-by: Paul Eggleton <paul.eggleton@intel.com>
2010-11-21update-alternatives.bbclass: don't expand var when appending do_installKevin Tian1
Or else absolute paths may be expanded which then breaks sstate signature comparison. I'm not sure whether pre/post funcs can be expanded or not. They are invoked at image build or on the target, and thus need be expanded some place. But if one recipe does use directories under TMP in its postinst helpers, this would be an issue again. Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-11-14image-swab: update swabber command for latest versionJoshua Lock1
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-11-14image-swab: introduce a class for generating swabber reportsJoshua Lock1
Add a postprocess command to rootfs generation which generates a swabber report. Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-11-14sstate.bbclass: Remove the temp sstate-build-* directories in WORKDIRDongxiao Xu1
Remove the temp sstate-build-* directoies. Take poky-image-minimal as an example, this saves about 17% disk space. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-11-14imagetest-qemu: Add sanity test cases for scp/shutdown in targetJiajun Xu1
scp test is to check if file copying via network work or not in target. shutdown test is to check if target can be poweroff with qemu process off. Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
2010-11-14image.bbclass/initscripts: Make /etc/timestamp usage consistent.Gary Thomas1
Timestamp is kept in UTC Remove superfluous 'create_etc_timestamp()' function - seems to be a duplicate of 'rootfs_update_timestamp()' Remove External function reference [sgw@linux.intel.com: merged 2 patches and cleanup commit message] Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-11-14insane.bbclass: fix qa_configure and qa_stagingQing He1
fix the typo in `postfuncs' and effectively re-enables qa_configure and qa_staging Signed-off-by: Qing He <qing.he@intel.com>
2010-11-14base.bbclass/poky.conf: Fix INCOMPATIBLE_LICENSE Whitelist checkingSaul Wold1
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-11-13bitbake/fetch: Allow checking of a single url at a time (massive sstate ↵Richard Purdie1
speed improvement) Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-13sstate.bbclass: Only create symlinks to different localpath urls if the ↵Richard Purdie1
fetch succeeded Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-10kernel: prefer the kernel produced uImageBruce Ashfield1
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>
2010-11-10imagetest-qemu: Add test case for dmesg check in targetJiajun Xu1
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>
2010-11-07package.bbclass: make sure 'sysroots' created before lockfileKevin Tian1
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>
2010-11-06meta/classes: Mark do_package_write and do_build as noexec tasksRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-03cross-canadian bbclass: replace hardcoded -pokysdk with SDK_VENDORKoen Kooi1
Signed-off-by: Koen Kooi <k-kooi@ti.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02sstate: Provide a temporary mechanism to stop collisions between toolchain ↵Richard Purdie1
components in builds from scratch using sstate Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02base/utils.bbclass: Sync up overlapping functionsRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02utils.bbclass: Add functions from OE.devRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02gnome.bbclass: Remove autotools_stage referenceRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-02gnome.bbclass: Use BPN instead of PN and set SRC_URI name similar to OE.devRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-11-01src_distribute: Set EXPORT_FUNCTIONS correctlyRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-23rm_work.bbclass: Handle case where pseudo directory doesn't existRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-22package_deb: The packaging command itself is run under fakeroot so these ↵Richard Purdie1
lines are totally unneeded Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-22classes: Only enable fakeroot on setscene tasks with packagingRichard Purdie5
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-22sstate: Fix mirror handling for file:// urlsRichard Purdie1
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>
2010-10-22pseudo/fakeroot: Move the pseudo directory creation into bitbakeRichard Purdie5
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>
2010-10-22package_deb: Fix a typo meaning the debian packaging was not running in the ↵Richard Purdie1
fakeroot evnironment Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-22package_rpm: Don't check for the existence of dvar as its never usedRichard Purdie1
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>
2010-10-22base.bbclass: Ensure an empty do_build tasks exists to silence a warningRichard Purdie1
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>
2010-10-22sstate: Fix broken plaindirs supportRichard Purdie1
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>
2010-10-22base/sstate: Add cleanall task to remove downloads and sstate cached filesRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-21metadata_scm: Ensure that if an SCM isn't present, we dont print a revision ↵Richard Purdie1
of 'fatal:' as it looks bad Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-15distrodata: Modify Distro tracking spreadsheetSaul Wold2
Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-10-14Revert "meta-toolchain: Update the way ld.so.cache is handled"Richard Purdie1
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.
2010-10-13meta-toolchain: Update the way ld.so.cache is handledRichard Purdie1
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>
2010-10-13sanity.bbclass: ensure 32it libc is correctly detectedJoshua Lock1
Fix to work for both Ubuntu and Fedora multilib paths. Fixes [BUGID #454] Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-10-12rm_work: Fix interaction issues with pseudoRichard Purdie1
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>
2010-10-11Add Summary/Description support to packagingMark Hatle3
[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>
2010-10-11rootfs: Update ROOTFS_PKGMANAGE to include atp/zypperRichard Purdie2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-11package_rpm: Disable nativesdk/canadian package indexes for now as these are ↵Richard Purdie1
being incorrectly used for target rootfs generation, breaking the images Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-09base.bbclass: Fix spelling mistakes and change log levelRichard Purdie1
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-08rootfs_deb: Fix problem with pseduo and rootfs locationSaul Wold1
This address [BUGID #401] to complete dpkg rootfs support Signed-off-by: Saul Wold <Saul.Wold@intel.com>
2010-10-08base.bbclass: add support for commercial license checkSaul Wold1
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>