Commit Graph

4258 Commits

Author SHA1 Message Date
Geoff Levand
0ef44633ef build_image: Remove enable_verity flag
To make verity work both enable_rootfs_verification and enable_verity
need to be set.  Without one verity just gets half enabled.  Remove
the enable_verity flag and do the full verity setup when
enable_rootfs_verification is set.

Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-12-13 13:46:05 -08:00
Geoff Levand
a7ffba9a9f build_image: Remove disable_read_write variable
The disable_read_write variable was just a copy of FLAGS_enable_rootfs_verification,
so to make things less confusing just use FLAGS_enable_rootfs_verification.

Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-12-13 13:46:05 -08:00
Alex Crawford
f845a97532 Merge pull request #617 from crawford/codename
set_lsb_release: update codename
2016-12-12 18:28:03 -08:00
Alex Crawford
44a9f03df1 set_lsb_release: update codename 2016-12-12 13:57:44 -08:00
Michael Marineau
a2af8649c2 Merge pull request #610 from glevand/for-merge-acpi
grub.cfg: Enable arm64 ACPI
2016-12-06 11:46:12 -08:00
Geoff Levand
acd0566352 grub.cfg: Enable arm64 ACPI
Add a new grub variable extra_options, the contents of which is
added to the linux command line.  Use extra_options to set
the ACPI options needed for arm64.

Signed-off-by: Geoff Levand <geoff@infradead.org>
2016-12-01 10:09:51 -08:00
Alex Crawford
f5345de53e Merge pull request #612 from crawford/ignition
build_library: support ignition in qemu template
2016-11-30 14:42:53 -08:00
Nick Owens
8028b75d4d Merge pull request #615 from mischief/vpc-force-size
build_library: pass force_size when converting disks to vpc
2016-11-29 14:34:21 -08:00
Nick Owens
2b46ddc20c build_library: pass force_size when converting disks to vpc
this stops qemu-img info from choking on vpc-type images made with our
patched qemu.
2016-11-28 17:17:20 -08:00
Alex Crawford
c93416caf2 build_library: support ignition in qemu template 2016-11-22 19:17:42 -08:00
David Michael
2ba6e9c43e Merge pull request #609 from dm0-/fix-jenkins
build_library: remove extract_docs()
2016-11-09 11:54:54 -08:00
David Michael
2dfab3fd79 build_library: remove extract_docs()
Since coreos-doc was removed from coreos-overlay, there are no more
files in /usr/share/coreos/doc, causing this function to fail.
2016-11-09 11:44:11 -08:00
Alex Crawford
1d651dbf96 Merge pull request #608 from crawford/snapshot
oem/ami: make snapshots public
2016-11-02 13:59:15 -07:00
Alex Crawford
ae4e46edeb Merge pull request #607 from crawford/imageVersions
oem/azure: remove deprecated imageVersions field
2016-11-02 13:56:43 -07:00
Alex Crawford
f649a32d48 oem/ami: make snapshots public
This is needed so that users can copy the public AMIs into their own
accounts.
2016-11-02 13:50:36 -07:00
Alex Crawford
ed1c3d8d09 oem/azure: remove deprecated imageVersions field 2016-11-02 12:12:45 -07:00
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