summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
...
* udev: Effectively revert the move to /sbinRichard Purdie2013-04-181-4/+4
| | | | | | | | | | | | | This effectively reverts the changes made in b49ddeb11c0319b7ece278fd7cef6b0223114ca9 to move udev's libexecdir to sbin. The changes caused too many issues in other places and were not well enough tested this close to a release. Rather than use base_libdir, the nonarch version is used to try and give some chance of multilib not being totally broken in the release. (From OE-Core rev: c50e50fdafad378d75b7b74259a3d55ca0fe3d18) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: fix mount issueLaurentiu Palcu2013-04-181-1/+1
| | | | | | | | | | | | | | | | | When the mount command is not given the filesystem type to mount, then it will try all the known filesystems. However, when a filesystem is not supported by the kernel, the mount function call will return ENODEV. The following patch, ecd90bc6aa63da2aef2513ac090d4b426b2b719c, introduced a problem because it bailed out on ENODEV too. Instead it should have only bailed out on ENOMEDIUM. [YOCTO #4308] (From OE-Core rev: 82320d2074572477f26887eddc51dc2a1dfea403) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix shell variable assignment spacingRichard Purdie2013-04-161-2/+2
| | | | | | (From OE-Core rev: c49af6de052a45f05d948f61e207c9d168ee10b2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: use AC_CHECK_TOOL instead of AC_PATH_TOOL when checking objcopy, ↵Martin Jansa2013-04-162-1/+46
| | | | | | | | | | | | | | | | | strings, gperf * with external toolchain I have different HOST_PREFIX and HOST_SYS AC_PATH_TOOL is using HOST_SYS as prefix and fails to find objcopy then it tries objcopy without prefix which is found on host, but that objcopy does not work for arm libs * with internal toolchain gperf is not prefixed with HOST_PREFIX, but fallback to "gperf" only finds the one in native sysroot first * based on http://lists.linuxtogo.org/pipermail/openembedded-core/2013-April/037985.html (From OE-Core rev: 6ae99136f1c1c59f4e55331c43cf0c0bac5abcdd) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initramfs-live-install*: fix the "install" boot optionNitin A Kamble2013-04-164-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The install boot option was giving the following error when one tried to install the live image on a permanent storage of a BSP. cat: write error Invalid argument Installation image failed sh: can't access tty: job control turned off Further digging into the issue, found out that the install script was trying to do this: cat /proc/mounts > /etc/mtab And in the base-files recipe the /etc/mtab is made soft link to /proc/mounts. So the cat command was failing to write on /etc/mtab. As the contents of the /proc/mounts is already reflected in the /etc/mtab file due to the symlink-ing, there is no need for this step to recreate /etc/mtab in the install script. So just removing this unnecessary step, which solves the install issue of the live images. Fixes this bug: [YOCTO #4229] (From OE-Core rev: f8663eac872882e94d956b1b604304e92b865766) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: add realpath to alternativesRoss Burton2013-04-151-1/+1
| | | | | | | | | | New coreutils (8.15 onwards) build /usr/bin/realpath, which busybox also builds. Add it to the alternatives handling to avoid file conflicts. (From OE-Core rev: 826c18eb1c69f5e3689b5b0ef188f74ae930a050) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initramfs-live-boot: explicitly depend on udev-extraconfRoss Burton2013-04-151-1/+1
| | | | | | | | | | init-live.sh depends on udev performing automounting, which happens in udev-extraconf. Explicitly depend on it so that we always have it installed. (From OE-Core rev: a608d74e69ca1efe5f2b176c000fb8212797d056) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix bootup with 'ro' by re-adding util-linux-mount to RDEPENDSKoen Kooi2013-04-151-1/+1
| | | | | | | | | | | When using busybox mount the filesystem won't get remounted as 'rw' and bootup will fail. This fixes the regression seen after switching from 'danny' to 'dylan'. (From OE-Core rev: 15a91361a0b5a44161d2dbcf2be6240d86123ad9) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Add inetd related filesTing Liu2013-04-154-2/+58
| | | | | | | | | | | | | | Add back inetd and inetd.conf files which are needed if CONFIG_INETD is enabled in the defconfig. Grabbed these files from oe-classic This patch is based on the previous patch for denzil: http://patches.openembedded.org/patch/33235/ (From OE-Core rev: 929c738787b6f513ce235ed5f7753408a570d632) Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: detects customized configs when do_installTing Liu2013-04-152-14/+14
| | | | | | | | | | | After using 'bitbake -c menuconfig busybox' to customize defconfig, do_install fail to detect the changes. Grep configs in ${B}/.config instead of ${WORKDIR}/defconfig. (From OE-Core rev: 5c088c2d3b23026752649d077ee44fe3dbe26aa4) Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* allarch: Drop various problematic allarch usagesRichard Purdie2013-04-151-2/+0
| | | | | | | | | | | | | In each of these cases allarch is used where the package in question has a dependency on things which are not allach and change when MACHINE is changed. This leads to a rebuild of the package each time MACHINE is switched and the sstate checksum changes. The dependencies in question are not suited be being marked as ABISAFE. (From OE-Core rev: 087a680429efa713a98fbb89f927b046fe07f87c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf: Add -o silent to auto mount for mount.util-linuxSaul Wold2013-04-131-0/+5
| | | | | | | | | | | | | This will silence some of the noisy output from mount.util-linux and the kernel when trying to automount filesystems or devices. Busybox does not accept the silent option, it uses a loud option instead. [YOCTO #3935] (From OE-Core rev: be218292ee3f05afe47545aa8e1625452e0cd614) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initrdscripts: look for new systemd-udevd locationRoss Burton2013-04-132-2/+2
| | | | | | | | | As per the previous commit, systemd-udevd is now in /sbin/systemd/. (From OE-Core rev: ff0fd25206c3c75921d51cb80bcb6c94ca47b405) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: move the binaries to /sbin/systemdRoss Burton2013-04-132-37/+23
| | | | | | | | | | | As with udev, placing binaries in /lib breaks our current multilib implementation. Change the rootlibexecdir to /sbin/systemd so that binaries don't move in multilib situations. (From OE-Core rev: d612ca261d12e89e96675c24d9d7456319179720) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Update initscript to check for devtmpfsSaul Wold2013-04-131-0/+8
| | | | | | | | | | | | This is needed because the udev_182 now requires devtmpfs and will not work correctly with out, so ensure that the kernel contains devtmpfs by checking /proc/filesystems. [YOCTO #4125] (From OE-Core rev: 4f85bb5254b3f4a9db8b419947d4bde424ce9617) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: use $PN in SYSTEMD_PACKAGESRoss Burton2013-04-121-1/+1
| | | | | | | | | | Instead of using util-linux-uuidd in SYSTEMD_PACKAGES use ${PN}-uuidd, as in multilib configurations util-linux-uuidd doesn't exist. (From OE-Core rev: 1b840f8f0a52423a2a395b4ff35a6b24b05e6c0b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: use ${BPN} instead of ${PN} in FILESRoss Burton2013-04-121-1/+1
| | | | | | | | | | Otherwise in multlib builds the wrong name is used and files don't get packaged correctly. (From OE-Core rev: 6b1e5db596a8ba55a8f7b54aa9ff41771f39b230) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix path to systemd-analyze so it end up in the right package.Erik Botö2013-04-111-1/+1
| | | | | | | | | | | Since the upgrade to version 199 the location for systemd-analyze has change this caused the systemd-analyze package to be empty and the binary was shipped with the systemd package instead. (From OE-Core rev: 088c499815a6a856ece2bf0d54d6d8f1e7b431fb) Signed-off-by: Erik Botö <erik.boto@pelagicore.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: fix read-only-rootfs-hook.sh to start earlierPaul Eggleton2013-04-102-1/+2
| | | | | | | | | | | Mount /var/volatile ourselves so that we can set up the writable area first. This fixes the urandom service not starting properly when read-only-rootfs is enabled. (From OE-Core rev: 44c7d8a27a84a04251408e9a7d9550629bc17704) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: fix read-only-rootfs-hook.sh to avoid using unionfsPaul Eggleton2013-04-101-11/+4
| | | | | | | | | | | Unionfs isn't available everywhere, and we can get similar results (if not quite as neatly) by using bind mounts + tmpfs and copying the data over. (From OE-Core rev: 5a8ba93efa554c3b4d3b48ca8d668419a8c77f42) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tinylogin: Fix mix of tabs and spaces for SRC_URI indentationMartin Jansa2013-04-101-7/+7
| | | | | | (From OE-Core rev: f9d88a559dd2479893d7570676d42955ee3b8845) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: use update-alternatives.bbclassRadu Moisan2013-04-101-15/+21
| | | | | | | | | | switch from using plain update-alternatives command to update-alternatives.bbclass style (From OE-Core rev: 6e86da976d296b926b462e976d1f79f524f061b3) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: fail on no mediaSaul Wold2013-04-102-1/+33
| | | | | | | | | | | | | | The current behaviour of busybox is to try all fstype when automounting even when no media exists. The util-linux mount command bails when no media exists, so change the behaviour of busybox to do the same. It could also be argued that the KERN_INFO message from btrfs could be removed, but that would be harder to accomplish. (From OE-Core rev: e5403f55a1e9b1747535450fd95f499c85211771) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initrdscripts: Add udev sbin based libexec pathRichard Purdie2013-04-102-2/+2
| | | | | | | | | | | For better or worse we need to use base_sbindir for udev's libexec dir. This updates the initrdscripts to also cover the new location. I'd prevously assumed that it was already covered but its not. udev internal binaries shouldn't be in PATH so we have to do this to deal with the issue. (From OE-Core rev: 7e17cba75c20ad820d30128d9b4b0132e7b924a8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: fix init script for the location of udevdSaul Wold2013-04-093-3/+5
| | | | | | | | | Ensure we can update the script base don the location of the udevd installation (From OE-Core rev: 25ff5960e41b9d7c62b05a08dd77cf11390962a1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Move udevd back to /sbinRadu Moisan2013-04-092-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Along with v182 upgrade udevd was moved to ${base_libdir} making scripts like init-live.sh to fail in finding udevd. We have some problems here since the placing binaries into either libdir breaks the way our multilib handling works. That code and its associated sanity tests assume that libdir contains binaries of a particular architecture and that these are not allowed to overlap. This is in contrast to the bindirs where conflicts are expected and handled appropriately. So whilst upstream may desire this directory layout, it won't work for OE's usage of it and we need to configure udev differently. The scripts already have fallback code to handle udev in the two locations so there is no issue is going back to our previous layout. [Yocto #4046] (From OE-Core rev: a866e1e298dab5c52e7b8ba9ab68104604511713) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Set the default firmware path to enable firmware loading in udevHolger Hans Peter Freyther2013-04-082-0/+101
| | | | | | | | | | | After some breakage in udev the kernel gained direct firmware loading. For older kernels (e.g. 3.2 in my case) udev still needs to load the firmware. Firmware loading is enabled once a default firmware path is set. Apply a compile fix from the upstream project. (From OE-Core rev: 2009c6899d7d4ddd71350b1026a27336dc3a94b8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tinylogin: fix segfault from crypt()Saul Wold2013-04-052-1/+26
| | | | | | | | | | | | | | | | In glibc 2.17, crypt() now expects 2 valid chars for the seed or it will error out and return a NULL. The tinylogin code took the result from crypt directly into a strcmp() which caused a segfault Tinylogin has been deperacted, busybox now has login support, I will investigate using busybox login support for 1.5. [YOCTO #4097] (From OE-Core rev: 03034e0f5dff426ee7adaa2364082dd47c23260a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: set INHIBIT_UPDATERCD_BBCLASS without sysvinit in featuresMartin Jansa2013-04-041-0/+6
| | | | | | | | | | | | * fixes udev configure in run-postinsts failing with: update-rc.d: /etc/init.d/dbus-1: file does not exist because dbus-udev is installed only with sysvinit in features but update-rc.d was always called from PN postinst (From OE-Core rev: f15192a65e02026308253e6723b990b24780be5b) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: set INHIBIT_UPDATERCD_BBCLASS without sysvinit in featuresMartin Jansa2013-04-041-0/+6
| | | | | | | | | | | | * fixes udev configure in run-postinsts failing with: update-rc.d: /etc/init.d/systemd-udev: file does not exist because systemd-udev is installed only with sysvinit in features but update-rc.d was always called from PN postinst (From OE-Core rev: b1dca3a693bb439181a155c5248a2c6a900f729d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf: Add rule adding input devices to input groupDarren Hart2013-04-042-1/+3
| | | | | | | | | | | | | | | | | Fixes [YOCTO 4164](2/3) Add all /dev/input/* devices to the input group with g+rw. This is needed for rootless X without adding a security hole by making the device o+rw. (From OE-Core rev: 66c9b46f987f3e4f1f9b7b11d1ae157897454f07) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Saul Wold <sgw@linux.intel.com> Cc: Radu Moisan <radu.moisan@intel.com> Cc: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: Add input groupDarren Hart2013-04-042-2/+25
| | | | | | | | | | | | | | Fixes [YOCTO 4164](1/3) Add input group for the /dev/input/* devices. This is needed for rootless X without adding a security hole by making the device o+rw. (From OE-Core rev: 262234ab50636463f03fd4daccecc1232682ff59) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Saul Wold <sgw@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: Use u-a for getoptMartin Jansa2013-04-032-3/+5
| | | | | | | | | | | | | | * when enable busybox installs getopt to ${base_bindir} and util-linux to ${bindir}, so there is no file conflict, but because busybox implementation does not support --long used by lsb_release (which RDEPENDS on util-linux) we need to use util-linux getopt even when busybox defconfig has it enabled (From OE-Core rev: 2dcc867247b402bb4223cc7b9861088958599866) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Add new package systemd-kernel-installKhem Raj2013-03-291-1/+5
| | | | | | | | | Package additional directories e.g. /etc/kernel and /usr/lib/kernel (From OE-Core rev: c833df1493101165691e0a3b8e98055def10d504) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: Fix out of tree buildsRichard Purdie2013-03-291-0/+5
| | | | | | (From OE-Core rev: 29a6810aad27e049577d2d66690ba74f92dd5211) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* coreutils: update to upstream version 8.21Marko Lindqvist2013-03-295-28/+28
| | | | | | | | | remove-gets.patch removed as issue is fixed upstream. (From OE-Core rev: c2fd59028a57356cff8d165edb71c45c3b05cc67) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Depend on dbus-ptest-ptestBjörn Stenberg2013-03-291-1/+1
| | | | | | | | | | | The dbus-ptest recipe doesn't produce an output package called dbus-ptest. What we are interested in is actually the dbus-ptest-ptest package. (From OE-Core rev: f3c75400d93ab7f22f6de41db4e456d47af2e13b) Signed-off-by: Björn Stenberg <bjst@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-install.sh: remove unnecessary udev rules file to avoid error messagesChen Qi2013-03-291-0/+1
| | | | | | | | | | | | | | | | | /etc/udev/scripts/mount.sh is removed by init-install.sh, but the udev rules file which specifies the invocation of this script is not removed, thus causing the error message '/etc/udev/scripts/mount.sh: No such file or directory' shown at a live install. The /etc/udev/rules/automount.rules no longer works once the mount.sh script is removed. So we remove it to avoid the error message. [YOCTO #3924] (From OE-Core rev: 6b6db7b4fb7aa17b8e29076decc830149b9d35bc) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Upgrade to 199Khem Raj2013-03-294-4/+268
| | | | | | | | | | | | | | | 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 (From OE-Core rev: 0e692e846e5d6685619a7ce9f6e7346ced013b9b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Upgrade to 198Khem Raj2013-03-274-1224/+75
| | | | | | | | | | | Tested on ppc and x86_64 compile tested for uclibc (From OE-Core rev: effb345e6c84158066620a90e224ad25ba79db34) 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>
* glib-networking: Disable libproxy and gnome-proxy since they're not in DEPENDSRichard Purdie2013-03-271-1/+1
| | | | | | | | | This fixes races in build over these dependencies which could become accidentally enabled. (From OE-Core rev: 735a0b8215833b1e130cbc8b787d3b84792f222f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psplash_git.bb: fix do_compile by correcting the script pathNitin A Kamble2013-03-271-1/+2
| | | | | | | | | | | | | | | | | | | 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' (From OE-Core rev: c433a1b78c407bea17747cb77f5332ed8ee4c5e7) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysvinit: rc: exit psplash correctlyChen Qi2013-03-271-1/+1
| | | | | | | | | | | | | | | | | | 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] (From OE-Core rev: 70b14f1c4181d820e56e67f4a5d921905094dc62) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uclibc-git: Fix build on x86 and move to latest masterKhem Raj2013-03-265-578/+77
| | | | | | | | | | debugedit from rpm has unearthed a bug in uclibc where it was mixing stabs with elf/dwarf (From OE-Core rev: be9f1c63aff93f9cdcb69d6cf5b4639690602af6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: move /run volatile entry to udev instead of initscriptsRoss Burton2013-03-263-2/+6
| | | | | | | | | | | | | | | | 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. (From OE-Core rev: 5b0257e318340c2d6c8d3b0c3fa32272d6e9526b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: order and group initscript variables logicallyRoss Burton2013-03-261-2/+2
| | | | | | | (From OE-Core rev: 94acb39385a14d54503db08351a717449e2d4b50) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: explicitly disable systemd when no systemdRoss Burton2013-03-261-2/+2
| | | | | | | | | | If systemd isn't a distro feature, explicitly disable the systemd unit path check as otherwise it will search the sysroot. (From OE-Core rev: 7c39f21cbde23ad678ddf54cb54b7f01e971a325) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: recommend systemd-compat-unitsRoss Burton2013-03-261-1/+1
| | | | | | | | | | These are more than useful as they ensure some services are not started twice, and cause the first-boot postinstalls to run. (From OE-Core rev: c254ab4e3bdc4a3ba18e89219594fffa7895184d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-compat-units: disable dbus-1Ross Burton2013-03-261-0/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "base-files: add fstab for systemd based systems"Andreas Oberritter2013-03-262-15/+1
| | | | | | | | | | | | | | | | | 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. (From OE-Core rev: e9352e8a43639564af0a97f5e8a642e0989b0256) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>