summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* util-linux: use u-a for flock and blockdev, conflicts with busyboxMartin Jansa2011-11-151-3/+7
| | | | | | | | | | | | | | | | * nobody replied on http://lists.linuxtogo.org/pipermail/openembedded-core/2011-September/009409.html * be aware that all those renames to foo.${PN} are also applied for native variants so now we have utils like tmp-eglibc/sysroots/x86_64-linux/usr/bin/flock.util-linux-native which are not used ie in package_ipk.bbclass: package_update_index_ipk because it calls just flock so if that's problem then we should apply those renames only for target version (and live with possible overwrites in -native sysroot) or teach u-a postinst/prerm to happen also for sysroot population Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* subversion: add 1.7.0 with native support and negative D_P for nowMartin Jansa2011-11-152-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | * intentionaly with negative D_P, bitbake fetcher should be improved to detect old checkout with newer subversion available or vice versa and do svn upgrade automaticaly or show better error, but subversion as client for target or -native for distributions which explicitly say they want 1.7 (with PREFERRED_VERSION) can be available already from oe-core. * be aware that checkouts from 1.7.0 are not compatible with older subversion clients (ie when builder populating distro PREMIRROR is using 1.7.0 all builders need to have also 1.7.0) * and also 1.7.0 client needs to call svn upgrade in checkout first in order to use it (so if PREMIRROR has tarball from 1.6.x it won't work on client using 1.7.0 unless fetcher2 is improved to detect this and call svn upgrade) * tested on SHR distribution http://wiki.shr-project.org/trac/wiki/Building%20SHR#subversion1.7inshr-chroot * only missing part is to add subversion-native dependency, so that native subversion is built, before building ie elementary (because EFL are using svnversion from configure.ac to detect source revision and .svn dir needs to be from compatible version). * read http://subversion.apache.org/docs/release-notes/1.7.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qt4-x11-free: bring back pkg-config fixupsSimon Busch2011-11-151-1/+15
| | | | | | | | | | | | | * With b40b9c024be5e1ec81a31961158b3e6b529acfe0 some pkg-config fixups where removed from qt4.inc which breaks the pkg-config files for qt4-embedded. Without that the pkg-config files for qt4-x11-free are broken. So this patch puts the fixes into the qt4-x11-free.inc file to be used by qt4-x11-free and not qt4-embedded. * Resending because nobody replied on http://www.mail-archive.com/openembedded-core@lists.openembedded.org/msg10609.html Signed-off-by: Simon Busch <morphis@gravedo.de> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* 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. 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>
* 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. 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. 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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* syslinux: fix the SRC_URI by using the 4.xx directoryJan Luebbe2011-11-141-2/+2
| | | | | | | | This path should be valid for a longer time, as only the current release stays in main directory. 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. 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] 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
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* util-linux: split mcookie into a packageOtavio Salvador2011-11-112-2/+3
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* 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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* 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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* 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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* 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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* 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. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* qt-mobility: qa_configure stage failedDmitry Cherukhin2011-11-112-1/+19
| | | | | | The catalogue /usr/lib removed from Makefiles used for building configure tests. Signed-off-by: Dmitry Cherukhin <dima_ch@emcraft.com>
* populate_*.bbclass: Correct INSTALL variable name after recent multilib changesRichard Purdie2011-11-103-6/+6
| | | | 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) 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. 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 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>
* 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 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>
* task-core-x11: use VIRTUAL-RUNTIME variables for xserver_common and ↵Martin Jansa2011-11-101-2/+8
| | | | | | graphical_init_manager Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* keymaps: depend on kbd instead of console-toolsMartin Jansa2011-11-101-2/+3
| | | | | | * nowadays kbd seems more active Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* 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 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* kbd: add RREPLACES/RCONFLICTS/RPROVIDES for upgradeable path from console-toolsMartin Jansa2011-11-101-0/+5
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* kbd: import from meta-oeMartin Jansa2011-11-101-0/+19
| | | | | | * replaces console-tools used in keymaps Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* lame: update to 3.99.1Saul Wold2011-11-102-3/+3
| | | | | | Updated lame.h checksum due to change of LGPL Lessor -> Library Signed-off-by: Saul Wold <sgw@linux.intel.com>
* 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. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* 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 Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* libtasn1: update to 2.10Saul Wold2011-11-101-5/+3
| | | | | | | COPYING.LIB has white space formating changing README has Copyright update to year range Signed-off-by: Saul Wold <sgw@linux.intel.com>
* 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/ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-10130-1058/+1058
| | | | | | | | | | | | | | | 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 *` 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 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
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes: Remove various bashismsRichard Purdie2011-11-103-11/+11
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* scripts/qemuimage-testlib: Output a slightly better error if expect is missingRichard Purdie2011-11-101-0/+14
| | | | 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 Signed-off-by: Saul Wold <sgw@linux.intel.com>
* 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 Signed-off-by: Saul Wold <sgw@linux.intel.com>
* 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. 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>
* 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. Signed-off-by: Matthew McClintock <msm@freescale.com>
* local.conf.sample.extended: Fix bug 1674Xiaofeng Yan2011-11-101-0/+3
| | | | | | | | | | [YOCTO #1674] local.conf.sample.extended: An image based on gtk+-directfb don't need x11 for DEFAULT_FEATURES Remove "x11" from DEFAULT_FEATURES and add "directfb" to it because someone could don't need x11 in their project, perhaps gtk over directfb will meet his reqirement. Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
* 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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* avahi: remove USERADDPNScott Garman2011-11-101-1/+0
| | | | | | USERADDPN is no longer used; remove it. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* useradd-example.bb: update example documentation commentsScott Garman2011-11-101-5/+4
| | | | | | | Clarify that only packages listed in USERADD_PACKAGES will include the user/group creation code. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* 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. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* 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. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
* gconf: Drop polkit dependencyRichard Purdie2011-11-101-1/+1
| | | | 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. Signed-off-by: Joshua Lock <josh@linux.intel.com>