summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/images
Commit message (Collapse)AuthorAgeFilesLines
* build-appliance-image: Update to pyro head revisionyocto-2.3.3pyro-17.0.3Richard Purdie2017-12-141-1/+1
| | | | | | (From OE-Core rev: 10a75d2f1004c4cdf3fbe850c41ff47721eb139a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to pyro head revisionyocto-2.3.1pyro-17.0.1Richard Purdie2017-07-121-1/+1
| | | | | | (From OE-Core rev: beab5b357cd46094b1c376c47d04e8d0de73e1e3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance: Set to pyro release branchRichard Purdie2017-07-121-1/+1
| | | | | | (From OE-Core rev: 48b61abac098f180c37e11facd32f3bfa007254e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to pyro head revisionRichard Purdie2017-07-121-1/+1
| | | | | | (From OE-Core rev: 3a2b434ea95612ed52ec9edfd809d87cb5c086be) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionyocto-2.3pyro-17.0.0Richard Purdie2017-05-011-1/+1
| | | | | | (From OE-Core rev: 123962018251dfb1d6ca5aa5c0d02534007de3ab) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2017-04-291-1/+1
| | | | | | (From OE-Core rev: 4fe59183dae7c556363bc885cfda11a38c0d2d47) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2017-04-291-1/+1
| | | | | | (From OE-Core rev: 766bef5755521960e24ed7192214bf66bbee8354) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2017-04-211-1/+1
| | | | | | (From OE-Core rev: e584be78f92ee6f08f570c239698d56ac78d05f9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2017-04-201-1/+1
| | | | | | (From OE-Core rev: 0126fe8934ecae3c91e441c4e1f5a86a15837679) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2017-04-201-1/+1
| | | | | | (From OE-Core rev: 0b8167fa3e792dac272e24e3f06af88ada90ff14) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: ensure pod2man present in BAJuro Bystricky2017-03-161-1/+1
| | | | | | | | | | | | | | | | | | "pod2man" went missing from BA, but it is required. This patch fixes the Toaster error: <...> ERROR: These tools appear to be unavailable in PATH, please install them in order to proceed: pod2man <...> [YOCTO#11144] (From OE-Core rev: 562c184d52db2182eafde3cf9866606145784deb) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: fix build errorsJuro Bystricky2017-03-161-0/+2
| | | | | | | | | | | | Remove any symlinks before creating new ones to avoid potential build errors such as: FileExistsError: [Errno 17] File exists: '../../usr/src/kernel' -> ... ' (From OE-Core rev: 376aa835dd70e646a00706272db6f5ac7f419ce7) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: use pip3-nativeJuro Bystricky2017-03-161-2/+4
| | | | | | | | | | | | | Do not rely on pip3 being installed on the host. Use pip3-native instead. [YOCTO#10909] [YOCTO#11022] (From OE-Core rev: 0c349f06b6b026e9bbd3e9a8188e3d8645fd00d9) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* run-postinsts: simplify the logic of whether to install it to imagesAlexander Kanavin2017-03-141-1/+1
| | | | | | | | | | The logic is scattered all over the place, but amounts to "install, unless the rootfs is read only". Let's express that directly. (From OE-Core rev: 697804229a172125ce7d3bfc9b343812d6fe3240) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revision2.3_M2Richard Purdie2017-02-011-1/+1
| | | | | | (From OE-Core rev: 303868c8976523342026817c6aa1a04ce0408c5d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-tiny-initramfs: Fix error message shown after a successful initrd ↵Alejandro Hernandez2017-01-311-0/+12
| | | | | | | | | | | | | | | boot When booting core-image-tiny-initramfs, since we want to live on initrd, on purpose, we never find a rootfs image to switch root to, this causes init to show an error as it would with other images, this patch replaces the message shown to the user, avoiding confusion when it was indeed a successful boot. (From OE-Core rev: 3378c322247f5c261f40d06480379da9a24e3082) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image-tiny-initramfs: Add and image creating image artifacts onlyTom Zanussi2017-01-311-0/+30
| | | | | | | | | | | | | | | | Add an image that simply creates image artifacts using image-live-artifacts support instead of creating an actual image. The image artifacts can then be subsequently assembled by an external tool such as wic to create an actual image. This eliminates redundant image creation when using such tools. (From OE-Core rev: 97237259a9acb9a1511823914dea52b9719fbafd) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2017-01-231-1/+1
| | | | | | (From OE-Core rev: 40463f9d806b478a887128345a66135ef6fa2fe8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: support for ToasterJuro Bystricky2017-01-162-3/+93
| | | | | | | | | | | | | | | | | | | | | | | Various changes needed to enable to run Toaster in the Build Appliance: 1. Pre-install packages as specified by the file "bitbake/toaster-requirements.txt" 2. Include pip3 in the image 3. Include tzdata in the image (needed by django) 4. Bump SRCREV to a commit with proper settings.py (ALLOWED_HOSTS) for Django 1.8.16 5. Added README_VirtualBox_Toaster.txt to provide steps for configuring VirtualBox network adapters (NAT or Bridged) and steps to launch Toaster [YOCTO#10767] (From OE-Core rev: dffbac64bbf86c91247ba7373b3b5bd6af24103f) 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: Fix incorrect PATHJuro Bystricky2016-11-061-1/+1
| | | | | | | | | | | | | | | | | When modifying the PATH variable in .bashrc, double quote characters were used, resulting in expanding the variable $PATH with the value of PATH of the system building the Build Appliance. The original intent was to enter an un-expanded (literal) $PATH. In order to that, one must use single quotes instead of double quotes. [YOCTO#10434] [YOCTO#10504] (From OE-Core rev: 6238faf901956e2a350315a66ca1ce557deaa513) 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 revisionRichard Purdie2016-10-261-1/+1
| | | | | | (From OE-Core rev: 0e651676817a0513abf50741d0ba28b35edbae09) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: add /sbin to PATHJuro Bystricky2016-10-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | runqemu script fails with an error when executed in Build Appliance. Typical use case: $ bitbake core-image-minimal $ runqemu qemux86 Observed error: runqemu - ERROR - In order for this script to dynamically infer paths ...snip... runqemu-ifup, runqemu-ifdown or ip not found The error is caused by the fact that "ip" is located in /sbin, however /sbin is not in user's ("builder") PATH. To fix this we add /sbin to PATH. The simplest place to do this is in user's .bashrc. [YOCTO#10434] (From OE-Core rev: 7561514454c20a86e9e126af80dcf114ccd23535) 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 revisionRichard Purdie2016-10-191-1/+1
| | | | | | (From OE-Core rev: 327e4bf5a84d5b49ccc65927df622c9ef6302d55) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2016-10-111-1/+1
| | | | | | (From OE-Core rev: 1a2311c8fa9a3703568cd390c44639fe3335023e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2016-10-111-1/+1
| | | | | | (From OE-Core rev: 70b9b1f5bbc07d97f90b62793bf2c5aa01884436) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to master head revisionRichard Purdie2016-10-111-1/+1
| | | | | | (From OE-Core rev: c33cd0b3d274d2c4253ff98f85b7ca4fced0aedb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* 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>