summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* image.bbclass: change the logic when intercepts failLaurentiu Palcu2013-04-221-10/+22
| | | | | | | | | | | Due to some issues with postinstalls that register hooks, we changed the logic a bit. Now, all postinstalls that register hooks will return successfully and only after, if hooks fail, mark the package as unpacked. (From OE-Core rev: 82dae98d0eb771c05e57635f0f8763b118d8177e) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pixbufcache.bbclass: do not exit 1 after installing intercept hookLaurentiu Palcu2013-04-221-17/+12
| | | | | | | | | This will allow to register, in a single postinstall, multiple hooks. (From OE-Core rev: b396138ee081c8f5dddbaab0e374787ba2e31029) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk-icon-cache.bbclass: do not exit 1 after installing intercept hookLaurentiu Palcu2013-04-221-27/+20
| | | | | | | | | This will allow to register, in a single postinstall, multiple hooks. (From OE-Core rev: 2cd244d6c93ec6d39e2649de64575c365bd4238d) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fontcache.bbclass: do not exit with 1 after installing intercept hookLaurentiu Palcu2013-04-221-8/+2
| | | | | | | | | This will allow to register, in a single postinstall, multiple hooks. (From OE-Core rev: 9553874cf02ba443aff1bbead56bacfcda9bb6ca) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance: Update to latest dylan revision for releaseRichard Purdie2013-04-181-1/+1
| | | | | | (From OE-Core rev: 94e3f18214e2e35076c52ed27252073f788ec01f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dpkg: Correct paths in postinstRichard Purdie2013-04-181-3/+3
| | | | | | | | | The postinstall needs to reference $D, not ${D} which would get expanded by bitbake. This allows postinsts to run correctly on the target system. (From OE-Core rev: 6573685a5374034df065c41bbe71c7ac49e4b9a4) 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>
* xserver-xf86-config: set DefaultDepth to 16 for qemumipsLaurentiu Palcu2013-04-181-0/+1
| | | | | | | | | | | | | Apparently, the default qemumips color depth was set to 8 and the colors were not displayed properly. cirrusfb driver doensn't seem to accept color depth as a kernel parameter, so we have to do it here. [YOCTO #4340] (From OE-Core rev: 876e020be334a9350094dbd1a29b9e49eceed603) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perf: Ensure license is handled correctlyRichard Purdie2013-04-181-0/+2
| | | | | | | | | | | | The do_populate_lic task has a race with the recipe since it relies on the kernel being populated in the sysroot. This patch adds in the explicit missing dependency. [YOCTO #3534] (From OE-Core rev: 578937213c6db9fa99981778ce61210e391b19a7) 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>
* package_ipk: Ensure the status file existsRichard Purdie2013-04-181-0/+1
| | | | | | | | | The postinstall for the opkg run-postinst hook checks for the existence of this file. We therefore ensure it always exists during image generation. (From OE-Core rev: 540cf355599e555615ed9684c3b480463588eb78) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Add useradd variables to PACKAGEVARSRichard Purdie2013-04-181-1/+1
| | | | | | | | | | THe USERADD_PARAMS and similar group variables are package specific variables which should get added to the vardeps of the packaging process. This change also ensures they get remapped correctly by the multilib code. (From OE-Core rev: 805add18e7b917aaef61c82c0b5f2e9682af1d0d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib: Ensure we map the USERADD_PACKAGES variableRichard Purdie2013-04-181-0/+1
| | | | | | | | | If we don't do this, multilib packages don't have any code added to the postinstalls to handle user additions. (From OE-Core rev: b10d17d1b03fd0564103a6998f218d0968d1032b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gst-plugins-bad: Disable neon, its not on DEPENDSRichard Purdie2013-04-181-1/+1
| | | | | | | | Otherwise this setting "floats" and leads to non-determinstic builds. (From OE-Core rev: 4eea01e9d775f2e56958a8bb194aadd8a242946d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* init-ifupdown: move network interfaces file for the beagleboardSaul Wold2013-04-182-0/+0
| | | | | | | | | | | | With the splite of netbase and init-ifupdown, the interfaces file needs to get moved for the beagleboard [YOCTO #4334] (From meta-yocto rev: c7c25b7d964a2068414df90a1b961f6368d3bf59) Signed-off-by: Saul Wold <sgw@linux.intel.com> 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>
* seperatebuilddir: add systemdRoss Burton2013-04-181-1/+1
| | | | | | (From OE-Core rev: 39f9e48558003601d4eec181e32fc76b68df5b5a) 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>
* alsa-utils: Use pkg-config instead of hardcoded udev pathsRichard Purdie2013-04-181-3/+3
| | | | | | (From OE-Core rev: b92a3e9d093bc9421aa38a40bc6bfd559a16b3be) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup: Add init-manager sanity checkRichard Purdie2013-04-181-0/+7
| | | | | | | | | | | Currently, you can set VIRTUAL-RUNTIME_init_manager to an init system that isn't in DISTRO_FEATURES. This leads to head scratching over unbootable images. This adds a sanity check which ensures more valid systems are built. (From OE-Core rev: c72ec4b52827f75351790eab483d258b2e87611a) 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>
* pulseaudio: Set udev variables using pkg-configRichard Purdie2013-04-181-1/+2
| | | | | | (From OE-Core rev: 2c948d1cfdd070c8ce6bf0ee940a345a31407663) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez4: Set udev variables using pkg-configRichard Purdie2013-04-182-3/+3
| | | | | | (From OE-Core rev: b8b275c263493e114baefcef94c68743d89329b7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pcmciautils: Use pkgconfig to set udev variables correctlyRichard Purdie2013-04-182-5/+5
| | | | | | (From OE-Core rev: e177bad3c5f2d37fe7a0092c22cc3dfc556f3dea) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Fix populate_packages for glob expansion issuesRichard Purdie2013-04-181-0/+2
| | | | | | | | | | | | | If we put a valid glob like "*/foo/*" into FILES, populate_packages breaks with a "file exists" message. This is because the glob expansion does not have "./" prefix however there may already be an entry in the seen list which does have such a prefix. The easiest/simplest fix right now is to add the prefix if it doesn't exist which only happens for certain globs. (From OE-Core rev: 138c5f3af892e33f576fc7dd268e122b179f82a1) 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>
* dev-manual: Fixed directory name used in example.Scott Rifenbark2013-04-171-3/+4
| | | | | | | (From yocto-docs rev: 1efd52814eaeadd36bb12a53f31967eb959b32a1) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Set Up Your Layer for the Build" section.Scott Rifenbark2013-04-171-0/+3
| | | | | | | | | | Added a cross-reference to the section that describes how to use .bbappend files. (From yocto-docs rev: 884740c066f0f45cfc85282c6d20737a39d7af88) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to "Using .bbappend Files"Scott Rifenbark2013-04-171-17/+35
| | | | | | | | | I re-wrote this to more clearly describe use. (From yocto-docs rev: c3d6eecd38c6d4c8b4e0b4e134cbd53ae3fd2aee) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-dev: Edits to the "Changing the Configuration" section.Scott Rifenbark2013-04-171-7/+19
| | | | | | | | | | This section had some problems. It failed to mention the need to extend FILESPATH by using FILESEXTRAPATHS. (From yocto-docs rev: e627cf21242a62fb23e93fdae61e8cfce32082a9) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to SRC_URI, FILESPATH, and FILESEXTRAPATHS.Scott Rifenbark2013-04-171-24/+43
| | | | | | | | | | Applied some review comments from Paul. Took the warning formatting out because it sucks. (From yocto-docs rev: 6c4162777cb686c8b24b15ded2594f4f4a6acba6) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updates to the FILESPATH variable.Scott Rifenbark2013-04-171-11/+22
| | | | | | | | | | | | | | Added some more clarity about how this variable works and the implications for using the default setting from the base.bbclass file. Namely, if you are going to have the build system look for files in your layer and your layer uses an append file, then you need to also use the FILESEXTRAPATHS variable to extend FILESPATHS. (From yocto-docs rev: 2826fa6f9286efb1d5ca6cf85f65266a35bb8cfc) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to clear up the SRC_URI variable description.Scott Rifenbark2013-04-171-18/+39
| | | | | | | | | | | | | | | I found it confusing due to not specifically accounting for .bb and .bbappend files. I added some wording to clearly specify use given the two types of "recipes". Specifically, if you are going to use a SRC_URI statment from an append file, the user really should be aware that they will need to extend the FILESPATH variable by also using FILESEXTRAPATHS from within that append file. (From yocto-docs rev: 8fd0047bd5c4598532afc6f0803f6ae23fa213b2) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-dev: Fixed another occurrence of ${FILES}Scott Rifenbark2013-04-171-1/+1
| | | | | | | | | | Further down in the section, a second occurrence of ${FILES} needed changed. (From yocto-docs rev: 0212a1ebfef4c5a6a0ae76410f7753bbc41d3e82) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-dev: Correction to where to place a .cfg file.Scott Rifenbark2013-04-171-3/+4
| | | | | | | | | | | This was inaccurately referencing the ${FILES} directory when it should be talking about a "files" directory created in the user's layer where the kernel .bbappend file resides. (From yocto-docs rev: 2af3a71db6e6d99b9aa4b710e21f3f3bacff0b82) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-project-qs: Final edits for QS manual.Scott Rifenbark2013-04-171-10/+16
| | | | | | | | | | | | | 1. Fixed broken links to the website downloads page. 2. Added a better link to the oe-init-build-env script. 3. Added a note about the image directory because I discovered that the QEMU ones have the string "lib32" in prepended to them. (From yocto-docs rev: 38074bc97b94a23b115c44aa9f353205914f7cce) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-manual: Changed capitalization of list for consistency.Scott Rifenbark2013-04-171-3/+3
| | | | | | | | | Start with lower-case letters. (From yocto-docs rev: 638963fb2c4cbcc3065725abe4f09f9b528c648e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-manual: Fixed formatting of filenames in a list.Scott Rifenbark2013-04-171-2/+2
| | | | | | | (From yocto-docs rev: 61d250b1409c2640e32b14f884f2e3b6fda4f9d7) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-manual: Added quotes around cross-link section title.Scott Rifenbark2013-04-171-3/+3
| | | | | | | (From yocto-docs rev: e467b272498ad9400fe9c025a193d4d58851ffe5) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-manual: Minor edits and links.Scott Rifenbark2013-04-171-12/+12
| | | | | | | (From yocto-docs rev: f2ceeef22a357a4c8a5fa920fd03c57b8e017200) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* adt-manual: minor updates.Scott Rifenbark2013-04-171-6/+9
| | | | | | | | | | | 1. Made "Metadata" the term instead of "metadata". 2. Created a link to "Metadata" term for first use. 3. Fixed a broken link to the LatencyTop site. (From yocto-docs rev: 7b53ddd0c9c846c558796d8ae6a46c476ab3b68d) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>