summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/images
Commit message (Collapse)AuthorAgeFilesLines
* build-appliance-image: Create image in correct locationJuro Bystricky2016-09-191-2/+1
| | | | | | | | | | | | | | | | Due to the recipe now using variable IMGDEPLOYDIR instead of DEPLOY_DIR_IMAGE, the final Build Appliance image ended up being created in a wrong location. This patch assures the final ZIP image is created in identical location as before: tmp/deploy/images/<machine>/Yocto_Build_Apliance.zip [YOCTO#10274] (From OE-Core rev: 5ac0604fdc7d5b783011c43d476210b427b5dae0) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image: Deploy images to IMGDEPLOYDIREd Bartosh2016-09-041-4/+4
| | | | | | | | | | | | | | | | | Changed deployment directory from DEPLOY_DIR_IMAGE to IMGDEPLOYDIR to make sstate machinery to do final deployment and generate manifest. Renamed variable deploy_dir to deploy_dir_image in selftest code to avoid confusion with DEPLOYDIR variable. Updated the code of rootfs.py:Rootfs class to use IMGDEPLOYDIR variable as it's now used as a new deployment destination. (From OE-Core rev: 6d969bacc718e21a5246d4da9bf9639dcae29b02) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revision2.2_M1Richard Purdie2016-06-211-1/+1
| | | | | | (From OE-Core rev: 9431698a88430f0fa892d9b270c0849c4d3d2486) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2016-06-211-1/+1
| | | | | | (From OE-Core rev: b4ccfdfeece9665d9ef8967495fdb1a1d5f494b4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Add LC_ALL setting and drop pseudo piecesRichard Purdie2016-06-161-7/+1
| | | | | | | | | | | | The pseudo pieces here date from times gone by when bitbake ran in two phases. Its long since obsolete and can be dropped. Also set LC_ALL so that bitbake works correctly and uses the local we're already installing into the image so we have utf-8 available. (From OE-Core rev: 7c1f1fc3d739d778886208d6833c34e6ca1dc148) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Install network componentsJuro Bystricky2016-06-161-1/+2
| | | | | | | | | | | | | Explicitly add network components into Build Appliance image, do not rely on packagegroup-self-hosted to pull them in. Network related dependencies were removed from packagegroup-self-hosted. YOCTO #9758 (From OE-Core rev: fc0d9c27b88a691b0fea98b9a2b2a4f3e978ec87) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2016-06-161-1/+1
| | | | | | (From OE-Core rev: bdad088488842f64d9fa973097e9797a901f1d02) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: update version to 15.0.0Alexander Kanavin2016-06-041-0/+0
| | | | | | | (From OE-Core rev: f969c6249a18e175a2dbd80b20dfdc99a83432dc) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-{minimal, testmaster}-initramfs: set COMPATIBLE_HOSTMartin Jansa2016-05-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * use the same COMPATIBLE_HOST restriction as initramfs-live-install(-testfs) to resolve ugly error when trying to build them e.g. for ARM: ERROR: Nothing RPROVIDES 'initramfs-live-install-testfs' (but /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-extended/images/core-image-testmaster-initramfs.bb RDEPENDS on or otherwise requires it) ERROR: initramfs-live-install-testfs was skipped: incompatible with host arm-oe-linux-gnueabi (not in COMPATIBLE_HOST) NOTE: Runtime target 'initramfs-live-install-testfs' is unbuildable, removing... Missing or unbuildable dependency chain was: ['initramfs-live-install-testfs'] ERROR: Required build target 'core-image-testmaster-initramfs' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-testmaster-initramfs', 'initramfs-live-install-testfs'] ERROR: Nothing RPROVIDES 'initramfs-live-install' (but /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-core/images/core-image-minimal-initramfs.bb RDEPENDS on or otherwise requires it) ERROR: initramfs-live-install was skipped: incompatible with host arm-oe-linux-gnueabi (not in COMPATIBLE_HOST) NOTE: Runtime target 'initramfs-live-install' is unbuildable, removing... Missing or unbuildable dependency chain was: ['initramfs-live-install'] ERROR: Required build target 'core-image-minimal-initramfs' has no buildable providers. Missing or unbuildable dependency chain was: ['core-image-minimal-initramfs', 'initramfs-live-install'] (From OE-Core rev: 8016b51d81ca9ed1567effa9d2870b1d98684350) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: use 'lnr' instead of 'ln -sr'Ming Liu2016-05-211-2/+2
| | | | | | | | | For portability, not all hosts are running sufficiently new coreutils. (From OE-Core rev: b06d9ad6c235584f3cb12244bc5437ca7977a0c8) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: moves KERNEL_SRC_PATH to bitbake.confMing Liu2016-05-191-1/+1
| | | | | | | | | | "/usr/src/kernel" is being hard-coded in multiple recipes so far, move its definition to bitbake.conf. (From OE-Core rev: eb9f900527e02ca08a1de14b4ac773f513bb1ee4) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance: Switch to master branch post releaseRichard Purdie2016-04-291-1/+1
| | | | | | (From OE-Core rev: 04d5dff40803ef6d6c150542e812889e07e719d9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to krogoth head revisionyocto-2.1krogoth-15.0.0Richard Purdie2016-04-191-2/+2
| | | | | | (From OE-Core rev: 9838f8d077d16e52ad592879d65a9e8350b93075) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Load TUN at startupJuro Bystricky2016-04-181-2/+6
| | | | | | | | | | | | | | | | | | | | This patch addresses the issue of not being able to execute "runqemu" in the Build Appliance. The root cause of the problem was that TAP/TUN was not available, although required by "runqemu". In addition, the recommended remedy $ sudo modprobe tun would fail for two reasons: modprobe not in PATH (user builder), and "iptables" located in /usr/sbin but expected in /sbin. [YOCTO #9437] (From OE-Core rev: 65db0a29be91a157522cf02ebb21961b8ba55759) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* images: zero out the rootfs_extra_space in initramfs imagesStephano Cetola2016-04-181-0/+1
| | | | | | | | | | | Setting IMAGE_ROOTFS_EXTRA_SPACE impacts the initramfs images, results in an error about INITRAMFS_MAXSIZE. (From OE-Core rev: 3ee82430f3f3eb62cbc949658808d109222e8b24) Signed-off-by: Stephano Cetola <stephano.cetola@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Support for VirtualBox guest additionsJuro Bystricky2016-04-112-2/+87
| | | | | | | | | | | | | | | | | | Add support for VirtualBox guest additions. The additions are built inside the Build Appliance VM. For this to be possible, the environment for out-of-tree kernel module builds must be present and set up properly. A README file with detailed steps on how to build the guest additions is placed in the home directory of the user "builder" as well. The main purpose of the guest additions is to allow sharing folders between the host and Build Appliance VM. [YOCTO #8073] (From OE-Core rev: a11c9fd6e3ca9a76c866f13fcc12b8d2e60a4097) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2016-04-061-1/+1
| | | | | | (From OE-Core rev: 5ebea1114d54120d5ff5d8a6cd148110d0fda23f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2016-04-061-1/+1
| | | | | | (From OE-Core rev: 28e7f572041aa7b641eb83c988bd5421fa6a9b6c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2016-04-061-1/+1
| | | | | | (From OE-Core rev: db701beaf4da2c83bf6e9c687901806cf686ad18) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Exclude DDATETIME from task signatureRichard Purdie2016-04-031-0/+1
| | | | | | | | | Otherwise the task hash changes between server and worker context leading to changing task checksums. (From OE-Core rev: d60806e56aed2f62f6a0e030a564f7fdc4a1314d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2016-03-281-1/+1
| | | | | | (From OE-Core rev: a3e254992444b0cc92e182151fefba7e3324ad55) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Fix permissionsJuro Bystricky2016-03-281-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | Explicitly set all permissions. This fixes various problems such as: Unable to create '/home/builder/poky/bitbake/lib/bb/pysh/pyshtables.py' [Errno 22] invalid mode ('w') or filename '/home/builder/poky/bitbake/lib/bb/pysh/pyshtables.py' and failure to create sub-directories in the directory 'poky': mkdir: cannot create directory '<dir>': Invalid argument While in there, added a few non-functional changes: Added sample proxy settings into .bashrc Added environmental variable with SRCREV actually used to populate the Build Appliance into .bashrc (BA_SRCREV) [YOCTO#9314] (From OE-Core rev: fcc558874d1ea533fb6ca488d2ab2223c1e21881) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance: make the inclusion of downloaded sources optionalJoshua Lock2016-03-121-1/+4
| | | | | | | | | | | | | Including the entirety of DL_DIR in the generated build appliance image adds a significant amount of space and makes the build appliance image more awkward to distribute. Add a configuration option to make the inclusion of sources option and default to disabling this functionality. (From OE-Core rev: 7975325e3d8dee159752ae2304b0c00361bfd2a7) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: bump version to 14.0.0Alexander Kanavin2016-01-241-0/+0
| | | | | | | | | | | Bumping to 14.0 was incorrect: upstream version tag is 14.0.0. This change is done solely to improve accuracy of RRS version reporting. (From OE-Core rev: ead744f0b8afd53b851128a89c14bb7025b339fb) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: bump version to 14.0Alexander Kanavin2016-01-201-0/+0
| | | | | | | | | This is done to make recipe version reporting tool happy. (From OE-Core rev: 7a31e2bfa26ca4a8942abb5d9c94d529cfa2ce54) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-minimal-initramfs: replace base-utilsAlejandro Joya2016-01-061-1/+1
| | | | | | | | | | | It replaces the use of busybox as hardcoded dependency to more dynamic this wouldn't affect the way that the system is build only it let a more flexible replacement in the core. (From OE-Core rev: 3cef7dda39ac88046e282121585f5b4e067d47a7) Signed-off-by: Alejandro Joya <alejandro.joya.cruz@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2015-12-091-1/+1
| | | | | | (From OE-Core rev: 192da885e92d3b163b9c4e6b8151c9ecc6062b14) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to jethro head revisionyocto-2.0jethro-14.0.0Richard Purdie2015-11-031-1/+1
| | | | | | (From OE-Core rev: e44ed8c18e395b9c055aefee113b90708e8a8a2f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to jethro head revisionRichard Purdie2015-11-021-1/+1
| | | | | | (From OE-Core rev: 49fdc7e3bcb0f15b89db6ac653a861a5a55c8d14) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to jethro head revisionRichard Purdie2015-10-291-1/+1
| | | | | | (From OE-Core rev: d3aa328147e364f88791564920cfb933f9aa2b20) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to jethro head revisionRichard Purdie2015-10-211-1/+1
| | | | | | (From OE-Core rev: 73f8a0bf3b99d480bf97e266da0fb048714b4caf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to jethro head revisionRichard Purdie2015-10-011-1/+1
| | | | | | (From OE-Core rev: 6545e402d6411dbd16eae7049a76d47e9a8f996d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to jethro head revisionRichard Purdie2015-10-011-1/+1
| | | | | | (From OE-Core rev: ec9b4dc79dbbf0b6c452acdf9ecd4163421c07e8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to jethro head revisionRichard Purdie2015-10-011-1/+1
| | | | | | (From OE-Core rev: 29437be019b8001977a09ddb07011e1cdf0bb4c0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to jethro head revisionRichard Purdie2015-10-011-1/+1
| | | | | | (From OE-Core rev: ce10cb6b9e1898eb81e9989d277081a715980c89) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-minimal: Add 4M extra space when using systemdKhem Raj2015-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | qemu images fail to rebuild the hwdb due to no space letf on device systemd-hwdb-update.service - Rebuild Hardware Database Loaded: loaded (/lib/systemd/system/systemd-hwdb-update.service; static; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2015-08-15 21:39:28 UTC; 28s ago Docs: man:hwdb(7) man:systemd-hwdb(8) Process: 92 ExecStart=/bin/systemd-hwdb update (code=exited, status=1/FAILURE) Main PID: 92 (code=exited, status=1/FAILURE) Aug 15 21:39:28 qemux86 systemd-hwdb[92]: Failure writing database //etc/udev/hwdb.bin: No space left on device Aug 15 21:39:28 qemux86 systemd[1]: systemd-hwdb-update.service: Main process exited, code=exited, status=1/FAILURE Aug 15 21:39:28 qemux86 systemd[1]: Failed to start Rebuild Hardware Database. (From OE-Core rev: 4086c539d47bc837e775972016e1844a3676c8e7) (From OE-Core rev: 3acec386b94a040cbda615c8819d2552dd0878a6) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: use ext4 for rootfsJuro Bystricky2015-08-161-3/+3
| | | | | | | | | | | | Changes due to IMAGES_FSTYPES "vmdk" and "vdi" now defaulting to ext4. Switching Build Appliance to Ext4 will bring it more in-line with other BSPs. [YOCTO #8096] (From OE-Core rev: 0c747865f761d825c8a9b826d843573e5aac3ca5) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: do_vmdkimg replaced by do_vmimgJuro Bystricky2015-06-111-1/+1
| | | | | | | | | | | | | | As a consequence of adding VDI image support, do_vmdkimg routine has been replaced by a generic do_vmimg routine. This also allows to build the build-appliance for VirtualBox, providing IMAGE_FSTYPES is set to "vdi" (From OE-Core rev: 20600185512a869314cd5b0b97af049ce6df5719) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revision1.8_M3Richard Purdie2015-03-031-1/+1
| | | | | | (From OE-Core rev: 3c78468f12296abd02abce6eeac0f69bc7509958) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2015-02-271-1/+1
| | | | | | (From OE-Core rev: bc393da30306891617adbb5eda5f57c9209ff24f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2015-02-271-1/+1
| | | | | | (From OE-Core rev: 9562c235e8816441594022b4cabb8f77d16d97da) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2015-02-271-1/+1
| | | | | | (From OE-Core rev: b4cbf2da02d7560d65b7e0b862ee9ca86033c2f2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2015-02-241-1/+1
| | | | | | (From OE-Core rev: c578f5d34ce1718aaeb7dcbf3fc014fd48bac5fc) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revision1.8_M2Richard Purdie2015-02-021-1/+1
| | | | | | (From OE-Core rev: 818bcba063819b80d5a99827c5adb8ee157dbfe1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: update to head afe85485fe185b663a1285b5c27de3160bf06cf7Cristian Iorga2015-02-021-1/+1
| | | | | | | | | | | | | Build Appliance includes a more recent version of poky, up to commit: afe85485fe185b663a1285b5c27de3160bf06cf7. Fixes [YOCTO #7228]. (From OE-Core rev: 4d1cfbfde4be2b0f19f40fbf46f880b658afaeb8) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Upgrade for 1.8 MasterSaul Wold2015-01-291-2/+2
| | | | | | | | (From OE-Core rev: 1e21da3877f1d3ce842ae012ac606be363b080c3) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to dizzy head revisionRichard Purdie2014-10-181-1/+1
| | | | | | (From OE-Core rev: 97756472d3a69eaca95d105494ffea78c6b077e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to dizzy head revisionRichard Purdie2014-10-111-1/+1
| | | | | | (From OE-Core rev: fcbd1b19383daf5e160a864df1418130da01be28) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to dizzy head revisionRichard Purdie2014-10-101-1/+1
| | | | | | (From OE-Core rev: 1d2a7e0d4ab91b5ad7d0a1c300ab1da7db49520d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to dizzy head revisionRichard Purdie2014-10-101-1/+1
| | | | | | (From OE-Core rev: 5d0aac8d85d927667c4c26cab53132ff4fa465ff) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>