Commit Graph

23618 Commits

Author SHA1 Message Date
Saul Wold c97deb11ee init-ifupdown: move network interfaces file for the beagleboard
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>
2013-04-18 20:58:21 +01:00
Richard Purdie 90b9876455 build-appliance: Update revision to dylan release
(From OE-Core rev: 2453504004cfb6c9b5030b557f421e580802a280)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-18 00:39:52 +01:00
Richard Purdie 9fde3037b7 systemd: Fix udevd init script so sysvinit in systemd mode works
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>
2013-04-18 00:37:58 +01:00
Ross Burton 57f4f86567 util-linux: fix systemd service in multilib
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>
2013-04-18 00:37:58 +01:00
Ross Burton bcd4d37342 systemd: fix -dbg package with multilib
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>
2013-04-18 00:37:58 +01:00
Ross Burton 09b89187b8 busybox: hard-code the syslog service file
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>
2013-04-18 00:37:58 +01:00
Ross Burton fd45a2dd8c udev: explicitly package nonarch_base_libdir
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>
2013-04-18 00:37:58 +01:00
Ross Burton 5d3df2903b systemd: Effectively revert the move to /sbin
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>
2013-04-18 00:37:58 +01:00
Ross Burton 72ea7768a9 seperatebuilddir: add systemd
(From OE-Core rev: 39f9e48558003601d4eec181e32fc76b68df5b5a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-18 00:37:57 +01:00
Ross Burton b06bd1d025 systemd: fix out of tree builds
(From OE-Core rev: 79b7c56cb5d6a0b75e7df01fd3cfef4111bf69ae)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-18 00:37:57 +01:00
Ross Burton f6ae64553d udev: remove explicit path to udevadm
(From OE-Core rev: cc0f22cd1e93cc25647add1a3339e150572e4fce)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-18 00:37:57 +01:00
Richard Purdie 2cb729a211 alsa-utils: Use pkg-config instead of hardcoded udev paths
(From OE-Core rev: b92a3e9d093bc9421aa38a40bc6bfd559a16b3be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-18 00:37:57 +01:00
Richard Purdie 1261eccd8f packagegroup: Add init-manager sanity check
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>
2013-04-18 00:37:57 +01:00
Richard Purdie c71d1f446c udev: Effectively revert the move to /sbin
This effectively reverts the changes made in b49ddeb11c
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>
2013-04-18 00:37:57 +01:00
Richard Purdie 00aec10279 pulseaudio: Set udev variables using pkg-config
(From OE-Core rev: 2c948d1cfdd070c8ce6bf0ee940a345a31407663)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-18 00:37:57 +01:00
Richard Purdie f4ba9ef524 bluez4: Set udev variables using pkg-config
(From OE-Core rev: b8b275c263493e114baefcef94c68743d89329b7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-18 00:37:57 +01:00
Richard Purdie b24d28428a pcmciautils: Use pkgconfig to set udev variables correctly
(From OE-Core rev: e177bad3c5f2d37fe7a0092c22cc3dfc556f3dea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-18 00:37:57 +01:00
Richard Purdie 79a205be0d package.bbclass: Fix populate_packages for glob expansion issues
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>
2013-04-18 00:37:57 +01:00
Laurentiu Palcu ef0e1cc32d busybox: fix mount issue
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, ecd90bc6aa,
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>
2013-04-18 00:37:57 +01:00
Scott Rifenbark 295db71895 dev-manual: Fixed directory name used in example.
(From yocto-docs rev: 1efd52814eaeadd36bb12a53f31967eb959b32a1)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:23 +01:00
Scott Rifenbark 969218e5f6 dev-manual: Edits to "Set Up Your Layer for the Build" section.
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>
2013-04-17 22:34:23 +01:00
Scott Rifenbark 6a3f129958 dev-manual: Edits to "Using .bbappend Files"
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>
2013-04-17 22:34:23 +01:00
Scott Rifenbark a3d2886a47 kernel-dev: Edits to the "Changing the Configuration" section.
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>
2013-04-17 22:34:23 +01:00
Scott Rifenbark 4bb60daf5a ref-manual: Edits to SRC_URI, FILESPATH, and FILESEXTRAPATHS.
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>
2013-04-17 22:34:23 +01:00
Scott Rifenbark eedd602e3b ref-manual: Updates to the FILESPATH variable.
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>
2013-04-17 22:34:23 +01:00
Scott Rifenbark ef04b1da28 ref-manual: Edits to clear up the SRC_URI variable description.
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>
2013-04-17 22:34:23 +01:00
Scott Rifenbark f418e7f5a1 kernel-dev: Fixed another occurrence of ${FILES}
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>
2013-04-17 22:34:23 +01:00
Scott Rifenbark c159989490 kernel-dev: Correction to where to place a .cfg file.
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>
2013-04-17 22:34:23 +01:00
Scott Rifenbark 0478091045 yocto-project-qs: Final edits for QS manual.
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>
2013-04-17 22:34:23 +01:00
Scott Rifenbark 6cfbc41f72 adt-manual: Changed capitalization of list for consistency.
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>
2013-04-17 22:34:23 +01:00
Scott Rifenbark bdeedab979 adt-manual: Fixed formatting of filenames in a list.
(From yocto-docs rev: 61d250b1409c2640e32b14f884f2e3b6fda4f9d7)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:22 +01:00
Scott Rifenbark 3015438126 adt-manual: Added quotes around cross-link section title.
(From yocto-docs rev: e467b272498ad9400fe9c025a193d4d58851ffe5)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:22 +01:00
Scott Rifenbark 92243fa59b adt-manual: Minor edits and links.
(From yocto-docs rev: f2ceeef22a357a4c8a5fa920fd03c57b8e017200)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:22 +01:00
Scott Rifenbark c29c155b7f adt-manual: minor updates.
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>
2013-04-17 22:34:22 +01:00
Scott Rifenbark 5f08473f89 ref-manual: Minor edits to the supported distros list
Removed the "Yocto Project" distros and renamed the
openSUSE-project to openSUSE.

(From yocto-docs rev: 8e29abce57d5bfca04633b1b0c5a57809513056f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:22 +01:00
Scott Rifenbark 75f85bd01c bsp-guide: Updated the yocto-kernel script example.
Discovered a bad typo for the CONFIG_YOCTO_TESTMOD
configuration.  I had a "K" in front of it making the
command throw an error.  Fixed that.

(From yocto-docs rev: 9c25a69abb12fd2fd472a2b9435a30b2c9ac4f2f)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:22 +01:00
Scott Rifenbark ce24b05784 bsp-guide: Updated the help listing for the yocto-layer command.
(From yocto-docs rev: 48b55bc49c4871d00c03dc3bacc5cfff9807d5bc)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:22 +01:00
Scott Rifenbark 3b83bc9034 bsp-guide: Some minor edits.
(From yocto-docs rev: 01121297f5b3c6ac4bfca4603ad3536fd1379639)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:22 +01:00
Scott Rifenbark 61ab619d14 bsp-guide: Updated the yocto-bsp script output.
(From yocto-docs rev: e8361a9a93c9b30d6d439979977ee58fcf9cec92)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:22 +01:00
Scott Rifenbark 07450dcdcb bsp-guide: Fixed "ARM" term appropriately.
(From yocto-docs rev: 9b3ac75e5c88ba491bf4c34cf8dcc29dea393095)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:22 +01:00
Scott Rifenbark 958f9f8154 bsp-guide: Fixed "QEMU" term appropriately.
(From yocto-docs rev: cb1a404339b64f6f1f65f5f2027e7bdf2fc067e8)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:22 +01:00
Scott Rifenbark 126abc0b5b bsp-guide: Added a link to the oe-init-build-env script.
(From yocto-docs rev: 60b8c950dd232151188ced0f73fa48f5f6171a1d)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:21 +01:00
Scott Rifenbark c9803415d2 bsp-guide: Minor editing change.
(From yocto-docs rev: 702b3a72cd95c01770e4e7a8f0bd1e2302a1beba)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:21 +01:00
Scott Rifenbark b681eb8979 bsp-guide: Removed a redundant note.
(From yocto-docs rev: 2df7840ed52c55aa01cea593f9468e1dd2d3c54a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:21 +01:00
Scott Rifenbark f1a29a83dc bsp-guide: Added a note to reference the yocto-layer tool.
This note is at end of the section on the yocto-bsp and
yocto-kernel tools.

(From yocto-docs rev: 91f33e356412b3d305393483770a4257a872e056)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:21 +01:00
Scott Rifenbark 8232e1c00a bsp-guide: Minor edits to the yocto-bsp command description.
(From yocto-docs rev: e1e49e92907ff1811be02774bd36ffa3d449b144)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:21 +01:00
Scott Rifenbark a19e3dda09 bsp-guide: Fixed another broken link to the Downloads page to the website.
(From yocto-docs rev: bb721a2544293fcc46554975e94de00ec67ba9bc)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:21 +01:00
Scott Rifenbark aa56bc739d bsp-guide: Fixed a broken link to the "Downloads" page to the website.
(From yocto-docs rev: d66c6e232ba27684980fa20438093d2535954807)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:21 +01:00
Scott Rifenbark 02a5c92b26 bsp-guide: Changed wording due to 2 recommendations now exist.
(From yocto-docs rev: 2573079c74705c263eea2afbd8188e3066c9bae3)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:21 +01:00
Scott Rifenbark e50ef9e9cf bsp-guide: Minor edits
Applied "Metadata" for "metadata"
Added a link to the section to help find maintainers.
Some re-wording.

(From yocto-docs rev: 7f40c4dac30d2f54cf09afeb51a5cc83ba0851e9)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-04-17 22:34:21 +01:00