Commit Graph

4592 Commits

Author SHA1 Message Date
Michael Marineau
bc82a8185b Merge pull request #606 from marineam/drop-1010
build_jobs: drop old hack for 1010 branch
2016-10-27 14:45:11 -07:00
Michael Marineau
a5c0973c24 build_jobs: drop old hack for 1010 branch
Not applicable to these scripts which do not build branches other than
their own. Plus the 1010 branch is dead now anyway.
2016-10-27 14:28:12 -07:00
Michael Marineau
b0a114c4db Merge pull request #605 from marineam/fix-parallels
build_library: set parallels build scripts as executable
2016-10-27 13:33:12 -07:00
Michael Marineau
e40d0702f7 Merge pull request #604 from marineam/jobs
build_jobs: make scripts executable
2016-10-27 13:33:00 -07:00
Michael Marineau
6b2267bc93 build_library: set parallels build scripts as executable 2016-10-27 13:27:30 -07:00
Michael Marineau
579ba4f631 build_jobs: make scripts executable
These scripts can be executed directly by jenkins now. In order to
migrate gracefully the existing jobs are being updated with the
following for compatibility with things before and after this commit.

    if [[ -x ./src/scripts/build_jobs/02_sdk.sh ]]; then
      exec ./src/scripts/build_jobs/02_sdk.sh
    fi
2016-10-27 13:14:25 -07:00
Michael Marineau
f4f889bc0a Merge pull request #603 from marineam/jobs
build_jobs: split minimal prefix out of job scripts
2016-10-26 11:52:03 -07:00
Michael Marineau
c36929adce Merge pull request #599 from bassamtabbara/parallels-support
add support for Parallels Desktop VM images
2016-10-26 11:17:51 -07:00
Michael Marineau
007b57e6e5 build_jobs: split minimal prefix out of job scripts
The chroot update/creation step must live in Jenkins but after that the
jobs can use these scripts. A template is provided in stub.sh
2016-10-26 10:52:46 -07:00
Bassam Tabbara
b0bf230433 add support for Parallels Desktop VM images
Two new image types have been added:

1. parallels - this produces VM images with extension pvm.tgz that can be loaded directly into Parallels Desktop
2. vagrant_parallels - this produces a Vagrant box that works with parallels vagrant provider (http://parallels.github.io/vagrant-parallels/)

Just like vmdk and others we rely on qemu-img to convert raw images. Support for Parallels disk images was added to qemu-img in version 2.4.

I also removed the box files from the actual image since there are not needed in /usr/share/oem.

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
2016-10-26 09:25:45 +02:00
Michael Marineau
a44dd03366 Merge pull request #601 from marineam/verity
build_image: re-enable verity by default
2016-10-25 12:41:02 -07:00
Michael Marineau
f7ef59dd9e Merge pull request #602 from marineam/jobs
build_jobs: import current jenkins build scripts
2016-10-21 16:05:44 -07:00
Michael Marineau
7a2fbfe67d build_jobs: import current jenkins build scripts 2016-10-21 13:45:12 -07:00
Michael Marineau
edfc39c2af build_image: re-enable verity by default 2016-10-20 15:02:54 -07:00
Alex Crawford
7876b6bb10 Merge pull request #600 from crawford/regions
oem/ami: add us-east-2
2016-10-19 14:14:51 -07:00
Alex Crawford
187a922110 oem/ami: add us-east-2 2016-10-19 14:12:31 -07:00
Alex Crawford
f8e0e7c618 Merge pull request #597 from crawford/download
offline_signing: add support for different boards
2016-10-19 14:11:09 -07:00
David Michael
61b6ac2d89 Merge pull request #593 from dm0-/bugs-1468
Add OEM ACI building support
2016-10-18 12:47:52 -07:00
David Michael
5b640e79fd image_to_vm: build and install a GCE agent ACI 2016-10-18 11:37:45 -07:00
David Michael
e715a9ca3c image_to_vm: support generating and installing an OEM agent ACI
The ACI root is created by reusing the create_prod_image function
to install a base meta-package.  It then runs a script to customize
the file structure as required by agent software (if necessary),
writes a manifest file from a supplied template, and then packages
it all into a tar file.
2016-10-18 11:37:33 -07:00
Michael Marineau
7dcf071100 Merge pull request #577 from dit4c/fix-check-etag
Force HTTP/1.0 in fix_check_etag.sh
2016-10-13 17:30:28 -07:00
Tim Dettrick
449a01ea63
Handle HTTP/2 different ETag header output 2016-10-14 09:37:28 +10:00
redbeard
75af319f4d Merge pull request #598 from glevand/for-merge-glance
glance_load: Add board argument
2016-10-12 13:56:45 -07:00
Geoff Levand
c78eae992a glance_load: Add board argument
Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-10-12 09:45:04 -07:00
Alex Crawford
784c276957 roller_upload: fix spacing 2016-10-11 12:51:39 -07:00
Alex Crawford
e39aec3785 offline_signing: add support for different boards 2016-10-11 12:51:39 -07:00
Michael Marineau
b2bf0021ea Merge pull request #594 from marineam/disable-verity
build_image: disable verity again
2016-10-10 14:23:46 -07:00
Michael Marineau
4ed9a1a2a5 build_image: disable verity again
The Xen loader in GRUB never received support for our hacky scheme of
adding the verity hash to the kernel cmdline. Disable till that's fixed.

Partially reverts 2016567 and 533b1b9.
2016-10-10 14:08:05 -07:00
Michael Marineau
257121f734 Merge pull request #591 from marineam/utf-8
build_image: generate C.UTF-8 locale
2016-10-10 12:39:18 -07:00
Michael Marineau
80b6905e1a Merge pull request #590 from marineam/verity
build_image: always enable verity when /usr is read-only
2016-10-03 11:22:34 -07:00
Michael Marineau
533b1b9b02 build_image: always enable verity when /usr is read-only
Consolidates two very similar flags into one and fix an issue where
verity could get enabled in the GRUB config when rootfs verification was
turned off (e.g. on arm64 which cannot use verity yet).
2016-09-30 15:35:10 -07:00
Michael Marineau
9ed9ff7b45 build_image: generate C.UTF-8 locale 2016-09-30 15:24:32 -07:00
Michael Marineau
386341878f Merge pull request #589 from marineam/verity
build_image: enable verity by default
2016-09-29 14:27:00 -07:00
Michael Marineau
2016567d6f build_image: enable verity by default 2016-09-28 17:06:30 -07:00
Michael Marineau
29e35fe28a Merge pull request #588 from marineam/nobz2
offline_signing: vmlinuz is not bz2 compressed
2016-09-26 13:50:24 -07:00
Michael Marineau
d6b951c416 offline_signing: vmlinuz is not bz2 compressed 2016-09-26 13:44:45 -07:00
Michael Marineau
b89585a573 Merge pull request #587 from marineam/pcr
build_image: dev images/containers no longer have pcr data
2016-09-21 22:26:05 -07:00
Michael Marineau
ed3c8637f6 build_image: dev images/containers no longer have pcr data
Broken by 1092afd which missed that dev images and containers were also
uploading pcr data despite it not really being applicable to those.
2016-09-21 21:18:15 -07:00
Michael Marineau
b7d3e99fb8 Merge pull request #586 from marineam/kernel
Include kernel in update payloads
2016-09-19 13:08:31 -07:00
Michael Marineau
5da26fa912 offline_signing: include kernel in official updates 2016-09-19 12:14:24 -07:00
Michael Marineau
1092afd240 build_image: clean up PCR policy generation
Pass as an argument to finish_image like most other things.
2016-09-19 12:09:47 -07:00
Michael Marineau
300722d7cb build_image: include kernel in --generate_update payloads 2016-09-19 11:41:41 -07:00
Michael Marineau
14eb89a5dc build_image: publish kernel along with base image for generating updates 2016-09-19 11:41:30 -07:00
Alex Crawford
e89fa7f0fc Merge pull request #585 from crawford/ec2
grub: rename oem_id variable
2016-09-14 16:33:50 -07:00
Alex Crawford
9da4c52f8e grub: rename oem_id variable
It's confusing to overload the oem_id variable with both the OEM ID and
the full kernel parameter.
2016-09-14 15:36:55 -07:00
Alex Crawford
a761a05db0 Merge pull request #581 from crawford/release
tag_release: operate on copy of manifest.xml
2016-08-24 23:27:17 -07:00
Alex Crawford
c15f56113c Merge pull request #582 from crawford/ubuntu
catalyst: workaround for bootstrap_sdk on Ubuntu
2016-08-24 16:22:02 -07:00
Alex Crawford
95de8f428f tag_release: operate on copy of manifest.xml
Without this, repo will sometimes empty the contents of manifest.xml.
2016-08-24 16:21:23 -07:00
Bassam Tabbara
cbb4256a80 catalyst: workaround for bootstrap_sdk on Ubuntu
workaround for bootstrap_sdk on an Ubuntu host where /dev/shm is a
symlink to /run/shm. Since we mount the hosts /dev (for losetup) this
interferes with building python 2.7. The workaround is to disable the
/dev/shm during python builds. A longer term fix would be to not mount
the hosts /dev. Thanks for marineam for suggesting the fix on IRC.
2016-08-23 16:40:41 -07:00
Matthew Garrett
6e905abd6b Merge pull request #580 from mjg59/menuconfig_common
menuconfig: Handle shared architecture configuration
2016-08-16 16:30:15 -07:00