summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2013-03-29systemd: Upgrade to 199Khem Raj4
udevadm is now moved from /usr/bin to /bin so account for that bash completions for udevadm should be packages with udev-utils since thats where udevadm itself is, they were in systemd package which is not correct location for it Backport patches for readahead fixes on spinning disks and to tackle error reported on missing /etc/sysctl.conf Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29rpm: split out run-postinstsZhenhua Luo2
1. Split out run-postinsts script into separated package, sometimes only the postinsts script is required to run all postinsts scripts in /etc/rpm-postinsts/ instead of the whole rpm package. 2. Set ROOTFS_PKGMANAGE_BOOTSTRAP to rpm-postinsts Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-29meta/lib/oe/lsb.py: fix data extraction from /etc/lsb-releaseCristian Iorga1
In some cases, /etc/lsb-release file is used to extract info about poky build host machine. But the strings are not stripped of end of line special characters. As such, when this info is concatenated and used as a directory entry in sstate_cache, this is an issue. Usually, this issue is masked by the fact that distro related info is extracted from the output of lsb_release command. In case of Yocto Linux, running "lsb_release -a" will give an error code because CODENAME info is not present. As such, bitbake will extract the info from /etc/lsb-release, running into the above issue. Consequence is that building under BA will crash. Partial fix for [YOCTO #4071] Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-28base.bbclass: When we use fakeroot, also use it for devshellRichard Purdie1
Its generally useful for devshell to end up in the fakeroot environment. If a user needs to exit it, PSEUDO_UNLOAD=1 <command> works, its usually harder to enter the envionment. [YOCTO #3374] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27qemuimage-testlib: Capture stderror in the logs as well as stdoutRichard Purdie1
This allows error messages to be captured in the logs which is helpful. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27systemd: Upgrade to 198Khem Raj4
Tested on ppc and x86_64 compile tested for uclibc Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27glib-networking: Disable libproxy and gnome-proxy since they're not in DEPENDSRichard Purdie1
This fixes races in build over these dependencies which could become accidentally enabled. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27xserver-nodm: Correct initscript headerRichard Purdie1
The init script header is incorrect, we only start this at runlevels 2 and 5. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27qemu: Add missing DEPENDS on dtcRichard Purdie1
This fixes failures in builds where qemu fails with: i586-poky-linux/qemu/1.4.0-r0/qemu-1.4.0/hw/arm/../../device_tree.c:28:20: fatal error: libfdt.h: No such file or directory x86_64-linux/usr/libexec/i586-poky-linux/gcc/i586-poky-linux/4.7.2/ld: cannot find -lfdt Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27classes/buildhistory: ensure SDK package lists include complementary pkgsPaul Eggleton1
We need to get in after complementary package installation, so use _append instead of +=. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27psplash_git.bb: fix do_compile by correcting the script pathNitin A Kamble1
The recent change in the builddir location is breaking this recipe as it is trying to run a script (make-image-header.sh) located in sourcedir from builddir. As the script does not gets to run, the resulting file is not generated causing error as seen below. This commit fixes the issue, by providing complete path of the script. This commit fixes this build error: ERROR: Error executing a python function in /srv/home/nitin/prj/poky.git/meta/recipes-core/psplash/psplash_git.bb: IOError: [Errno 2] No such file or directory: 'psplash-tlk-img.h' ERROR: Task 6 (/srv/home/nitin/prj/poky.git/meta/recipes-core/psplash/psplash_git.bb, do_compile) failed with exit code '1' Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27local.conf.sample.extended: remove obsolete DISTRO_FEATURES_INITMAN referenceRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27qemux86*.conf: replace XSERVER weak assignment with a hard oneLaurentiu Palcu2
Because the qemu.inc is now included before the XSERVER assignment, the xf86-video-vmware and xf86-video-vmmouse are not built and the X for qemux86 and qemux86-64 does not start. [YOCTO #4124] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-27sysvinit: rc: exit psplash correctlyChen Qi1
Previously, psplash didn't go away at system startup. The root cause is that rc checks the file '/etc/init.d/xserver-nodm' to determine whether to exit psplash manually. So even if xserver-nodm is not linked into runlevel 3, psplash doesn't exit. This patch fixes this problem by letting the rc script check the file '/etc/rc${runlevel}.d/S??xserver-nodm' to determine whether to exit psplash manually. [YOCTO #3904] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26nspr: Also update nspr.pc to 4.9.5Colin Walters1
Earlier commits bumped the upstream version, but we need to update our copy of the pkg-config file too. (It'd probably be better to generate this at build time, otherwise this will be a trap people continually fall into) Signed-off-by: Colin Walters <walters@verbum.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26uclibc-git: Fix build on x86 and move to latest masterKhem Raj5
debugedit from rpm has unearthed a bug in uclibc where it was mixing stabs with elf/dwarf Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-26udev: move /run volatile entry to udev instead of initscriptsRoss Burton3
initscripts is generally installed on systemd-using images, but because it specifies that /run is a symlink to /var/run managed by volatiles it totally breaks systemd by copying/deleting /run from underneath systemd. Deleting sockets mid-boot doesn't leave systemd in a happy place. As this volatile reference of /run was introduced by udev 182, move it's reference to the udev recipe. This way it will never be present on systemd images, as systemd manages /run as a tmpfs itself. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26busybox: order and group initscript variables logicallyRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26dbus: explicitly disable systemd when no systemdRoss Burton1
If systemd isn't a distro feature, explicitly disable the systemd unit path check as otherwise it will search the sysroot. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26systemd: recommend systemd-compat-unitsRoss Burton1
These are more than useful as they ensure some services are not started twice, and cause the first-boot postinstalls to run. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26systemd-compat-units: disable dbus-1Ross Burton1
2013-03-26Revert "base-files: add fstab for systemd based systems"Andreas Oberritter2
For hybrid systemd/sysvinit builds, only one fstab can be used. The default fstab used by sysvinit should work fine with systemd. Since virtually every machine will ship its own fstab in its bsp layer, the bsp layer may decide how to override the fstab based on distro features. This reverts commit 77bbb839ba25b974a538b90d346b454ccd5deefd. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26packagegroup-core-boot: revert to specifying sysvinit as default init managerRoss Burton1
Don't follow DISTRO_FEATURES_INITMAN as that makes the packagegroups rebuild if you switch init manager. As in hybrid situations there's generally a clear primary and minimal init manager choice, so change VIRTUAL-RUNTIME_init_manager to set the primary init manager, and roll your own groups/images for the secondary. Signed-off-by: Ross Burton <ross.burton@intel.com>
2013-03-26default-distrovars: remove obsolete DISTRO_FEATURES_INITMAN referenceRoss Burton1
Signed-off-by: Ross Burton <ross.burton@intel.com>
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>