summaryrefslogtreecommitdiff
path: root/meta/classes
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* sstate: list directories in child first order in the manifest fileJoshua Lock2010-09-291-2/+4
| | | | | | | | | | The directory list in the manifest file needs to be sorted such that child directories are deleted first. Fortunately as the list is generated by walking the directory tree achieving this is as simple as reversing the directory list. Fixes [BUGID #269] Signed-off-by: Joshua Lock <josh@linux.intel.com>
* update-alternative.bbclass: add batch alternatives supportKevin Tian2010-09-291-2/+81
| | | | | | | | | | | | | | | | | | | | | | | With new batch ability, we can use below simple 2 lines for multiple alternatives updates: ALTERNATIVE_LINKS = "${bindir}/cmd1 {sbindir}/cmd2 ..." ALTERNATIVE_PRIORITY = "100" Then for each command "/path/cmd" listed in ALTERNATIVE_LINKS, below is done automatically: ${D}/path/cmd is renamed to ${D}/path/cmd.{PN} a new alternative named 'cmd' is created which: links /path/cmd to /path/cmd.{PN} with priority specified in ALTERNATIVE_PRIORITY This way the recipe with multiple alternatives could be simplified a lot. There are still some cases where above assumptions may break, but I expect more recipes should benefit from this simple enhancement Fix [BUGID #257] Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* sstate.bbclass: Add signature hash to sstate package namesRichard Purdie2010-09-291-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate.bbclass: Update to use SSTATE variables everywhere and remove the now ↵Richard Purdie2010-09-292-13/+14
| | | | | | unneeded complicated paths from the sstate files Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate.bbclass: pstage -> sstate name changes (no global implications)Richard Purdie2010-09-291-29/+29
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate.bbclass: Rename PSTAGE2 -> SSTATERichard Purdie2010-09-291-35/+35
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* meta-ide-support: Fix PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATHDongxiao Xu2010-09-221-2/+2
| | | | | | | | | Fix PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH to make them point to the correct directory path. This fixes [BUGID #340]. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* distro data: Update distro data tracking dataSaul Wold2010-09-171-2/+0
| | | | Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* toolchain-scripts: Add POKY_TARGET_SYSROOT variable for SDK usageRichard Purdie2010-09-161-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* toolchain-scripts: Export TARGET_PREFIX and GDB variables for SDK usageRichard Purdie2010-09-161-0/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: Trigger generation of siggen info when building sstate packagesRichard Purdie2010-09-131-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* autotools: enable siteconfig by defaultJeff Polk2010-09-101-0/+1
| | | | | | eglibc glibc ncurses uclibc zlib: remove explicit siteconfig Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
* siteinfo: add SITECONFIG_SYSROOTCACHE definition in place of hard-coded pathJeff Polk2010-09-102-21/+19
| | | | | | | | | siteconfig: use SITECONFIG_SYSROOTCACHE and use sstate-interceptfuncs Use the new sstate-interceptfuncs functionality to interpose do_siteconfig between the sstate_install and package. Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
* sstate: Add sstate-interceptfuncs called between install and packageJeff Polk2010-09-101-0/+4
| | | | | | | Adds the ability to impose intercept function call(s) after sstate_install and before sstate_package in sstate_task_postfunc. Signed-off-by: Jeff Polk <jeff.polk@windriver.com>
* libc-package.bbclass: fix qemu issue with pseudoNitin A Kamble2010-09-101-1/+1
| | | | | | | | | | | | | | This solution is what Mark Hatle recommended. To disable pseudo, while already running, you need to set: PSEUDO_RELOADED=YES, and then exec something... This causes pseudo to disable itself from LD_PRELOAD, and thus fall out of memory on the exec. This Fixes [BUGID #226] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* rootfs_rpm: Fix workaroundMark Hatle2010-09-101-2/+3
| | | | | | | The exit 0 in the workaround seems to have causes the filesystem creation process to stop. Instead change it to an if that can never succeed. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* image.bbclass: change IMAGE_EXTRA_SPACE to IMAGE_OVERHEAD_FACTORSaul Wold2010-09-081-1/+1
| | | | | | | | This change allows the IMAGE_OVERHEAD_FACTOR (default to 1.2) to adjust dynamicly how much space to add for each image, thus there is 20% overhead space by default. Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* kernel.bbclass/linux-wrs: move definition of perf package to kernel classJoshua Lock2010-09-081-0/+5
| | | | | | | | By defining the perf package in the shared kernel class bitbake will be able to find the package provider even when the preferred kernel doesn't build perf, preventing dependency resolution failures. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* package.bbclass: Ensure all packages package when running a buildRichard Purdie2010-09-081-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* sstate: Make sure the sstate function is the last to run, not the firstRichard Purdie2010-09-071-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* toolchain-scripts: export extra variables for use by scriptsJoshua Lock2010-09-071-2/+5
| | | | | | | | | | | Export the location of the native sysroot for use in the scripts to determine the location of native binaries. Also add a POKY_DISTRO_VERSION to the external toolchain environment as a method of determining if we're running under a build directory or not i.e. not if the variable is empty Signed-off-by: Joshua Lock <josh@linux.intel.com>
* rpm: Fix autoconf/libtool usageMark Hatle2010-09-033-4/+4
| | | | | | | | | | In order to resolve a host-contamination problem, we re-work the way that autoconf and friends are invoked during the compilation of RPM. This has a side effect of fixing another bug where RPM was being renamed HOST_ARCH-HOST_OS-rpm. So we remove the "fixes" for that behavior as well. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* rootfs_rpm: Workaround for checksum changesMark Hatle2010-09-031-0/+4
| | | | | | | | | With the new checksum changes, the system is no longer able to determine if the function resolve_package is used. So it doesn't get emitted. The workaround resolves this by triggering an exit 0, followed by a bogus usage of the function. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* task-poky-qt: create a task and add to poky-image-sdkSaul Wold2010-09-031-1/+2
| | | | | | Fixes [BUGID #260] Signed-off-by: Saul Wold <Saul.Wold@intel.com>
* sstate: Handle symlink directory entries correctlyRichard Purdie2010-09-031-2/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>