summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2013-03-26bitbake.conf: explicitly backfill sysvinit, not DISTRO_FEATURES_INITMANRoss Burton1
Reflect reality by backfilling sysvinit support, instead of whatever value was in DISTRO_FEATURES_INITMAN. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26default-distrovars: don't add INITMAN to DISTRO_FEATURES and ↵Ross Burton1
DISTRO_FEATURES_BACKFILL DISTRO_FEATURES_INITMAN is going away as it's not useful in a hybrid init script environment. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26update-rc.d/systemd: change communication variable nameRoss Burton2
Rename SYSTEMD_BBCLASS_ENABLED to INHIBIT_UPDATERCD_BBCLASS to reflect the action, for clarity. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26systemd: add udev init script for hybrid sysvinit/systemd usageRoss Burton2
With both sysvinit and systemd features it's possible to use systemd's udev with sysvinit, so add the required init script. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26systemd: check for systemctl first, and don't force systemd to be installed.Ross Burton1
With both sysvinit and systemd features enabled these postinsts may actually run on a target without systemd, so check that systemctl is present before using it. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26update-rcd: drop depends to recommends, check for update-rcd in scriptsRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26util-linux: split uuidd into it's own package, and enable for systemdRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26update-rcd.bbclass: handle both sysvinit and systemd features being presentRoss Burton1
Run the helper if the sysvinit feature is present, or if the systemd feature is present but the systemd class hasn't been inherited. We want to run in the latter case as systemd has sysvinit compatibility, but we don't want to always run so that pure systemd images don't have redundant sysvinit files. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26default-providers: change udev selection logicRoss Burton1
Change the logic so that the udev provider is the standalone udev, unless the systemd DISTRO_FEATURE is set. The previous logic was designed to fail if both sysvinit and systemd were enabled, which we're supporting now. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26systemd: split out the hwdb dataRoss Burton1
The hardware databases are not essential and also quite large, so split them out into udev-hwdb. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26systemd: don't depend on the PCI/USB databasesRoss Burton1
systemd ships its own databases (hwdb), so we don't need another copy. --with-pci-ids isn't recognised by configure, so remove it. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26core-image-minimal-initramfs: don't install busybox-syslogRoss Burton1
This uses BAD_RECOMMENDATIONS which isn't supported by all package backends, but it's a start. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26systemd: merge udev-systemd into udevRoss Burton1
Merge the contents of udev-systemd, which is just the service files, into udev itself. This split wasn't intended to ever happen in oe-core. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26systemd: make xz support (compressed journal) optional, defaulting to on.Ross Burton1
Compressed journals means using liblzma, sf the journal isn't going to be used this can be disabled. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26busybox: add strictatime support to mountRoss Burton2
systemd uses strictatime when mounting tmpfs. Luckily this is already supported upstream, so backport the patch from git. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26busybox: enable systemd integration for syslogdRadu Moisan4
Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26classes/rm_work: rename RM_WORK_WHITELIST to RM_WORK_EXCLUDEPaul Eggleton1
This really functions as a blacklist, not a whitelist, since we are listing recipes to exclude. To avoid any possibility of confusion, since this was a recent addition, rename the variable. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26binutils: Don't generate .PPC.EMB.apuinfo sections for 64-bit outputKhem Raj2
This can cause issues building ppc64/eabi kernel. For details see the patch header Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26rpm: Fix debugedit buildid processingMark Hatle1
[ YOCTO #4089 ] When constructing a new buildid, the items being hashed need to be returned to their native endian. In the process we were munging the sh_type field that we relied on to determine if a section was loadable or not. The patch avoids this behavior by only modifying a copy of the local endian data. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26grub-efi-native_2.00.bb: fix a build issueNitin A Kamble1
Due to recent change in the oecore layer grub-efi recipe uses separate builddir and the paths used in the do_deply need to change accordingly. This change avoids this build issue: install: cannot stat `/build-fri2/tmp/work/x86_64-linux/grub-efi-i586-native/2.00-r1/grub-2.00/bootia32.efi': No such file or directory ERROR: Function failed: do_deploy (see /build-fri2/tmp/work/x86_64-linux/grub-efi-i586-native/2.00-r1/temp/log.do_deploy.5875 for further information) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26linux-yocto/3.8: qemuarm boot fixBruce Ashfield2
The preempt-rt kernel was wasn't inheriting the standard kernel configuration and hence was not able to boot on qemuarm due to missing ABI options. Changing the main preempt-rt kernel include to inherit standard configuration again fixes this boot issue. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26linux-yocto/3.8: fix perf host contaminationBruce Ashfield2
Updating the 3.8 SRCREVs with the following fix: libtraceevent: Remove hard coded include to /usr/local/include in Makefile commit b9e8c37220c80e78289a1e87b50c09418eb59a7e upstream having /usr/local/include hardcoded into the makefile is not necessary as this is automatically included by GCC. It also infects cross-compile builds with the host systems includes. Signed-off-by: Jack Mitchell Acked-by: Namhyung Kim Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1362741712-21308-1-git-send-email-ml@communistcode.co.uk Signed-off-by: Arnaldo Carvalho de Melo This implements the fix I described in Yocto [BUG #3993][perf using host includes], now upstream. Integrated-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> [YOCTO #3993] Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26linux-yocto/3.4: import v3.4.36 -stable fixesBruce Ashfield3
Updating the 3.4 tree to import the korg -stable fixes for v3.4.36. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26kern-tools: initialization and meta branch fixesBruce Ashfield1
Bumping the kern-tools SRCREV to pickup the following fixes and documentation updates: d484e3f kgit-meta: remove hardcoded meta directory name affad20 yocto-kernel-tools: Typoes, "fragement", "depreciated" 142ed49 kgit-init: update tools list Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26linux-yocto/3.8: introduce v3.8.4-rt1Bruce Ashfield1
The -rt series has been updated for the 3.8 kernel. Updating the SRCREVs to reflet its import into the tree. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26linux/yocto-3.4: update to v3.8.4Bruce Ashfield1
Updating the base v3.8 kernel to the 3.8.4 -stable version. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26linux-yocto/3.8: allow kernel feature _appends to be overridenBruce Ashfield1
It was pointed out that the current way the KERNEL_FEATURES variable is appended in the base linux-yocto recipe doesn't allow the appended features to be prevented in a layer without using python code and a recipe finalize hook. To allow easier overriding of 'extra' or 'optional' features that are defined in the linux-yocto recipe, we create a KERNEL_EXTRA_FEATURES variable. This variable can be set in a layer to define extra features or cleared to prevent the recipe's extra features from being appended to the core functionality. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26qemuimagetest: collect and print runqemu outputPaul Eggleton2
If runqemu (or qemu itself) fails we need to know why, so tee out to a log file and print it when we can't find the qemu process or determine its IP address. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26qemuimagetest: fix erroneous ps errors when qemu couldn't be startedPaul Eggleton2
The helper script was printing an error to stdout when it couldn't find any qemu child processes; output this error to stderr instead and redirect stderr to /dev/null when running from qemuimage-testlib so that QEMUPID is actually blank if there are no qemu instances found. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26eglibc-locale: Ensure files have correct ownershipRichard Purdie1
The copy operation leaves the files owned by the person running the build which results in warnings in do_package_write_ipk like: *** Warning: The following files have a UID greater than 99 and incorrect ownership in the packges. This patch addresses this ownership problem. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26font-alias: Add depends on font-util-nativeRichard Purdie1
Without this, the font-util.m4 macro can be missing leading to an undefined macro. The recipe will still build but generate an empty font-alias package since the files are installed into "${D}@XORGROOTFONTDIR@". Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26opkg-utils: Update to newer git rev for bashism fixRichard Purdie1
On systems with dash as /bin/sh there were failures in do_package_write_ipk due to bashisms in opkg-build. This newer revision contains a fix for this. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26package.bbclass: Correctly handle /usr/src/debug file ownershipRichard Purdie1
After the recent cached path operation improvements, we need to tell the cache about directory changes. /usr/src/debug was was cached as not created and this was leading to bugs in file ownership. This change updates the cache and avoids this issue. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-25docbook-utils-native: Unbreak the build after source and build dir splitKhem Raj1
docbook-utils-native started to install frontends and backends in wrong locations after this change. The absolute build and source directories were being created in install locations and the recipes using docbook-utils-native were complaining like dbus-java is saying | jw: There is no frontend called "/b/kraj/jlinux-next/poky/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/sgml/docbook/utils-0.6.14/frontends/docbook". | make: *** [CreateInterface.1] Error 2 | ERROR: oe_runmake failed Rightly so because now they are installed under /b/kraj/jlinux-next/poky/build/tmp-eglibc/sysroots/x86_64-linux/usr/share/sgml/docbook/utils-0.6.14/b/kraj/jlinux-next/poky/build/tmp-eglibc/work/x86_64-linux/docbook-utils-native/0.6.14-r3/ This patch fixes the install to be like it was but consider the build and sourcedir split. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-25at: Fix --with/without pam optionsRichard Purdie1
The --with/--without pam support in configure appears to have been dropped leading to builds which can detect host headers, then fail or result in non- determinstic builds. Add an explicit option to fix this detection. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-25package.bbclass: Ensure debug source file is generated correctlyRichard Purdie1
The command for generating debug sources appends to the file, therefore we need to ensure it does not exist before we run the command else we end up doing more work that we should have to. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-25conf/machine: Clean up MACHINEOVERRIDES handlingRichard Purdie8
OVERRIDES reads from left to right, least to most specific. We were appending to MACHINEOVERRIDES when we should have been prepending so the ordering of qemuall verses qemuxxx was incorrect, as was the x86 override and several of the arm overrides. This patch is a batch cleanup of the various issues to correct the order from least to most specific. The include order does matter and we needed to tweak some of that in this patch too. [YOCTO #4090] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-25package.bbclass: Handle subprocess errors correctlyRichard Purdie1
If an error occurs in subprocess.call() we currently don't catch it. In particular we have issues where debugedit is segfaulting unnoticed. This fixes up various code paths to catch the errors. [YOCTO #4089] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-25gnupg: Add symlink for gpgvPaul Barker1
Gnupg 2.0.19 installs 'gpgv2' but apt-get and possibly other utilities expect to find this as 'gpgv'. A symlink is created in the same way as the link for 'gpg'. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-25rpm: Add workaround for debugedit-segvMark Hatle2
[ YOCTO #4089 ] On PPC and MIPS, there appears to be a condition that causes debugedit to segfault. The segfault is related to a call into the md5hash algorithm, an address of '0', and a size > 0 is passed causing the access of the address to segv. This workaround may prove to be the final fix, but it's currently unclear what the actual cause of the 0 address is. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-25nspr: remove unnecessary files from the main packageLaurentiu Palcu1
This patch does the following: * removes compile-et.pl and prerr.properties from the main package because these files are needed only at compile time; * moves nspr-config script to nspr-dev package where it belongs; * adds 'perl' RDEPENDS for nspr-dev since the package contains a perl script for running some tests; Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-25packagegroup-core-lsb: add nsprKang Kai1
Add nspr for LSB library check. [YOCTO 4015] Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-25xf86-input-evdev: add mtdev dependencyLaurentiu Palcu1
This is needed in order to have multitouch protocol enabled. [YOCTO #4087] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-25lttng: babeltrace: Update to upstream version 1.1.0Maxin B. John1
Also updated the BUGTRACKER Signed-off-by: Maxin B. John <maxin.john@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-25libxcb: fix repeated configuresRoss Burton1
If configure is re-ran on an existing build tree the string substitutions we need are done twice, resulting in invalid paths. Anchor the expressions so they only match a pristine configure.ac. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-24separatebuilddir.inc: mxsldr should never have been added to this list, removeRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23tcl: Fix the location of the installed headersMark Hatle1
Having '${S}' in the for loop was causing the headers to be installed into the wrong location. Move the 'S' to the install line. Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23valgrind: Fix out of tree buildsRichard Purdie2
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23package/populate_sdk: Move functions from package_* to populate_sdk_*Richard Purdie6
This fixes build failures introduced with "classes/buildhistory: implement history collection for SDK" by moving the functions to files where only the specific image type which is enabled is inherited. The failures occured when multiple PACKAGE_CLASSES were enabled. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-23libpcre: Fix BUILD_CFLAGS for out of tree supportRichard Purdie1
The BUILD_CFLAGS were broken since /include no longer exists in this package. We do need to include ${B} in the include path for pcre.h though. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>