summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* eglibc-locale: add missing dependency on virtual/${TARGET_PREFIX}binutilsMartin Jansa2013-08-161-0/+5
| | | | | | | | | | | | | | | | | | * eglibc-collateral.inc inhibits all default deps, but do_package needs objcopy: ERROR: objcopy failed with exit code 127 (cmd was 'i586-webos-linux-objcopy' --only-keep-debug 'eglibc-locale/2.17-r0/package/usr/lib/gconv/IBM1166.so' 'eglibc-locale/2.17-r0/package/usr/lib/gconv/.debug/IBM1166.so') ERROR: Function failed: split_and_strip_files (From OE-Core master rev: 9e615e2a6845d3a98f5d9b0cb555d132c696fc92) (From OE-Core rev: 8035d6d5dfe08fb284e06088659ae44858d0ff8e) 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>
* packagegroup-core-tools-testapps: isolate x11 dependent toolsRogerio Nunes2013-08-121-8/+12
| | | | | | | | | | | | | | This patch groups x11 dependent tools in a separete variable, and when DISTRO_FEATURES does not contain x11, this group is not included in the package RDEPENDS. (From OE-Core master rev: 8253abeee10189b828336b791c3421d240a2e69b) (From OE-Core rev: 3974ebead1be20e3687ab66e8782da70118a3202) Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* external-sourcery: add missing providersSaul Wold2013-08-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | Addess the issue with multiple .bb providers ERROR: Multiple .bb files are due to be built which each provide virtual/libc (/srv/hdd/releases/dylan/meta/recipes-core/eglibc/eglibc_2.17.bb /srv/hdd/releases/dylan/meta/recipes-core/meta/external-sourcery-toolchain.bb). This usually means one provides something the other doesn't and should. ERROR: Multiple .bb files are due to be built which each provide virtual/arm-none-linux-gnueabi-libc-for-gcc (/srv/hdd/releases/dylan/meta/recipes-core/eglibc/eglibc_2.17.bb /srv/hdd/releases/dylan/meta/recipes-core/meta/external-sourcery-toolchain.bb). This usually means one provides something the other doesn't and should. ERROR: Multiple .bb files are due to be built which each provide virtual/libiconv (/srv/hdd/releases/dylan/meta/recipes-core/eglibc/eglibc_2.17.bb /srv/hdd/releases/dylan/meta/recipes-core/meta/external-sourcery-toolchain.bb). This usually means one provides something the other doesn't and should. Thanks to Kergoth (Chris Larson) and Lpapp (Lazslo) [YOCTO #4908] (From OE-Core master rev: 09deeef20ee5a0c12ad4fd89cace6e0fb832d5b1) (From OE-Core rev: cbec047b1d59f6082d840711fae5672f30c3436c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Ensure that we mount devtmpfsSaul Wold2013-07-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since systemd also used tmpfs we should make a similar patch for the systemd-udev script Fix for bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=4632 Since udev 172, the 'mknod' logic was removed from udev. Yocto Dylan is now using udev 182. This means /dev is now required to be a devtmpfs filesystem (maintained by the kernel). If the root filesystem is a ramdisk, the kernel's auto-mount of /dev doesn't activate since there is no rootfs to actually mount... The bug causes an unusable system as /dev doesn't contain even basic nodes required to even get a login prompt. The Yocto udev/init script mounts tmpfs if it does not detect tmpfs or devtmpfs mounted at /dev. This appears to be outdated logic that is no longer correct. I believe the Yocto udev init script should be checking and mounting only 'devtmpfs' on dev. (From OE-Core master rev: d3616f31617830cac9375e8f4aa33e344ac554ed) (From OE-Core rev: 20b50e8d99fa58818a23d3e82411ac1691e6552d) Signed-off-by: Alex Olson <alex.olson+yocto@gmail.com> [YOCTO #4632] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: only use devtmpfs for udevAlex Olson2013-07-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=4632 Since udev 172, the 'mknod' logic was removed from udev. Yocto Dylan is now using udev 182. This means /dev is now required to be a devtmpfs filesystem (maintained by the kernel). If the root filesystem is a ramdisk, the kernel's auto-mount of /dev doesn't activate since there is no rootfs to actually mount... The bug causes an unusable system as /dev doesn't contain even basic nodes required to even get a login prompt. The Yocto udev/init script mounts tmpfs if it does not detect tmpfs or devtmpfs mounted at /dev. This appears to be outdated logic that is no longer correct. I believe the Yocto udev init script should be checking and mounting only 'devtmpfs' on dev. (From OE-Core master rev: 31ab19ab69bc6504df01cac7ee0670ca78d247ab) (From OE-Core rev: dba106b4fc1579185498b85f6e1ade494fcc588e) Signed-off-by: Alex Olson <alex.olson+yocto@gmail.com> [YOCTO #4632] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-udevd: fix invoking init script failedHongxu Jia2013-07-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | root@emenlow-noemgd:~# /etc/init.d/systemd-udevd restart Stopping udevd Starting udev corrupt queue file root@emenlow-noemgd:~# /etc/init.d/systemd-udevd status udevd is stopped root@emenlow-noemgd:~# ps 3805 root 8728 S /lib/systemd/systemd-udevd The process name is systemd-udevd rather than udev which is used in systemd-udevd's init script. [YOCTO #4746] (From OE-Core master rev: 8f59aa06f3eb955d58600dfc628bd3b5d2aa0f9a) (From OE-Core rev: af5120e5ff3a0ad960554ff4ab0e17673c239f9e) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: don't install quotaon.service twiceyocto-1.4.1dylan-9.0.1.rc1dylan-9.0.11.4.1.rc1Ross Burton2013-06-112-0/+33
| | | | | | | | | | | | | If the same file is installed twice there's a race which can lead to "make install" failing. Remove the redundant installation of quotaon.service to eliminate the race. (From OE-Core master rev: c6c5c2285e1b6cb3598ccba08aee3dfd090e7129) (From OE-Core rev: 7b8dd3b5547b501e94a6887d3be5c2bbb8845ec8) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* self-hosted: Add libssp libraries to packagegroup/imageSaul Wold2013-06-101-0/+3
| | | | | | | | | | | | | | These libraries are needed to ensure when the -fstack-protector flags are used the compile will complete and not fail due to missing libraries [YOCTO #4586] (From OE-Core master rev: 543ede707a268ca17f972be54860e455b4de9e0b) (From OE-Core rev: 803a23cbff1eaa92d6d94544f5ae68f3b01b5eda) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: update to latest dylan revision for releasePaul Eggleton2013-06-031-1/+1
| | | | | | | (From OE-Core rev: e174486f04e81ec342ab4ec854d4194bb372b96b) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: let status return 0 when proc is running wellJesse Zhang2013-06-031-0/+1
| | | | | | | | | | | | | | | Ensure that the status returns 0 instead of the last shell command result, otherwise the calling script can not properly detect the status of pid. (From OE-Core master rev: d9d4fdc769dfe6bf9838f5c5f3189a80f0e3cf90) (From OE-Core rev: 74c3959c7b4554fa706cfb177446050798be67b5) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus-glib: use BPN instead of PNJesse Zhang2013-06-031-4/+4
| | | | | | | | | | | | | | | | | | Fix warnings in multilib build: WARNING: For recipe lib32-dbus-glib, the following files/directories were installed but not shipped in any package: WARNING: /usr/share/dbus-glib WARNING: /usr/share/dbus-glib/tests (From OE-Core master rev: 66224a0fbd4056d954cbf1db3a8b91d06a638b80) (From OE-Core rev: 8d88215a4eb377a1629f21a554f411a1d745889e) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix ordering for machineid and run-postinsts servicesJonathan Liu2013-06-032-2/+2
| | | | | | | | | | | | | | | | | | | | The remount-rootfs.service unit has been renamed to systemd-remount-fs.service in systemd v183 and later. The run-postinsts script writes to /var/log (a symbolic link to /var/volatile/log), so systemd-tmpfiles-setup.service is added to After= in run-postinsts.service to ensure /var/volatile/log is created before running the script. [YOCTO #4490] (From OE-Core master rev: 8b59ec4eb761d88445da94bb90aa2c5db0bbf365) (From OE-Core rev: ad527115ad122df957e204d4af57edf600f9d419) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: a fix for hang in dropbearkey, built for x32Nitin A Kamble2013-06-032-0/+141
| | | | | | | | | | | | | | | | | | | | | | | This commit fixes runtime hang of 'dropbearkey' utility, built for a x32 target abi system. The hang was observed while generating ssh keys, with this command: dropbearkey -t dss -f private The issue is fixed by changing the code, where 'long' in x86_64 mode is assumed as 64bit quantity. With the x32 abi, the processor is in x86_64 mode, but the 'long' is a 32bit quantity. Hence the fix uses 'long long' instead of 'long' to define/access 64bit data variables. Fixes bug: [YOCTO #4496] (From OE-Core master rev: 8f5bc47729edb8cb051d81e9ff1680cb8d2eca25) (From OE-Core rev: 4f6d55123fe054e8d081722b91aa12d676b42cb3) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib: Add --disable-man to configure argumentsPhil Blundell2013-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | Without this, glib will probe for the existence of xsltproc and use that to decide whether or not it wants to generate manpages. This has two consequences, neither of them good: a) the result of the build will vary depending on whether xsltproc happens to be installed in either the native sysroot or the host environment; and b) if xsltproc does happen to be installed but docbook-xsl isn't, the build will fail with "I/O error" messages. (From OE-Core master rev: b2e2c6e1a20ea4c53dea04992bb1b38890a959dd) (From OE-Core rev: 03a1a14839064af6cb85bd534450f09d5b6b8f55) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-systemctl: parse unit files more correctlyEnrico Scholz2013-05-221-6/+3
| | | | | | | | | | | | | | | | | | | | | Old script failed to parse unit files containing comments like | #Alias=some-alias or whitespaces like | WantedBy = foo correctly. Patch changes script to interpret keywords only when they are at the beginning of a line and ignores whitespaces before the '='. (From OE-Core master rev: 443e75ee2c0e9a62df997aef24855bce54d39177) (From OE-Core rev: 7a8205e28d4bc826b0dc3f692a958e1e8e9a1432) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: create /var/volatile/tmp to avoid dead linkChen Qi2013-05-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | If it's not first boot, /tmp has already been symlinked to /var/volatile/tmp. But the udev service starts before populate-volatile.sh starts. This leads to a dead link at /tmp. As a result, trying to create any file under /tmp will fail. If a USB is plugged in before the populate-volatile.sh script starts, the /tmp/.automount-$name file will not be created correctly. As a result, when the USB is unplugged, the /media/$name directory is not removed. So we create /var/volatile/tmp directory in the udev script to avoid this dead link problem. [YOCTO #3404] (From OE-Core master rev: 2f93c8466ca146c965585ea38210ddb5fb5754bd) (From OE-Core rev: 78d44b0025a2fc117b67f8128385d0387955f01c) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf: Avoid mounting unknown filesystemsOtavio Salvador2013-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | Depending on kernel version used, the system can hung when trying to mount the extended partition (not the logical one) as it is a holder for other partitions and does not have a filesystem in it. To avoid this to happen we just mount partitions when these are using known filesystems so it does not try to mount a partition for an unsupported filesystem. Reported-by: Vladan Jovanovic <vladan.jovanovic@gmail.com> Reported-by: Leonardo Sandoval Gonzalez <b42214@freescale.com> (From OE-Core master rev: 895c9685a7f95dc84786213f945895a504a16254) (From OE-Core rev: cdb8ccc8f9b4959e84d1ee071de29e8a54974c11) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Tested-by: Vladan Jovanovic <vladan.jovanovic@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: disable tests for native builds, and respect ptest for LSBRoss Burton2013-05-221-3/+2
| | | | | | | | | | | | | | | | | | | Without disabling the tests in the native build, glib-2.0-native will need libdbus-native to be present. As we don't run the tests, disable them so we don't have build failures due to missing dependencies. Also, the LSB override was missing PTEST_CONF so the same problem could happen. After adding PTEST_CONF the LSB override is identical to the non-overridden EXTRA_OECONF, so remove it. Finally, to be explicit, put --enable-module-tests in PTEST_CONF. (From OE-Core master rev: 395b90054eccddc1c9062a9a8657ed4482b7710a) (From OE-Core rev: ab4309f4769724b7b778d04b6882172ae95311e9) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance: Update to latest dylan revision for releasedylan-9.0.0Richard Purdie2013-04-181-1/+1
| | | | | | (From OE-Core rev: 94e3f18214e2e35076c52ed27252073f788ec01f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: depend on libgcryptEnrico Scholz2013-04-181-0/+3
| | | | | | | | | | | | | | | | | | | Although libgcrypt support is optional, its development files are are always required to expand AM_PATH_LIBGCRYPT. Build might fails else with | libtoolize: copying file `m4/lt~obsolete.m4' | configure.ac:446: warning: macro 'AM_PATH_LIBGCRYPT' not found in library | ... | configure.ac:446: error: possibly undefined macro: AM_PATH_LIBGCRYPT | autoreconf: .../autoconf failed with exit status: 1 | + bbfatal 'autoreconf execution failed.' | + echo 'ERROR: autoreconf execution failed.' (From OE-Core rev: c7fe1d0085339e55566989b96d4d48412f0fa47d) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: disable systemd supportRoss Burton2013-04-181-0/+1
| | | | | | | | | | If we want systemd support we use systemd's udev, so disable systemd support in this udev to avoid packaging the unit files. (From OE-Core rev: 36aa37e693bcb76a96761847dbef6a015d96fd98) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: drop dependency on udev in libudevRoss Burton2013-04-181-1/+0
| | | | | | | | | | | | | | libudev previously depended on udev, but this causes problems with multilib if the user wants to install two variants of libudev as they'll pull in two variants of udev, which will conflict. Instead, remove the dependency and rely that the image pulls in udev in some way, such as the commonly used packagegroup-core-boot. (From OE-Core rev: 6168ea4e00fd1c8296fe770fa9e2ef00018f5621) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* psplash: Fix multilib buildRichard Purdie2013-04-181-2/+2
| | | | | | | | | The update-alternatives for multilibs are broken and nothing provides psplash in a multilib build. This fixes the multilib code. (From OE-Core rev: db1f6b24ddb2a19fb16b2ebb948bb3274b7ac295) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance: Update revision to dylan releaseRichard Purdie2013-04-181-1/+1
| | | | | | (From OE-Core rev: 2453504004cfb6c9b5030b557f421e580802a280) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix udevd init script so sysvinit in systemd mode worksRichard Purdie2013-04-181-0/+3
| | | | | | | | | | | | | | Commit http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=f76d4b3549ca220fa4bf84db2756ab45e11d06a3 moved volatiles handling for /run to the udev code only. This breaks sysvinit+systemd combined systems when building sysvinit images. This patch hacks the udevd init script in systemd to provide the missing symlink allowing the sysvinit images built with udevd from systemd to work correctly. (From OE-Core rev: 6c6e5dc0baccd0904f785b1f80f39b5f530779cf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: fix systemd service in multilibRoss Burton2013-04-181-1/+1
| | | | | | | | | | Use ${PN} when specifing service files so that they continue to get packaged with multilib. (From OE-Core rev: d394d27b66cbeb4e57017d2a49605243586477ac) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix -dbg package with multilibRoss Burton2013-04-181-1/+1
| | | | | | | | | | When libdir isn't /lib the files that are in nonarch_base_libdir were being left out of the -dbg package. (From OE-Core rev: 60bb2f795a0b3e83de5861185446992fb91ffba0) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: hard-code the syslog service fileRoss Burton2013-04-181-1/+1
| | | | | | | | | Previously this was using ${PN}-syslog.service, which changes with multilib. (From OE-Core rev: ee36f997e68f5a995baf361191cef7a46ff51203) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: explicitly package nonarch_base_libdirRoss Burton2013-04-181-1/+1
| | | | | | | | | | When using multilib this doesn't get caught by the default FILES_${PN}, so add it. (From OE-Core rev: 53f1540780e5d4e8035118a1920202735bd0a370) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Effectively revert the move to /sbinRoss Burton2013-04-181-30/+43
| | | | | | | | | | | | | | | | This effectively reverts the move systemd's libexecdir to /sbin. This caused too many issues in other places and was not well enough tested this close to 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. Also some variables are used that mirror the systemd build system to reduce the risk of using variables that "work" in the general case but will break with multilib. (From OE-Core rev: e921d43e213f93da176fd27e48b557f802443dec) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: fix out of tree buildsRoss Burton2013-04-181-1/+1
| | | | | | | (From OE-Core rev: 79b7c56cb5d6a0b75e7df01fd3cfef4111bf69ae) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: remove explicit path to udevadmRoss Burton2013-04-181-5/+5
| | | | | | | (From OE-Core rev: cc0f22cd1e93cc25647add1a3339e150572e4fce) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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>