summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* wic: add 'part-name' argument for naming GPT partitionsArtur Mądrzak2017-12-044-0/+15
| | | | | | | | | | | | | | | | | The WIC's 'part' can now give a name for GPT partition in WKS file. It's similar to '--label', but is naming partintions instead file systems. It's required by some bootloaders to partitions have specified names. Backport from master, without it WIC cannot be used on Qualcomm based machines. (From OE-Core rev: 45aee3d57697f8dcc967120b5afd280d5ceadd21) Signed-off-by: Artur Mądrzak <artur@madrzak.eu> Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9b60e3466ed7cff0cea10815851eb1304002eb52) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: main: Give a user readable error if we can't locate topdirRichard Purdie2017-10-311-0/+8
| | | | | | | | | | | | | | | | | | | Currently if you run bitbake in an invalid directory, the user experience is poor: birbake/lib/bb/main.py", line 427, in setup_bitbake topdir, lock = lockBitbake() File "./bitbake/lib/bb/main.py", line 494, in lockBitbake lockfile = topdir + "/bitbake.lock" TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' This ensures we exit straight away with a better error message. [YOCTO #12163] (Bitbake rev: 2a931d5e4ac092ce275f3a51e22b802689f511e6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: fix watching directories with Python 3.6+Paul Eggleton2017-10-311-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | In Python 3.6, glob.glob() was reimplemented to use os.scandir() (which itself appeared in Python 3.5), thus our monkey patching of os.listdir() here was no longer effective. The end result was not only that bitbake wouldn't notice added recipes or bbappends with BB_SERVER_TIMEOUT set when being run with Python 3.6 (the shipped Python version on Fedora 26 and some other distribution versions), it also broke devtool modify, devtool upgrade and devtool extract since they rely on the ability to create a bbappend on the fly and have bitbake pick it up. To fix it, do the same monkey patching for os.scandir(), which needs to be conditional upon that actually existing since we have to support Python 3.4 that doesn't have it. Long term we should probably look for a better way to handle this that doesn't involve monkey patching Python library code. Fixes [YOCTO #12185]. (Bitbake rev: d57c4718a3a1eb7b8397085c307fcb0bec6454ef) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: Update version to 1.36.0 for stable releaseKhem Raj2017-10-312-2/+2
| | | | | | | (Bitbake rev: 83834a58b6c1ec866967c03494b9a7f4d5f1177e) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updates to "Image Generation" section.Scott Rifenbark2017-10-301-9/+10
| | | | | | | | | | Fixed wording on how the OpenEmbedded build system dynamically generates do_image_* tasks as needed during image generation. (From yocto-docs rev: 9df98d77a446cd5d27c4e87418117a904b1f4231) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual, kernel-dev: Replaced yocto-layers with bitbake-layers commandScott Rifenbark2017-10-303-119/+138
| | | | | | | | | | | | | | | | | The yocto-layers script is being deprecated in the 2.4 YP release and the preferred script is now bitbake-layers. In particular, the section that talks about creating a general layer was using yocto-layers create. I have replaced it with bitbake-layers create-layer command. The bsp-guide and kernel-dev manual had links that used (in the case of kernel-dev) and referenced yocto-layers. I had to change these to reflect using bitbake-layers create-layers. (From yocto-docs rev: 73ec4d0c8c2c093b7c9df86038d132f0da975273) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: First draft of the 2.4 Migration sectionKristi Rifenbark2017-10-301-2/+525
| | | | | | | (From yocto-docs rev: e0302faa6e7c4ef17c57489e6e6f11b73d8e9b94) Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: Updated title page notes and author groupScott Rifenbark2017-10-309-187/+190
| | | | | | | | | | | | | Made the title page notes consistent across the manual set. Made the author group information consistent as well. It is better that authorship is seen as a third party and not tied to Intel Corporation. (From yocto-docs rev: 32cec087e384e1d92e3e84bbae5c6560a0af3136) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual, mega-manual: Updated Index of Releases figureScott Rifenbark2017-10-302-0/+0
| | | | | | | (From yocto-docs rev: a7238f165cd6cde6c33d9981577039f8511f5fe3) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual, mega-manual: Updated example source repo figureScott Rifenbark2017-10-302-0/+0
| | | | | | | (From yocto-docs rev: 60167c15c08ddaa211c4a1151e6b1a0b00763cc0) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated "Build Image" section for do_image<type>[depends]Scott Rifenbark2017-10-301-0/+16
| | | | | | | | | | | Added information about how the build system dynamically creates do_image_* tasks (e.g. do_image_ext4[depends]) when creating the image. This is functionality that replaced IMAGE_DEPENDS_type. (From yocto-docs rev: c977df506585aad1ade99c390bacc04b54eb0e48) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sdk-manual: Updated title page note for manual information.Scott Rifenbark2017-10-301-13/+9
| | | | | | | (From yocto-docs rev: 7f54c31b91c7ec719f507a1b67a99c1b329619f7) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sdk-manual: Minor wording update in title page note.Scott Rifenbark2017-10-301-1/+1
| | | | | | | (From yocto-docs rev: fdfa837b5d453d2721e92b01dda25e3b0a517913) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated links to the sdk-manualScott Rifenbark2017-10-3011-29/+42
| | | | | | | | | | The title of the sdk-manual changed. Many links were updated to render to the correct book title. (From yocto-docs rev: 821e29c6c031ae2516fb0e79d0ec3936a5bd624c) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-project-qs: Updated references to the sdk-manualScott Rifenbark2017-10-301-1/+2
| | | | | | | | | | The name of the sdk-manual changed and I had to update some external links and references into the manual. (From yocto-docs rev: fba92910fd91d1ca49bc6915820effb189f1852e) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-dev: Updated links to the SDK manual.Scott Rifenbark2017-10-301-2/+2
| | | | | | | | | | The name of the SDK manual changed and there was one link to the manual that needed fixed. (From yocto-docs rev: 800d5106a25ce4e87b0468ec3ab03dd8a49f3082) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sdk-manual: Changed name of the manual.Scott Rifenbark2017-10-303-10/+8
| | | | | | | | | | | | Change the name of the manual to "Yocto Project Application Development and the Extensible Software Development Kit (eSDK)". The "sdk-title.png" file was updated and all title information was updated. (From yocto-docs rev: 502a49a9e4f5e80efe16507391bc9d9618efefbd) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Updated links to SDK manual.Scott Rifenbark2017-10-305-248/+23
| | | | | | | | | SDK manual title changes so the links into that manual needed updating. (From yocto-docs rev: e59d1cb22d46b00e9413deb5c7a70a14be880dc1) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sdk-manual: Split the Eclipse section into a separate chapterScott Rifenbark2017-10-307-1214/+1225
| | | | | | | | | | | | | | | This also affected a link in the dev-manual and some setup stuff in the mega-manual and sdk-manual.xml file due to a new chapter being introduced. This section on the Eclipse stuff is big enough to warrant its own chapter. I decided to pull it into a separate chapter of its own. (From yocto-docs rev: a4b2b605902f09bb200facfabb0a7c355fbf4c87) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added links for do_image and do_image_complete tasksScott Rifenbark2017-10-301-2/+5
| | | | | | | | | | In the "Image Generation" section, I was referencing these tasks and did not have any cross-link to the actual tasks. I added them. (From yocto-docs rev: da480933c59ddc3fe9fe4a881d4d0e21038a999b) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Replaced "vmdk" with "wic.vmdk"Scott Rifenbark2017-10-301-1/+1
| | | | | | | (From yocto-docs rev: c5c77c91269c16dc72cd7b63ce1e7fde1cf1d492) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Updated run QEMU basic syntax stepScott Rifenbark2017-10-301-1/+1
| | | | | | | | | | | In Step 4 of the "Running QEMU" section, the file suffix "*.vmdk" is mentioned. "vmdk" has essentially become "wic.vmdk" now. I updated the example. (From yocto-docs rev: 5e17ccabfe8eb9d3b4316ceb41df17eddc7b0065) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated EFI_PROVIDER variable descriptionScott Rifenbark2017-10-301-2/+2
| | | | | | | | | | The "vmdk" image has essentially changed to "wic.vmdk". I updated the description by replacing "vmdk" with "wic.vmdk". (From yocto-docs rev: 24d0d9509361afe0d61449c7dd056f73318fc01a) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Cleaned up multiple notes for the IMAGE_FSTYPES variableScott Rifenbark2017-10-301-14/+19
| | | | | | | | | Combined two note boxes into a single note box with bulleted list. (From yocto-docs rev: 5684b6cf373ddc5b18e9e4ae4ae12cede30b8235) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Clarified build history as creating a single commit per build.Scott Rifenbark2017-10-301-3/+3
| | | | | | | (From yocto-docs rev: eb5edb5833ece9342cfeb645fbff1154bb2113c7) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Changed location of maintainers.inc file to meta/confScott Rifenbark2017-10-301-1/+1
| | | | | | | (From yocto-docs rev: 0991f94a32c067375b6d58eb058f3bb3393f8a21) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Removed a couple instances of "meta-yocto"Scott Rifenbark2017-10-301-6/+4
| | | | | | | (From yocto-docs rev: 7c23ff287cd5b2e550ab53514a6cc574b276d939) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Removed "unsafe-references-in-scripts" test from insane classScott Rifenbark2017-10-301-21/+0
| | | | | | | | | This test was removed. (From yocto-docs rev: 9defac2c0e0d808bc677bd6d115a72e4db6a554c) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mega-manual: Added new dev-manual title .PNG file to Figures folder.Scott Rifenbark2017-10-301-0/+0
| | | | | | | (From yocto-docs rev: 995e19d0c8aca03ca026409b2db5bccaa4b6552f) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mega-manual: Updated author line.Scott Rifenbark2017-10-301-1/+1
| | | | | | | (From yocto-docs rev: 26ad4f587ed848749baa3f8d25bf19319e6c8e9f) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mega-manual.sed: Changed title of dev-manual.Scott Rifenbark2017-10-301-1/+1
| | | | | | | (From yocto-docs rev: 2c317dc5a55b9bafac2d15d048485e1dbce82fdd) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-project-qs: Minor edits for readabilityScott Rifenbark2017-10-301-31/+35
| | | | | | | (From yocto-docs rev: 089c6e1392e6376e1e73f3ded74c40c60bee1109) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Updated title .PNG fileScott Rifenbark2017-10-301-0/+0
| | | | | | | | | | The manual title has changed to "Yocto Project Development Tasks Manual". (From yocto-docs rev: aa6b7959df1725257ee598f828d3e99e595308e5) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: Updates to change dev-manual titleScott Rifenbark2017-10-304-14/+14
| | | | | | | | | | | | Updated several files to change the title of the dev-manual from the "Yocto Project Development Manual" to the "Yocto Project Development Tasks Manual." Did some edits in the README and the Makefile as well for completeness. (From yocto-docs rev: 0278d6d3bb458af1cb04fbc3eed96dff12d19475) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-project-qs: Changed links to dev-manual due to title changing.Scott Rifenbark2017-10-301-4/+4
| | | | | | | (From yocto-docs rev: b3a378502c33a6391985db427177f07eb46eef23) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toaster-manual: Fixed external linksScott Rifenbark2017-10-304-4/+4
| | | | | | | | | | Found four links going to the dev-manual that should have benn going to the ref-manual. These were for YP terms. Fixed them. (From yocto-docs rev: 0c75eda3a772d8c40e381e44e563a5b79b3d0cb5) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sdk-manual: Fixed two links to changed dev-manual title.Scott Rifenbark2017-10-301-2/+2
| | | | | | | (From yocto-docs rev: 2cc71fb47c5281a981509fcd0f31f9100471f841) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sdk-manual: Converted external links to internal and fixed dev-title linkScott Rifenbark2017-10-301-7/+6
| | | | | | | | | | | | The dev-manual title changed to the Yocto Project Development Tasks Manual. I fixed a link to this title. Also, fixed several external links that were going to the dev-manual and should have been going to the ref-manual. (From yocto-docs rev: 69c0832ea9378d097e85e23e45cec750b8c42042) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sdk-manual: Converted external links to internal links.Scott Rifenbark2017-10-301-2/+2
| | | | | | | | | | Two links that should have been to different places were overlooked. I fixed these. (From yocto-docs rev: a1681d065812546a573ed778141289a6b476cecd) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sdk-manual: Fixed links to dev-manual for changed dev-manual title.Scott Rifenbark2017-10-301-4/+4
| | | | | | | (From yocto-docs rev: 20fdeaf0a9003e694fb240f75c14e98148459b67) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sdk-manual: Fixed link to dev-manual for new title of dev-manual.Scott Rifenbark2017-10-301-1/+1
| | | | | | | (From yocto-docs rev: 43a3b04efa8e579b5cc320a898d94cf886c80d3b) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Converted external links to internal and fixed dev-manual linksScott Rifenbark2017-10-301-8/+9
| | | | | | | | | | | The dev-manual title changed to the Yocto Project Development Tasks Manual. Fixed the links for that. Also took care of some external links that should have been internal. (From yocto-docs rev: c1e108e2d13d83bcd6b28c8983336a93642c60a2) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Converted external links to internal and fixed dev-manual linksScott Rifenbark2017-10-301-9/+10
| | | | | | | | | | | The dev-manual title changed to the Yocto Project Development Tasks Manual. Fixed the links to that manual. Also, fixed external links that should have been internal to the ref-manual. (From yocto-docs rev: 76bc9f55e0947689213139927410418a188c893c) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Converted external links to internal and fixed dev-manual linksScott Rifenbark2017-10-301-5/+5
| | | | | | | | | | | The dev-manual title changed to the Yocto Project Development Tasks Manual. I fixed those links and titles. Also fixed some external links that should have been internal. (From yocto-docs rev: a63abcacb2d21cf3f29eb881ce872b265162d2ad) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Converted external links to internal and fixed dev-manual LinksScott Rifenbark2017-10-301-66/+71
| | | | | | | | | | | The dev-manual title changed to the Yocto Project Development Tasks Manual. I fixed links to this manual. Also converted several external links to internal. (From yocto-docs rev: 3ec8452d4f847654096f68c90bf2f7003f5e585c) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Converted external links to internal and fixed dev-manual linksScott Rifenbark2017-10-301-5/+5
| | | | | | | | | | | The dev-manual title changed to the Yocto Project Development Tasks Manual. Fixed links for that. Also, fixed some external links that should have been internal to ref-manual. (From yocto-docs rev: 2369e8d1c1c4f376de0faf6ab02afdea79082d87) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Converted external links to internal and fixed dev-manual linksScott Rifenbark2017-10-301-18/+21
| | | | | | | | | | | The title of the dev-manual changed to the Yocto Project Development Tasks Manual. I added that to the links. Also fixed several external links that really should have been internal. (From yocto-docs rev: ff2d0010530d6969b2ffd64e6d23c79a18d7f368) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Converted external links to internal and fixed dev-manual linksScott Rifenbark2017-10-301-4/+4
| | | | | | | | | | | The dev-manual title changed to the Yocto Project Development Tasks Manual and I fixed those links. Converted links that should have been internal to the ref-manual but were external to the dev-manual. (From yocto-docs rev: 6de68b04ce1b921466a462dfa3f3485232aaf40d) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Converted external link to internal and fixed dev-manual linkScott Rifenbark2017-10-301-2/+2
| | | | | | | | | | | The dev-manual title changed to the Yocto Project Development Tasks Manual. Updated a link. Also, fixed a link to a term that should have been internal to the ref-manual and not external to the dev-manual. (From yocto-docs rev: 82a44632fd614db1ac00d2e2b4ec85ade77b9aff) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Converted external links to internal and fixed dev-manual linksScott Rifenbark2017-10-301-7/+7
| | | | | | | | | | | The dev-manual title changed to the Yocto Project Development Tasks Manual. Updated the links. Fixed a few links that should have been internal. (From yocto-docs rev: 2125fa0b2a86b8bea0d0e76c4ca349d00bd86e71) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>