summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
...
* util-linux 2.19.1: split blkid out into its own subpackageKoen Kooi2012-01-302-2/+15
| | | | | | | | | | | Recent udev versions require blkid from u-l, not from e2fsprogs. In general all the non fsck related binaries from e2fsprogs are deprecated. (From OE-Core rev: eb048308ae80d779e904951b032dba5b780898e5) (From OE-Core rev: d9afc91bd5bce889dfbcba13b6b59ea07f288cc7) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: split fsck* into its own subpackageKoen Kooi2012-01-302-4/+14
| | | | | | | | | | | This will allow systemd to run /sbin/fsck without dragging in all of util-linux (From OE-Core rev: 4c95779fe1297b06adc705de30dca4e3570084ae) (From OE-Core rev: 8b3beaddb5d44efcaa88ea173081c6e0558908ad) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: Avoid post install scriptsMark Hatle2012-01-302-8/+3
| | | | | | | | | | | | The post install script was removed, and the install_append updated to ensure the permissions are set correctly. (From OE-Core rev: 463e44ae159da2e03369f9ac14843b479de2e43d) (From OE-Core rev: 52dac3a309f3f1d6a4ee7269b16ca381fd0cdd38) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: Generate the shadow files at rootfs constructionMark Hatle2012-01-301-5/+7
| | | | | | | | | | | | | With the recent changes to the shadow-native package support "--root", we can now convert the passwd/group files to their shadow forms while doing the rootfs install, instead of waiting to run on the target. (From OE-Core rev: 662431ace246e9bb35ad8d0ddd0510193f93517d) (From OE-Core rev: 03c366bb36145f7bc1679307e578bb2cf44e3737) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wpa-supplicant: Avoid blocking the post install script at cross rootfs time.Mark Hatle2012-01-302-3/+3
| | | | | | | | | | | We only want to reload dbus, if we're install on the target -- not on the host. (From OE-Core rev: 1ce23fe7d7c33c196af3ba25b4e97496718328d1) (From OE-Core rev: e9dc54d5c31ef50fa2f929d552e2f61533426dcc) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_rpm.bbclass: Turn off script debuggingMark Hatle2012-01-301-1/+1
| | | | | | | | | | | | | Disable script debugging, as the log files become huge and take a long time to process during the log check step. This results in a performance improvement. (From OE-Core rev: a7e70227bac72c4f7d3419f94f6915da4c7e3f43) (From OE-Core rev: 9b6ecd1fd2f6870ace033362e3bb86fd98935bc9) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_rpm.bbclass: Enable pre and post install scriptsMark Hatle2012-01-304-21/+199
| | | | | | | | | | | | | | | | | | | | | | | [YOCTO #1755] We change the want the RPM rootfs install works to install pre and post install scripts. The new method uses a script helper that is invoked by RPM outside of the normal chroot. The wrapper is dynamically generated prior to the install starting. It will check the return code of the script. If the script fails, it will store a copy to be executed on the first system boot. This is similar to the previous mechanism. In addition, a line of debug was added to the scripts as written by package_rpm to list which package and which script for later debugging, if necessary. (From OE-Core rev: 3e7120d6a9fd5e46214673d0a6e1085a7314ff42) (From OE-Core rev: 5d74a2bbe036cf586b76aef0d9907ecb3d4a5f1d) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xinit: Fix `startx` looking for `mcookie` in sysrootPaul Menzel2012-01-301-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `startx` run on a system based on the demo systemd image [1] and `opkg`-installed packages fails with the following error. /usr/bin/startx: line 139: /OE/tentacle/build/tmp-angstrom_2010_x/sysroots/x68_64-linux/usr/bin/mcookie: No such file or directory Applying commit 443bcc07 [1] from OE-classic Author: Tom Rini <tom_rini@mentor.com> Date: Thu Apr 7 10:36:43 2011 -0700 xinit: Fix mcookie / util-linux-ng dependency xinit just needs to know the runtime path of mcookie so we need to RDEPEND on util-linux-ng and pass the runtime path in via EXTRA_OECONF (From OE-Core rev: 1053a6a8e15851ef139d8aa4683849fc2fc277e1) (From OE-Core rev: a32d9dbc25fce5e8566681f0c7f606eedaaf3933) Signed-off-by: Tom Rini <tom_rini@mentor.com> fixes this issue. Commit 7f6cec6f [2] Author: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Date: Sun Feb 21 18:11:30 2010 +0100 xinit: add dependency on util-linux-ng […] tried to address the same problem but apparently did not help, because Tom still had problems. [1] http://www.angstrom-distribution.org/demo/beagleboard/Angstrom-systemd-image-eglibc-ipk-v2011.11-core-beagleboard.rootfs.tar.bz2 [2] http://git.openembedded.org/openembedded/commit/443bcc0785bc004e471b3750a34d12d2fd2e5dad [3] http://git.openembedded.org/openembedded/commit/7f6cec6f0adb6203a6dbaf8a43c67c2c4f8bf84e Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: refactor configure to avoid configuring widec when disabledDarren Hart2012-01-301-31/+35
| | | | | | | | | | | | | | | | | | | | | | | | | The ENABLE_WIDEC variable can be used to disable ncurses wide character support when your C library doesn't support it. Currently, the do_configure step configures for both narrow and wide characters regardless and only checks ENABLE_WIDEC during compilation. This leads to QA failures with host contamination during configure if the C library doesn't support wide characters. Refactor do_configure with a new ncurses_configure helper function and only configure for wide character support if ENABLE_WIDEC is true. Ensure that configure errors are propogated back through to do_configure. Tested with ENABLE_WIDEC as true and false via an ncurses bbappend on i586, including basic error injection. V2: INC_PR bump (From OE-Core rev: 8b995deb046469c1c713fa053510d2fe94454133) (From OE-Core rev: 802cd855f1860ef0fbbbbf87b0af7c5dcdc35975) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf: blacklist /dev/mdSaul Wold2012-01-302-1/+2
| | | | | | | | | | | | | Do not mount /dev/md by default via udev, this resolved a problem with the sanity test failing due to seeing the error while attempting to mount /dev/md0 (From OE-Core rev: 07a2825c6f4ad3e5e3970cd1a89233bd795c68cf) (From OE-Core rev: 8ea8e41ad7863f57a851f00154e133cd0e550ef8) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd: Add missing DEPEND on shadowRichard Purdie2012-01-301-1/+1
| | | | | | | | | | | Without this rootfs generation fails as an RDEPENDS is added but the package might not have bneen built. (From OE-Core rev: bfe70c6446e6686f826f01040ba74c7d7d28bf42) (From OE-Core rev: 30a1f1d3ec763b4929b052ab3388499dfb40b1fa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: remove USERADDPNScott Garman2012-01-301-1/+0
| | | | | | | | | | | USERADDPN is no longer used; remove it. (From OE-Core rev: ed7e7a8e4d00cd45c74dc233c8b574d3978755d8) (From OE-Core rev: 2a52444dd464f5dff43424ab18feae43435061ae) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: do not modify -nativesdk packagesScott Garman2012-01-301-4/+5
| | | | | | | | | | | | Exclude the addition of user/group code and RDEPENDS changes for -nativesdk packages. (From OE-Core rev: 2f057dd905ccb497890ce73ac4e4c256edcf0351) (From OE-Core rev: 9acbe80fea3dbd5405030c95d8b6d411689c4911) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: only modify packages in USERADD_PACKAGESScott Garman2012-01-301-26/+16
| | | | | | | | | | | | | | | Previously we injected the user/group preinstall script into all output packages. This fixes that so that only packages listed in USERADD_PACKAGES get modified. It also removes the USERADDPN variable, which is no longer needed. (From OE-Core rev: 2f73466eb5018040a123ccb0e2af8c519525f958) (From OE-Core rev: 424b6447ebce761c9027ffdaf68ecbcd6f28e4ec) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: add grep to temporary links during uninstallPaul Eggleton2012-01-302-1/+2
| | | | | | | | | | | | | | In the busybox package prerm we set up some temporary links and modify PATH so that certain utilities are provided for the purpose of running update-alternatives; if grep is not among these then you get errors when removing busybox, so add a temporary link for grep as well. (From OE-Core rev: 013eca09c863862cc6b7ee3bc22923bf8fb42956) (From OE-Core rev: a425305249cdd89ab481310b31ae04970c6ae3be) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/package_rpm: disable uninstall scripts for upgradesPaul Eggleton2012-01-301-2/+16
| | | | | | | | | | | | | | | | | | | | | | | Our current assumption (based on the behaviour of opkg) when writing recipes is that prerm and postrm do not get called during an upgrade. When using rpm however, these are mapped to the rpm "preun" and "postun" events which occur after postinst for upgrades, and when these contain removal type operations (such as update-alternatives --remove) this causes problems. This patch wraps each preun and postun script for rpm in a check that determines whether or not the script is being called during an upgrade, and skips the entire script if it is, which mimics the behaviour of opkg under the same conditions. Fixes [YOCTO #1760] (From OE-Core rev: 1d3f37dc9a43ba6d6beb7b4530c077f239032b99) (From OE-Core rev: 6e66ecd201760fe418a9884e3605b88a68208776) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: skip setup.py 'import check' when cross-compilingTom Zanussi2012-01-302-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build_extension() in setup.py, as part of the build process, does an 'import check' on the built extension. The import check in turn dlopen()'s the shared library associated with the extension, which isn't something that makes sense if that library was cross-compiled for a different architecture. This was noticed with an x86_64 target that was compiled with avx support, because it caused 'illegal instruction' exceptions: | /bin/sh: line 1: 14575 Illegal instruction ... -E ./setup.py -q build For other target architectures, it doesn't necessarily cause illegal instruction exceptions, but still fails. For example, on arm, the failure pathway causes this warning: *** WARNING: renaming "cmath" since importing it failed: .../cmath.so: wrong ELF class: ELFCLASS32 This patch to setup.py and the associated recipe changes allow the whole 'import check' logic to be skipped when cross-compiling. (From OE-Core rev: 25fae81538a92e15eab3fc169ebce44505f67839) (From OE-Core rev: d83e4ac25cca788d2b102c2072ccb367c0cab284) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libzypp: fix mishandling of hyphenated archesTom Zanussi2012-01-301-4/+4
| | | | | | | | | | | | | Several hyphen-to-underscore translations were missing, causing compiler errors trying to build arches with hyphens in their names. This adds the missing translations. (From OE-Core rev: 5be9785f344ec4d7580f7ec68e29dba9fceb0a0a) (From OE-Core rev: 69f45c6e9f28aae2ba84aea87a6ed096800ed685) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp_5.0.2: Set CC_FOR_BUILD to BUILD_CCTom Zanussi2012-01-301-1/+2
| | | | | | | | | | | | | | | | | | CC_FOR_BUILD was compiling the test programs using the target's compile options and executing those on the host, causing errors such as: /bin/sh: line 1: 15032 Illegal instruction ./gen-bases table 64 0 > mpn/mp_bases.c /bin/sh: line 1: 15033 Illegal instruction ./gen-bases header 64 0 > mp_bases.h Export CC_FOR_BUILD using BUILD_CC to fix the problem. (From OE-Core rev: 68cca5ca15cbdd53748ec130fb6f20cbb3fb5072) (From OE-Core rev: 6ce3482c0f50b95d1d60d3c9250a9ab38fca76fe) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* files/device_table-minimal.txt: add /dev/kmsgOtavio Salvador2012-01-301-0/+1
| | | | | | | | | (From OE-Core rev: 1a340471694204937981513dee4cc24bc2dc6f7e) (From OE-Core rev: 535f7e52b02b6434fca5265eba8d366f483ce33c) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcap: fix sstate for native packageOtavio Salvador2012-01-302-4/+13
| | | | | | | | | | | | The 'lib' option needs to be given on target and native builds otherwise it installs the binaries at ${libdir}64 when host is 64bit. (From OE-Core rev: f768ef66c107410d4e81a69543d41910bbc6a26e) (From OE-Core rev: 76be81b5b0f56536dd36e800bc3f597aeea6d8ef) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: handle nativesdk caseEric Bénard2012-01-301-3/+9
| | | | | | | | | | | | | | | | | * without this patch, building dbus-nativesdk leads to a missing dependency on 'base-passwd-nativesdk' This was added by commit 46e6c3fa8034b12d178d605f3f5d7efe69671a13 * this patch handle the nativesdk case in the class useradd * close bug 1702 http://bugzilla.pokylinux.org/show_bug.cgi?id=1702 * v2 from Scott Garman with Richard Purdie's tricks (From OE-Core rev: 140a3507fb5c14cd9bcebe4304f491aa1c5c47a2) (From OE-Core rev: 79d5ce46b4d73e5ed39c509ce872e99e6bcb94ee) Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: Drop MULTILIB_IMAGE_INSTALLDongxiao Xu2012-01-306-41/+42
| | | | | | | | | | | | | | | | | There should just be a single IMAGE_INSTALL variable. If the package backends need this split into different multilib components they should be responsible for doing this, not the user. This commit removes the MULTILIB_IMAGE_INSTALL variable. [YOCTO #1564] (From OE-Core rev: 7736862a74c92fe1afe42e170822be13117575c2) (From OE-Core rev: 4889865934d590bf18d9f8f8ec3b63ce992cd4c5) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* contacts: fix packaging of iconsJoshua Lock2012-01-301-1/+2
| | | | | | | | | (From OE-Core rev: 1f4028337d5e288e239f44ef34e1d707b785273e) (From OE-Core rev: 8bc45d72d3211df9ca846c775524176308027aea) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gypsy: fix packagingJoshua Lock2012-01-301-2/+2
| | | | | | | | | (From OE-Core rev: 3c272ce9df811281029d028e96ab6bc644645592) (From OE-Core rev: 28c22b7d7cdbea39fca5867f14c22f75f7749183) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcanberra: add libvorbis to DEPENDSJoshua Lock2012-01-301-2/+2
| | | | | | | | | (From OE-Core rev: 531151fdeba3779ba6f0976fc08aa8da483600f7) (From OE-Core rev: 05f10a527099d22eb87614013e01c420bdafaf16) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: fix install for virtclass-nativesdkEric Bénard2012-01-301-0/+4
| | | | | | | | | | | | | | | | * 46e6c3fa8034b12d178d605f3f5d7efe69671a13 changed do_install which now fails for nativesdk (chown messagebus leads to no such user) * tested by building meta-toolchain-qte and running the generated sdk (From OE-Core rev: 5818a885df489f4bc9579d17c6b0efa7777f5ccc) (From OE-Core rev: 7984cc2fec3179da2e1f8f3bbffca9e7e21a3788) Signed-off-by: Eric Bénard <eric@eukrea.com> Acked-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd.bbclass: fix how RDEPENDS is setupScott Garman2012-01-301-1/+5
| | | | | | | | | | | | | | Fix bug where only packages named PN included base-passwd in RDEPENDS. This fixes [YOCTO #1727] (From OE-Core rev: 2c55d51afd71d708a54afc8377e10c4f80f810e3) (From OE-Core rev: 213d31f24d911a10132ddcd75f50363a80c4dc2e) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnl-2.0: add PE/PR bump for upgradable patch for meta-openembedded usersMartin Jansa2012-01-301-1/+2
| | | | | | | | | (From OE-Core rev: 2260b18590416940eec26aaf3d68e510ceff8d31) (From OE-Core rev: 3aa933cf91cf788246f13966471a9be6e0bc1931) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnl-2.0: split to more packages, as meta-openembedded doesMartin Jansa2012-01-301-1/+5
| | | | | | | | | (From OE-Core rev: 8720e063c7b43c278b3bb406b45390ed03f8ac96) (From OE-Core rev: 0f495eca8737a71ade6e1b5ca0fcbddf3b22181a) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnl-2.0: add patch from meta-openembedded to fix pkg-config fileMartin Jansa2012-01-302-0/+18
| | | | | | | | | (From OE-Core rev: 72227178bc74d6e2e24f8df6176c3d45b640e860) (From OE-Core rev: 64aab9609e23cdaa662cf544a31de5e879958e31) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnl-2.0: move fix-pktloc_syntax_h-race.patch to libnl-2.0 subdirectory and ↵Martin Jansa2012-01-303-37/+8
| | | | | | | | | | | merge with fix-makefile.patch (From OE-Core rev: a4882cd6f98c5b3df80ba96536d94d9f556f77a2) (From OE-Core rev: 69701f7eaec6405fe2208d2412aebaf2db5ce606) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types bbclass: use 4k bytes per inode so we don't run out of space ↵Koen Kooi2012-01-301-5/+5
| | | | | | | | | | | | | immediately genext2fs only creates the minimum number of inodes, after this patch it will scale with the rootfs size (From OE-Core rev: c31cb0bdc5a61d2d9f21a2cea34c3d8ac3b47cb9) (From OE-Core rev: 41d1091e6b821404eeb73a7c363537c2835558d3) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcense.bbclass: fix OpenSSL mappingMartin Jansa2012-01-302-2/+2
| | | | | | | | | | | | | | | [YOCTO #1712] (From OE-Core rev: 56799ebcb5c55a7fc75458fc2be2e69a67e8fd21) (From OE-Core rev: efb4527ff527d3e465df2a21fdfda110542b70b5) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Fixed YOCTO bug format and location Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tslib: fix the bug with loading libts-1.0.soDmitry Cherukhin2012-01-302-1/+59
| | | | | | | | | | | | | Touchpad did not work in the qtdemoE if the library libts-1.0.so was not loaded manually using the LD_PRELOAD variable. This problem was fixed in the tslib mainline https://github.com/kergoth/tslib after the 1.0 release. We just import the patch. (From OE-Core rev: 0ba6d91dc527908740890c896b834e7216b0d2fb) (From OE-Core rev: cf9fbfcb65c09d70613eb6ab87e0b9121cfcc34c) Signed-off-by: Dmitry Cherukhin <dima_ch@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-164: Update init script to do an explicit add actionKumar Gala2012-01-302-3/+3
| | | | | | | | | | | | | | | | With udev 152 or greater the default action for 'udevadm trigger' was modified to be 'change' instead of 'add. To ensure initial coldplug events at boot are seen be scripts the are expecting them as 'add' events we invoke udevadm with an explicit '--action=add'. (From OE-Core rev: eacafd21999ab37b60af29dc3e626c441716ef66) (From OE-Core rev: c90e1c91efc721eb6910cd3244b7671b63a341b6) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildstats: Fix for buildstats on tmpfsElizabeth Flanagan2012-01-301-11/+26
| | | | | | | | | | | | | | | | | | | | | | | | tmpfs/encryptfs/(and most likely, but not confirmed)ramfs TMPDIRs cause diskstats to choke. No device entry ends up in /proc/diskstats for these fs types, which ends up causing the failure. The short term solution is to exclude these fs types from diskstat collection. Longer term we will want to see if we can collect meaningful diskio for each of these, and other, use cases, but for this cleans up Bug 1700. [YOCTO #1700] (From OE-Core rev: 2b14046c12855b6f484ba5bd6bc0a8022de6873e) (From OE-Core rev: e0d26e0e1dfb9d35d71f20488c16f3cea3da862e) Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Corrected YOCTO bug location and format Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bash: Ensure we fully reautoconf the recipes so site data is usedRichard Purdie2012-01-302-7/+13
| | | | | | | | | | | | This ensures bug 487 (missing job control functionality) really gets fixed. [YOCTO #487] (From OE-Core rev: 08b78066bd5a9ff2819a42eb4263ee0a78cddb97) (From OE-Core rev: cf9d3140a9dae5bdc6145ae04a729f4775ae66a2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_ipk bbclass: special-case base-passwd preinst to run firstKoen Kooi2012-01-301-0/+6
| | | | | | | | | | | Preinst are run alphabetically which breaks when e.g. avahi-daemon needs /etc/passwd present. (From OE-Core rev: d6793165feb26c51b5f19ad1e6d1a4099878e879) (From OE-Core rev: 0485c362ac6ee0a3e310de078d7a202b961fed11) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: fix useradd race conditionKoen Kooi2012-01-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avahi doesn't work at boot because of: + sh /OE/../rootfs/var/lib/opkg/info/avahi-daemon.preinst Running useradd commands... grep: /OE/../rootfs/etc/passwd: No such file or directory That is due to: Package: avahi-daemon Version: 0.6.30-r9.0 [..] Depends: libavahi-core7 (>= 0.6.30), libdaemon0 (>= 0.14), libcap2 (>= 2.22), libavahi-common3 (>= 0.6.30), libdbus-1-3 (>= 1.4.12), sysvinit-pidof, libc6 (>= 2.12), libexpat1 (>= 2.0.1) After this patch: Package: avahi-daemon Version: 0.6.30-r10.0 [..] Depends: libavahi-core7 (>= 0.6.30), libdaemon0 (>= 0.14), libcap2 (>= 2.22), libavahi-common3 (>= 0.6.30), libdbus-1-3 (>= 1.4.12), sysvinit-pidof, libc6 (>= 2.12), shadow, libexpat1 (>= 2.0.1), base-passwd This also changes ${PN}-daemon to avahi-daemon to be consistent with the PACKAGES/FILES lines below (From OE-Core rev: f01fbc17b5d9bf9a227d64fe858014376cd19432) (From OE-Core rev: 9d0b21f0723fda0e0d287788eb79d3a70b12f949) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: ensure that the useradd shell is set to /bin/falseSaul Wold2012-01-301-1/+2
| | | | | | | | | (From OE-Core rev: 899efe6bf17a31d842ff2f65704d4858892496d4) (From OE-Core rev: 7d6ba259603ebcb1c08c1ac7b77f8b482e77b6d5) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Use useradd to add the xuser for DBusSaul Wold2012-01-302-2/+7
| | | | | | | | | | | | | | | | | | | | | | Connmand needs to start as the xuser as defined in the dbus configuration and needs to share this with rootless X. Since it's possible for connmand to run on a sytem without rootless X we still need to create the user here. Useradd will fail gracefully if the user already exists. Fixes: [YOCTO #1699] (From OE-Core rev: 8139ac9284031e00d6b268210b04b57670d9268a) (From OE-Core rev: 835ab34adb6acf562e37db99a1dd24f7b8bd95ec) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Conflicts: meta/recipes-connectivity/connman/connman_0.75.bb
* xserver-nodm-init: Use useradd to add the xuser for rootless XSaul Wold2012-01-301-18/+10
| | | | | | | | | | | | | | This also address an issue with dbus and connman, since connmand needs to start as the xuser in the rootless X situation. Fixes: [YOCTO #1699] (From OE-Core rev: 6823a32035de5d0bcd82a3b41a6ad536aaddbc58) (From OE-Core rev: 26573a84583793f64979100c2b89a95146d38dd1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: use useradd to create avahi user for avahi-daemonSaul Wold2012-01-301-7/+9
| | | | | | | | | | | | | | | | | DBus was failing to start correct since the avahi user was not setup. Keep the dbus reload since this could still be installed as a package an would require a dbus restart. Fixes: [YOCTO #1699] (From OE-Core rev: f0bfecc8a0af1c4c76a37a9c88f334ab6ae7e7ef) (From OE-Core rev: 925c7cd5c3ff44a4d0f2c71d0029998bfd00db48) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Fix the packaging of libgudevHolger Hans Peter Freyther2012-01-302-3/+3
| | | | | | | | | | | | Make the libgudev so go to the libgudev package, this is already fixed in meta-oe. (From OE-Core rev: 43ac43d7c7245e9aa2bfc8572c2620074d1e2a25) (From OE-Core rev: 3890186dda8db3978f18c05099a6f327c122cc1d) Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Ensure localstatedir is added to the packageRichard Purdie2012-01-302-2/+4
| | | | | | | | (From OE-Core rev: dc0d004fd23f686591281eb1d700327ea15d1c54) (From OE-Core rev: 3de19d01402aa7fdee28df2e1066987c14c17a78) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Fix various problemsRichard Purdie2012-01-301-6/+27
| | | | | | | | | | | | | | | | | | | | | | Before this change: a) Ownership and permissions of files copied from packages to package-split could get lost during the copy process. This change ensures they are preserved. b) Ownership and permissions of directories could also get lost. Most of the complexity in this patch is addressing this problem ensuring newly created directories match the source ones being copied. c) There was no warning about directories being created but not shipped by any package. This patch fixes all of the above issues. (From OE-Core rev: 6021e309e69d823e1467648aee12a32182945569) (From OE-Core rev: 5f9228b32c243ae499398763ce7c90b776dc9d24) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dbus: Use $D not ${D} in the postinstallRichard Purdie2012-01-301-1/+1
| | | | | | | | | | | We need to do this as we don't want bitbake to expand the variable but use the shell variable instead. (From OE-Core rev: 509a8a9ea428debf3ff2115fcff0aa89d0239ced) (From OE-Core rev: dcf118e9dfd15f7cf535c9918a6fcad9f9121ff4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnome-doc-utils: Add missing glib-2.0 dependencyRichard Purdie2012-01-301-2/+2
| | | | | | | | (From OE-Core rev: c367a2d2f4b817211b6bd200e49b49355cd67fe2) (From OE-Core rev: f4555a27bcc2174d30c1ea4ab7785325766b7c4e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/terminal: add support for XFCE's terminal emulatorJoshua Lock2012-01-301-0/+23
| | | | | | | | | | | | That's Terminal on Fedora and xfce4-terminal on Ubuntu/Debian... This could get interesting! (From OE-Core rev: 162b70a36388ac44fc1b39e172cd53579707bff3) (From OE-Core rev: 149cc418dbcbe014225c86d16b5ef696496e3a39) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>