summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* dhcp: generate initial leases files for serverOtavio Salvador2011-11-152-2/+9
| | | | | | | | | | | | | | | If not using the init script it fails as the leases are created by it. When used with systemd, this fails without the leases thus this allows it to work out of box. (From OE-Core rev: 8ae8b41f9d448a35441fa92f657e5b9edbcf68b5) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Added commit meesage from Otavio's email Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg/update-alternatives: Fix dpkg version of update-alternatives to be usableRichard Purdie2011-11-155-70/+57
| | | | | | | | | | | | | | | | | The version of dpkg the updates-alternatives-dpkg recipe pointed at no longer used a perl script but a compiled binary. This meant the "all" architecture field was invalid, as as the sed operation during do_patch. All things considered the separate recipe was pretty pointless. This patch moves update-alternatives back to being built as part of the dpkg recipe. It also moves various functionalty to the .inc file which it belongs and fixes building and packaging of the dpkg perl modules. (From OE-Core rev: fad496c759066d53bebf9b8cebc63e6478c91d19) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: Move update-passwd into a separate packageRichard Purdie2011-11-151-1/+13
| | | | | | | | | | | | update-passwd is the only user of the passwd/group.master files and was never used by OE since it wasn't run. This patch packages this separately and adds an appropriate postinst to make the package useful so people can include it as they wish. (From OE-Core rev: 77ab0f09546c5f6217a8e2f1bc30cf3d4306e3fa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* base-passwd: Fix the broken preinst/postinstallRichard Purdie2011-11-151-31/+29
| | | | | | | | | | | | | The preinst accesses file which may not yet have been unpacked. The postinst is too late for the creation of these files for at least the opkg backend. This patch therefore encodes the file contents into the preinst, resolving the various issues once and for all. (From OE-Core rev: fc708d88f97e40a5bf929e4e02ed805fb3684ffe) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* syslinux: fix the SRC_URI by using the 4.xx directoryJan Luebbe2011-11-151-2/+2
| | | | | | | | | | This path should be valid for a longer time, as only the current release stays in main directory. (From OE-Core rev: 4013de36a60b8f69f04e58cf5751efaf0d26d5ea) Signed-off-by: Jan Luebbe <jluebbe@debian.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Ensure we use the uname/gname fields when extracting tarballsRichard Purdie2011-11-142-1/+90
| | | | | | | | | | | | When extracting packages onto the target system in particular, we really want to ensure the name fields in the tarball are used over and above the numerical uid/gid values. This patch adds this functionality to opkg and ensures package upgrades work correctly permission wise. (From OE-Core rev: f2316ff39670ed99382411e15ac035550360fbdd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs_ipk.bbclass: Ensure bad recommendations persist in the status fileRichard Purdie2011-11-141-1/+1
| | | | | | | | | | | | | | | | | Currently bad recommendations are added to the status file with status "ok". After a single opkg command, whilst it will ignore the recommendation, the status changes to "installed" even if the recommended package was not installed. Whilst this is likely a glitch in opkg's logic, the correct way to persist the information in the status file is to set the status to "hold" as deinstall packages with that status remain. With this change the bad recommendations persist accross multiple opkg runs and the system behaves as expected. [YOCTO #1758] (From OE-Core rev: 215ff6b2e9676c8c7dd8acfd696151bcd0f1490f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xinit: rdepends on util-linux-mcookie to avoid brining whole util-linuxOtavio Salvador2011-11-111-2/+2
| | | | | | | (From OE-Core rev: a8ed4fcd79f6283c1d45f347dce894d784183900) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-linux: split mcookie into a packageOtavio Salvador2011-11-112-2/+3
| | | | | | | (From OE-Core rev: 3e5b9ddaf3f9492e34967146c42369bcd76ddf03) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sudo: Avoid post install scriptsMark Hatle2011-11-112-9/+4
| | | | | | | | | | The post install script was removed, and the install_append updated to ensure the permissions are set correctly. (From OE-Core rev: 463e44ae159da2e03369f9ac14843b479de2e43d) 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 Hatle2011-11-111-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) 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 Hatle2011-11-112-3/+3
| | | | | | | | | We only want to reload dbus, if we're install on the target -- not on the host. (From OE-Core rev: 1ce23fe7d7c33c196af3ba25b4e97496718328d1) 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 Hatle2011-11-111-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) 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 Hatle2011-11-114-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) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qt-mobility: qa_configure stage failedDmitry Cherukhin2011-11-112-1/+19
| | | | | | | | | The catalogue /usr/lib removed from Makefiles used for building configure tests. (From OE-Core rev: 815560c0ee5a1a984b7d0fc8417c46606854e7fe) Signed-off-by: Dmitry Cherukhin <dima_ch@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_*.bbclass: Correct INSTALL variable name after recent multilib changesRichard Purdie2011-11-103-6/+6
| | | | | | (From OE-Core rev: 379c77d1516fe8fdbd1cd7063f709b5266872b03) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* populate_*.bbclass: Drop pointless fakeroot attribute (fakeroot is at the ↵Richard Purdie2011-11-103-3/+3
| | | | | | | | task level) (From OE-Core rev: 2cac20439d4eb0b3a21ce37e2fa670941e6356c4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Unload pseudo when its not required for a given taskRichard Purdie2011-11-101-0/+1
| | | | | | | | | This yields a small performance boost due to the lack of the preload overhead on each task execution. (From OE-Core rev: 4c4498c38232a832bdbfadf54d2e1bf4bc34b171) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* xinit: Fix `startx` looking for `mcookie` in sysrootPaul Menzel2011-11-101-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) 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>
* linux-yocto: config cleanups + romely rt supportBruce Ashfield2011-11-101-1/+1
| | | | | | | | | | | | | | | | | | Updating the meta branch SRCREV to pickup a series of BSP cleanups and add -rt support to the romely. ae3e64c meta/romley: Add rt support Add rt support to the meta branch for romley. 6c78969 meta/fishriver: enable hpet bc4452a meta/jasperforest: use power/intel feature 6e9634e meta/fri2: use power/intel feature ec949f5 meta/fishriver: use power/intel feature (From OE-Core rev: d74dec5af2223ab97aea6feee978f4e27adcdf96) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* task-core-x11: use VIRTUAL-RUNTIME variables for xserver_common and ↵Martin Jansa2011-11-101-2/+8
| | | | | | | | | graphical_init_manager (From OE-Core rev: 9e7c7e39a32b29386bee64b75cec949d30e3d2e7) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* keymaps: depend on kbd instead of console-toolsMartin Jansa2011-11-101-2/+3
| | | | | | | | | * nowadays kbd seems more active (From OE-Core rev: 3348e9b02b922b89ecbece7922d1c6b583e1fb1d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* task-core-boot, keymaps: add another VIRTUAL-RUNTIME to allow distributions ↵Martin Jansa2011-11-102-3/+9
| | | | | | | | | to use different set of initscripts or no initscripts at all (From OE-Core rev: 739692ac066319d830d0eb7d27ef1075f259efe4) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kbd: add RREPLACES/RCONFLICTS/RPROVIDES for upgradeable path from console-toolsMartin Jansa2011-11-101-0/+5
| | | | | | | (From OE-Core rev: 9065a75d4a29b2528b5558d91bcd500ca51baa84) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kbd: import from meta-oeMartin Jansa2011-11-101-0/+19
| | | | | | | | | * replaces console-tools used in keymaps (From OE-Core rev: 53ba913e7df79da8735baef54891ebe47bbb159d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lame: update to 3.99.1Saul Wold2011-11-102-3/+3
| | | | | | | | | Updated lame.h checksum due to change of LGPL Lessor -> Library (From OE-Core rev: 1d8e077dc1e5166c9c6251c6a596a24785921a21) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: bump PRTom Zanussi2011-11-101-1/+1
| | | | | | | | | | Commit 23d2eaf9 ('skip setup.py 'import check' when cross-compiling') neglected bumping the PR, this adds it. (From OE-Core rev: 87f42a7f899ecaba8ca8d11c09752b6019feb9d5) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: refactor configure to avoid configuring widec when disabledDarren Hart2011-11-101-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) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libtasn1: update to 2.10Saul Wold2011-11-101-5/+3
| | | | | | | | | | COPYING.LIB has white space formating changing README has Copyright update to year range (From OE-Core rev: b50bf2fe6d3364e2ceb652623c9c25057d8b1001) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: use Copyright in LIC_FILES_CHKSUM instead of COPYINGMartin Jansa2011-11-102-2/+2
| | | | | | | | | | | * COPYING is replaced by symlink to Copyright during do_configure (see configure.in), then we end with link to nonexistent file * same issue as libxslt had http://patchwork.openembedded.org/patch/14195/ (From OE-Core rev: a9f495f8d001e25596189eaea0e1f96165ae9327) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-10126-1041/+1041
| | | | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` (From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Allow use of dash as /bin/shRichard Purdie2011-11-103-5/+13
| | | | | | | | | | | | | | | | | | | | | | | We've had the check for dash as /bin/sh for a long time. Dash has been around long enough now that most major issues have been identified and fixed from build perspective. This patch fixes a bashism in the openjade-native recipe. It also adjusts libtool so that the header at the script is used and not the value of $SHELL. This is because many Makefiles change $SHELL so dash can get used to execute what is otherwise configured as a bash shell script. Since we don't need to execute scripts this way on any system I'm aware of us building upon, the simplest fix is just to remove $SHELL. With these two changes the dash check can be removed and we can allow builds with dash as /bin/sh (From OE-Core rev: 07ded02ffd37b4fe60a6210dbf56490ea306f0b6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Note: I know I need to add the description of the libtool change above into the prefix.patch]
* qemu: Ensure an internal qemugl script uses bash as it has bashismsRichard Purdie2011-11-106-6/+6
| | | | | | (From OE-Core rev: 6e26eaf03f2f524b78c194377ea0589e6913445d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes: Remove various bashismsRichard Purdie2011-11-103-11/+11
| | | | | | (From OE-Core rev: a057adfbb72454e28294f00075a69e0e7c699bec) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf: blacklist /dev/mdSaul Wold2011-11-102-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) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Distro_tracking: Update Manual Check DateSaul Wold2011-11-101-37/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | Checked the following Upstreams: apt libaio sysstat unzip zip linexif boost libcheck ncurses sysfsutils util-linux - Offline lsb eds-tools libmad lame glew squashfs-tools (From OE-Core rev: 8665e4a47e944b53043a003eda12a447daee51c5) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libarchive: Remove obsolete comment and empty line at the endPaul Menzel2011-11-101-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | This is a fix up for commit fb19df5b21e551c5dfdfa340438952560c5fa528 Author: Xiaofeng Yan <xiaofeng.yan@windriver.com> Date: Mon Nov 7 20:03:53 2011 +0800 libarchive: update to 2.8.5 Remove patch "0003-Patch-from-upstream-rev-2516.patch" because it has been merged to source codes. (From OE-Core rev: 1df17fb4c22e00e6a180777dd23efb6d5cb1590a) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> removing a now obsolete comment because the undistributable content was removed [1] from upstream’s tarball. Also remove an empty line at the end introduced in the above commit. [1] http://code.google.com/p/libarchive/issues/detail?id=162 Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Introduce new SERIAL_CONSOLES to add multiple consoles for your MACHINEMatthew McClintock2011-11-101-0/+10
| | | | | | | | | | | | | | Just define additional serial consoles like so: SERIAL_CONSOLES="115200;ttyS0 115200;ttyS1 ... 115200;ttySN" Also be sure to remove SERIAL_CONSOLE (lacking the S) from your machine as they can conflict. (From OE-Core rev: a61b5e980d45df4dc2c83dd13996b0563fddf803) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* useradd: Add missing DEPEND on shadowRichard Purdie2011-11-101-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) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: remove USERADDPNScott Garman2011-11-101-1/+0
| | | | | | | | | USERADDPN is no longer used; remove it. (From OE-Core rev: ed7e7a8e4d00cd45c74dc233c8b574d3978755d8) 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 Garman2011-11-101-4/+5
| | | | | | | | | | Exclude the addition of user/group code and RDEPENDS changes for -nativesdk packages. (From OE-Core rev: 2f057dd905ccb497890ce73ac4e4c256edcf0351) 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 Garman2011-11-101-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) Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gconf: Drop polkit dependencyRichard Purdie2011-11-101-1/+1
| | | | | | (From OE-Core rev: 11506f702a83a77d06d259ce05c89808d53a9661) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gconf: add upstream GNOME gconf 3.2.3 and drop gconf-dbusJoshua Lock2011-11-105-46/+103
| | | | | | | | | | | | | | The D-Bus backend has been integrated into upstream GConf so we can switch to upstream and drop gconf-dbus. I've gone for a release in the 3.2 series as we disable Gtk+, and therefore are not impacted by the gtk+3 changes, and the D-Bus backend was unstable before this release. (From OE-Core rev: f952b1bc8a4f307e2e2f3941f50becd72d88421d) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mime.bbclass: No need to import os.path, it then breaks the os moduleRichard Purdie2011-11-101-1/+1
| | | | | | (From OE-Core rev: b4457a9605988feecadfd49df22ef57245c4cd86) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/[gnome|gnomebase|mime]: enhance gnome related classesJoshua Lock2011-11-103-16/+90
| | | | | | | | | | | | | | | | | | | | | | This patch pulls in the gnome related classes from oe-core which adds extra packaging rules and functionality whilst modularising things so that one can get a subset of gnome functionality without adding a lot of extra dependencies. These aren't an exact copy of the classes from meta-openembedded, notable differences are: * gnome.bbclass - I dropped the BBCLASSEXTEND * mime.bbclass: - updated coding style - use which to find update-mime-database program rather than hard coded - fix typo in populate_packges_append such that it's actually called CC: Koen Kooi <koen@dominion.thruhere.net> CC: Richard Purdie <richard.purdie@linuxfoundation.org> (From OE-Core rev: 6ead00eba265211eae5a2423c155403c8c6d54d0) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shared-mime-info: package runtime data separatelyJoshua Lock2011-11-102-4/+7
| | | | | | | | | | | | The freedesktop.org.xml is required when updating the mime database but otherwise not much use. Therefore package it separately, rather than removing it completely, so that it can be used as required for on-device updates without adding almost 2MB to every image which hase shared-mime-info. (From OE-Core rev: 07ee2d7e6b2f571fe405464838e376cf03e5e8e6) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: add grep to temporary links during uninstallPaul Eggleton2011-11-102-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) 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 Eggleton2011-11-101-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) 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 Zanussi2011-11-082-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) Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>