summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* dpkg: Add xz to RDEPENDSSaul Wold2013-10-011-2/+2
| | | | | | | | | | | | dpkg uses xz as a compressor and the binary image is needed on the system for dpkg to work correctly. [YOCTO #1881] (From OE-Core rev: 8f6bc04c9b563f8659ce0e053072deca02da38a5) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Add OpenEmbedded-specific implementationTom Zanussi2013-10-0120-260/+1253
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Reuses the mic/livecd infrastructure but heavily subclasses and modifies it to adapt to the special needs of building images from existing OpenEmbedded build artifacts. In addition to the OE-specific mic objects and modifications to the underlying infrastructure, this adds a mechanism to allow OE kickstart files to be 'canned' and made available to users via the 'wic list images' command. Two initial OE kickstart files have been added as canned .wks files: directdisk, which implements the same thing as the images created by directdisk.bbclass, and mkefidisk, which can essentially be used as a replacement for mkefidisk.sh. Of course, since creation of these images are now driven by .wks files rather than being hard-coded into class files or scripts, they can be easily modified to generate different variations on those images. They also don't require root priveleges, since they don't use mount to create the images. They don't however write to media like mkefidisk.sh does, but rather create images that can be written onto media. (From OE-Core rev: f87acc5e59d3c2c39ff171b5557977dab4c8f4a6) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Add mic w/pykickstartTom Zanussi2013-10-01135-0/+29216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the starting point for the implemention described in [YOCTO 3847] which came to the conclusion that it would make sense to use kickstart syntax to implement image creation in OpenEmbedded. I subsequently realized that there was an existing tool that already implemented image creation using kickstart syntax, the Tizen/Meego mic tool. As such, it made sense to use that as a starting point - this commit essentially just copies the relevant Python code from the MIC tool to the scripts/lib dir, where it can be accessed by the previously created wic tool. Most of this will be removed or renamed by later commits, since we're initially focusing on partitioning only. Care should be taken so that we can easily add back any additional functionality should we decide later to expand the tool, though (we may also want to contribute our local changes to the mic tool to the Tizen project if it makes sense, and therefore should avoid gratuitous changes to the original code if possible). Added the /mic subdir from Tizen mic repo as a starting point: git clone git://review.tizen.org/tools/mic.git For reference, the top commit: commit 20164175ddc234a17b8a12c33d04b012347b1530 Author: Gui Chen <gui.chen@intel.com> Date: Sun Jun 30 22:32:16 2013 -0400 bump up to 0.19.2 Also added the /plugins subdir, moved to under the /mic subdir (to match the default plugin_dir location in mic.conf.in, which was renamed to yocto-image.conf (moved and renamed by later patches) and put into /scripts. (From OE-Core rev: 31f0360f1fd4ebc9dfcaed42d1c50d2448b4632e) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: Initial code for wic (OpenEmbedded Image Creator)Tom Zanussi2013-10-014-0/+774
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initial implementation of the 'wic' command. The 'wic' command generates partitioned images from existing OpenEmbedded build artifacts. Image generation is driven by partitioning commands contained in an 'Openembedded kickstart' (.wks) file specified either directly on the command-line or as one of a selection of canned .wks files (see 'wic list images'). When applied to a given set of build artifacts, the result is an image or set of images that can be directly written onto media and used on a particular system. 'wic' is based loosely on the 'mic' (Meego Image Creator) framework, but heavily modified to make direct use of OpenEmbedded build artifacts instead of package installation and configuration, things already incorporated int the OE artifacts. The name 'wic' comes from 'oeic' with the 'oe' diphthong promoted to the letter 'w', because 'oeic' is impossible to remember or pronounce. This covers the mechanics of invoking and providing help for the command and sub-commands; it contains hooks for future commits to connect with the actual functionality, once implemented. Help is integrated into the 'wic' command - see that for details on usage. (From OE-Core rev: 95455ae4251e06d66e60945092b784d2d9ef165c) Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-project-qs: Minor formatting to filesystem image section.Scott Rifenbark2013-10-011-4/+4
| | | | | | | (From yocto-docs rev: 2bc7dd4253255baa0cdd4623ed19c4f405d2776a) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-project-qs: Added a link to MACHINE variable.Scott Rifenbark2013-10-011-2/+3
| | | | | | | (From yocto-docs rev: 8263a13c9ae125c35f10d919c9004c00222f20cb) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-project-qs: Updated instructions for downloading from website.Scott Rifenbark2013-10-011-2/+2
| | | | | | | (From yocto-docs rev: 611c706fb7b7abb361a582eeea26404e65890e21) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-project-qs: Updated wording for required packages.Scott Rifenbark2013-10-011-9/+10
| | | | | | | (From yocto-docs rev: 5af5c76434d6d877b43bf9020c6ae2f7524fe4d0) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-project-qs: Removed redundant production note.Scott Rifenbark2013-10-011-7/+0
| | | | | | | (From yocto-docs rev: 99a62746141fa05225e10483a0c784bc55a3f1f9) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added U-Boot variablesScott Rifenbark2013-10-011-1/+63
| | | | | | | | | | | | Fixes [YOCTO #5295] Added three new variables to the glossary: UBOOT_MACHINE, UBOOT_ENTRYPOINT, and UBOOT_LOADADDRESS. (From yocto-docs rev: 48d52dfd4c395cdfeb95878cbd7f128adba8e398) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated supported distros list.Scott Rifenbark2013-10-011-12/+14
| | | | | | | | | | We bottomed out on this list and this change represents the latest. (From yocto-docs rev: 65718c40ccfb3cdbea756dbc7319b06d8f13a7b5) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated the BBPATH glossary termScott Rifenbark2013-10-011-2/+20
| | | | | | | | | | | | | Fixes [YOCTO #5063] Provided a brief note that tells the user how to set BBPATH if they are going to run BitBake from any directory outside of the build directory. (From yocto-docs rev: 89b31f252237113638acea4634a65ea9ff241b5e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to restore the supported Linux distro list.Scott Rifenbark2013-10-011-3/+11
| | | | | | | | | | | This list evidently is not quite ready so I put it back to its orginal form with a couple of commented out lines in there for some distros that might be part of the list. (From yocto-docs rev: 3ace1c2e54675de72538742bc9920c5acbe36e8b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: Updated Manual Revision History TablesScott Rifenbark2013-10-016-6/+6
| | | | | | | | | Placed the release month of October in for the 1.5 release. (From yocto-docs rev: c0431b2b3115d9687dcb5d3ba37adf6bf4695867) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: udated list of supported distrosScott Rifenbark2013-10-011-2/+1
| | | | | | | (From yocto-docs rev: f0ad9b74a9d5af9f776b55d177a45df306284d82) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Applied review edits to migration section.Scott Rifenbark2013-10-011-41/+41
| | | | | | | (From yocto-docs rev: f4c6423a48c5d27bd853abad9b28a6cc563d4054) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated 1.5 Migration section and COMPLEMENTARY_GLOB variableScott Rifenbark2013-10-012-105/+138
| | | | | | | | | | | | | Review edits from Paul Egglegon applied to the Migrating to 1.5 section. Also, part of the review affected the COMPLEMENTARY_GLOB variable entry in the glossary. (From yocto-docs rev: 941a388f45c99403f5cb480bf3e5aae55a800994) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual, ref-manual: Review edits for new variables.Scott Rifenbark2013-10-013-99/+190
| | | | | | | | | | | | | | | | | | | | | | | | Applied review changes to the following variables: IMAGE_NAME DATETIME SDK_ARCH IMAGE_BASENAME TUNE_PKGARCH PACKAGE_GROUP COMPLEMENTARY_GLOB BUSYBOX_SPLIT_SUID Also, reformatted some 1.5 package version requirements into a list rather than a lazy literallayout tag. Provided some new wording for the "Directory Layout Changes" section in the Migration chapter. (From yocto-docs rev: 60c3a905dd9212f1b4f6969341640a0726342d11) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated the QA checks section in the 1.5 migration section.Scott Rifenbark2013-10-011-1/+1
| | | | | | | (From yocto-docs rev: f1f006710bf582f3684bb8aa5fd2d55cb18f8026) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added the version-going-backwards test to insaneScott Rifenbark2013-10-012-0/+18
| | | | | | | | | | | Added this new test to the insane.bbclass section. Also put in a reference in the migration section back to the new entry. (From yocto-docs rev: 32e25547b439030b93d9bc72bdce916eded518b4) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Edits to the "Setting Up Runtime Package Management" section.Scott Rifenbark2013-10-011-95/+95
| | | | | | | | | | Paul Eggleton sent me corrected procedure. I implemented his changes. (From yocto-docs rev: 581778c52493b662f449bbbed36453f161501c18) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Updates to "Working with Eclipse" section.Scott Rifenbark2013-10-011-67/+27
| | | | | | | | | | | I added a step on making sure they have Oracle JDK in there to the section that builds the plugin. Also, removed the third method to install the plugin. (From yocto-docs rev: cfd2b88717a709049155a8ff15134b617fc6e172) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dev-manual: Update to "Toaster" section.Scott Rifenbark2013-10-011-1/+4
| | | | | | | | | | Added a link to the "Toaster" page at the end of this short section to point to the section on "Installation and Running" Toaster. (From yocto-docs rev: 3d50425487f68960e50670601b7a38e6fc3a15ad) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.ent: Fixed variable for ADT Installer download linkScott Rifenbark2013-10-011-1/+1
| | | | | | | | | | | | | | | | The YOCTO_ADTINSTALLER_DL_URL variable used to point to the ADT Installer tarball download area was incorrect. It was set to "&YOCTO_RELEASE_DL_URL;/adt_installer". Community member Dusty Clark ran into trouble downloading from the link in the "Current" documentation version of the Application Developer's Manual. I fixed the variable to be YOCTO_ADTINSTALLER_DL_URL "&YOCTO_RELEASE_DL_URL;/adt-installer". Reported-by: Dusty Clark <dclark@mmto.org> (From yocto-docs rev: ac48e0e3ca795356398cd93aa288600a2869510b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.ent: Changes to the Fedora essential packages for the hostScott Rifenbark2013-10-011-2/+2
| | | | | | | | | | | | | | | | 1. Added two packages: perl-Data-Dumper perl-Text-ParseWords for Fedora (essential). 2. Changed the eglibc-devel to glibc-devel in the essential packages for Fedora. These changes are to variables used within the doc set. The built manuals affected are yocto-project-qs and ref-manual. (From yocto-docs rev: c95a96d512085cdb2c3a873b1035ba0d908cd182) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: New migration section for 1.5 and new variablesScott Rifenbark2013-10-012-1/+559
| | | | | | | | | | | | | 1. Created the first draft of the new migration section for moving to the YP 1.5 release. 2. Created new variable glossary descriptions for the SDK_NAME, IMAGE_NAME, and DATETIME variables. (From yocto-docs rev: 26e6a7675183b49a0ee8059d81218dbc5cd14bd4) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated the "Images" section.Scott Rifenbark2013-10-011-1/+2
| | | | | | | | | | changed the wording for where the DEPLOY_DIR_IMAGE directory points to per Paul Eggleton's suggestion. (From yocto-docs rev: eaa48e4dc54bf07431d389de6064329f2173ea68) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added some more undocumented classesPaul Eggleton2013-10-011-2/+9
| | | | | | | | | Paul sent a few more for the list. (From yocto-docs rev: ea4dd51b4e5fdedf767d8318507551f00c6d46d3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual, dev-manual: Edits to running automated tests section.Scott Rifenbark2013-10-013-63/+52
| | | | | | | | | | | Applied a second round of review edits from Paul Eggleton for the new "Performing Automated Runtime Testing" section. I did some reorganization and some minor wording changes. (From yocto-docs rev: fa8f8e5f0f6c1377a4fcafcd3d933af15ac01ff3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated the bitbake --help listing.Scott Rifenbark2013-10-011-49/+47
| | | | | | | (From yocto-docs rev: 83f6776d107a146ff2bbcd37229e8cd637314fd9) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bsp-guide, dev-manual: Updated for 3.10 default kernelScott Rifenbark2013-10-013-124/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | YP 1.5 default kernel is 3.10. This is a change from 3.8 in the previous release. This change affected several areas of the documentation. 1. The BSP Guide had a crownbay BSP structure that did not account for the new default. 2. The yocto-bsp tool output still asked for the 3.8 kernel as the default. 3. The recipes-bsp section had 3.8 used and had some bad listings that had to be changed. 4. The recipes-graphics section had 3.8 used and also had some stuff supporting two versions of the graphics (emgd and noemgd). I had to pull the emgd stuff. 5. There were miscellaneous spots in the dev-manual that were referencing 3.8 as the default kernel. Particularly the list that shows what kernel repositories we have. That needed updating. (From yocto-docs rev: 9826ce760884f2ce5a4eb72c6a731a85cd6f2b2b) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated the autotools.bbclass sectionScott Rifenbark2013-10-011-3/+3
| | | | | | | | | Re-wrote the sentence refering to the make variable DESTDIR. (From yocto-docs rev: 392e6e17c4f65fd038ec9bb73823837803543baf) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updates to DESTDIR areas.Scott Rifenbark2013-10-011-6/+0
| | | | | | | | | | | Removed the glossary entry for DESTDIR as this is a Makefile variable. Also, updated the reference sentence to DESTDIR that was in the autotools.bbclass section. (From yocto-docs rev: 16900d95dbbd406ac93cd22f2b14b2346668beb3) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated the EXCLUDE_FROM_WORLD variable.Scott Rifenbark2013-10-011-5/+10
| | | | | | | | | Minor word changes and formats. (From yocto-docs rev: 82c096cd79e7de8cb8c4af4be02b6838e82f06d6) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added new PARALLEL_MAKEINST variable description.Scott Rifenbark2013-10-011-0/+27
| | | | | | | (From yocto-docs rev: f2fef55151a841a0c05a78d7444fa1634edbf593) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Edits to PARALLEL_MAKE variable.Scott Rifenbark2013-10-011-5/+15
| | | | | | | | | | Added a note indicating that the variable might be cleared out if there are problems running Make. (From yocto-docs rev: 861921b86c48de2267ccd32ab3f3424a98eb8ed1) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated the PARALLEL_MAKE definition.Scott Rifenbark2013-10-011-2/+4
| | | | | | | | | Re-worded the first sentence. (From yocto-docs rev: 1b6798a8de3d73418b4377cf3b9654dfea4caed8) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated the SERIAL_CONSOLE variableScott Rifenbark2013-10-011-1/+2
| | | | | | | | | Added minor wording to the note. (From yocto-docs rev: 1c575ad8ef6823a66adcc0b4e223ecb55226f13f) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Updated SRC_URI descriptionScott Rifenbark2013-10-011-0/+4
| | | | | | | | | Added a "patchdir" option. (From yocto-docs rev: 2f4e51ea749406eaab2195df814a171bb4679a54) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual, dev-manual: Applied review comments for test sectionScott Rifenbark2013-10-013-81/+109
| | | | | | | | | | | The section and variables for performing automated runtime tests on images was reviewed by Paul Eggleton. The suggested changes were made. (From yocto-docs rev: c2f84ea3c162892e4da3df30fb833f88bab3d3cc) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: Added TEST_IMAGE variable description to glossary.Scott Rifenbark2013-10-011-0/+25
| | | | | | | (From yocto-docs rev: 7ab81854ce25134bbf88a8ddd799a3848f59966a) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Fix race problemsRichard Purdie2013-09-302-0/+54
| | | | | | | | | | | | | | | | | | There is a potential issue with the fastop code in pseudo since a process may exit and allow some other function to run before the server has processed the commands run by the process. Issues have been see with unpredictable file permissions. To avoid this, we ping the server before exitting which guarantees it has processed the current command queue. The patch was written by peter.seebach@windriver.com [YOCTO #5132] (From OE-Core rev: a8a1f12c51ffdca011db194894fd7d14c119fb09) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: HOB: Busy cursor when saving configurationValentin Popa2013-09-302-0/+18
| | | | | | | | | | Display a busy cursor while the configuration is saved. [YOCTO #4846] (Bitbake rev: fdb2e0120f189e97b8fdb6eb72d77a3100ba3018) Signed-off-by: Valentin Popa <valentin.popa@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu: Add fix for floating point issues on x86-64Richard Purdie2013-09-302-0/+32
| | | | | | | | | | | | There was a bug in handling of the mxcsr register since cpu flags were not getting updated after fxrstor operations. This small tweak fixes that. [YOCTO #5248] (From OE-Core rev: 5dc43cdc08e6698afa16ba79f3506a1555bb3710) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* slang: fix sprintf bug concerning 8-bit charactersMarius Avram2013-09-302-0/+43
| | | | | | | | | | | | | | Buffer used for copying a "%c" character was getting out of scope when it was required by the sprintf operation. [YOCTO #5272] (From OE-Core rev: c7de71813c8f47438f44749136877442cf73d536) Signed-off-by: Marius Avram <marius.avram@intel.com> Signed-off-by: Irina Patru <irina.patru@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nss: Fix return codes in postinstallDavid Nyström2013-09-301-0/+3
| | | | | | | | | | | exit 0 was done if $D != NULL, if one or more shlibsign executions fails. (From OE-Core rev: 5dc3eb72c4b9b68ab13310383a90fe7779bf92a7) Signed-off-by: David Nyström <david.nystrom@enea.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* boot-directdisk: ensure generated MBR disk signature is non-zeroJonathan Liu2013-09-301-1/+5
| | | | | | | | | | | A zero MBR disk signature is generally seen as no signature and another partitioning program might install a new signature. (From OE-Core rev: b6cafb1fcd6c168f8f4a4d2d5c74f3b425f156f3) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mkefidisk.sh: Allow using a loopback mounted fileJason Wessel2013-09-301-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | It should be possible to generate a disk to a file using a loopback device with mkefidisk.sh, which is useful for booting simulators. To make this possible the partitions for the loop back need to work similarly to the mmc devices. The mkfs.vfat also requires and additional argument to force it to write to something other then a real disk. Example: qemu-img create -f raw bigdisk 4G dev=`sudo losetup -f` sudo losetup $dev bigdisk mkefidisk.sh $dev tmp-eglibc/deploy/images/qemux86/core-image-minimal-qemux86.hddimg /dev/sda sudo losetup -d $dev Note: Also a bug was fixed in the mkefidisk.sh where if the disk you are writing to initially has an invalid label the size of the first partition will be computed incorrectly. For the simulator disk creation this is generally always the case, but this can happen with real hardware as well. (From OE-Core rev: 254899824900f2e8c6a34d2ad1b8cbea91acb4ae) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: Allow INITRAMFS_TASK to trigger copy initramfs codeJason Wessel2013-09-301-0/+8
| | | | | | | | | | | | | | | | | | | | Activating the INITRAMFS_TASK can cause circular dependencies, but that is up to the end user to resolve in recipes. The INITRAMFS_TASK should also trigger immediate linking of the cpio task in the first compile pass. This was a subtle regression introduced by: 609d5a9ab (kernel.bbclass, image.bbclass: Implement kernel INITRAMFS dependency and bundling). This patch restores the previous behavior and only affects the INITRAMFS_TASK which is not set by any of the default build profiles in oe-core. Reviewed-by: Andrea Adami <andrea.adami@gmail.com> (From OE-Core rev: 36faac868e086e9c23537b107cdd973d7fd980bd) Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Use systemd service for first boot configurationMuhammad Shakeel2013-09-303-2/+37
| | | | | | | | | | | | | Currently opkg uses a script to configure packages during first time boot. This script is present in rcS.d and when 'sysvinit' is disabled this script doesn't execute. For systemd only distros this newly added service will run the opkg configure during first boot only. (From OE-Core rev: fdcfcea5b8eae1769a217f8efea9c02f037f63fa) Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>