Commit Graph

3767 Commits

Author SHA1 Message Date
Nick Owens
7f7ddb4857 kernel_menuconfig: fix name of kernel package for split scheme 2016-06-23 13:23:03 -07:00
Michael Marineau
c7818adf2f Merge pull request #561 from marineam/status
*: Fix PIPESTATUS checks for bash 4.3
2016-06-22 13:57:00 -07:00
Michael Marineau
8ce4a15555 Merge pull request #558 from marineam/baselayout
prod_image_util: move pam.d contents, not the directory
2016-06-13 14:54:17 -07:00
Michael Marineau
7ccb981797 prod_image_util: move pam.d contents, not the directory
The baselayout package now creates and installs /usr/lib/pam.d, causing
mv to fail. Move the contents instead which is happy with both versions.
2016-06-13 14:49:41 -07:00
Alex Crawford
a71d3af739 Merge pull request #557 from crawford/azure
oem/azure: fixes for new regions
2016-06-11 09:51:21 -07:00
Alex Crawford
adf4349203 oem/azure: split on newlines instead of whitespace
Some of the regions have spaces in the name. This causes problems when
we build the XML list of regions.
2016-06-11 09:27:36 -07:00
Alex Crawford
c6ff07a29f oem/azure: normalize endpoint prefixes
Some regions lead with a '.' and others do not...
2016-06-11 09:25:58 -07:00
Alex Crawford
93fc3cad4b Merge pull request #556 from crawford/publish
oem/azure: make compatible with multiple regions
2016-06-10 16:43:33 -07:00
Alex Crawford
0cc64350da oem/azure: dynamically determine regions
Rather than keeping this list up-to-date, we should just publish
everywhere we can.
2016-06-10 16:32:05 -07:00
Alex Crawford
f221bcf20e oem/azure: dynamically determine storage endpoint
Apparently this differs between clouds.
2016-06-10 16:20:56 -07:00
Michael Marineau
ad6bb62866 Merge pull request #550 from marineam/export
enter_chroot: do not export variables that weren't previously exported
2016-06-10 14:44:37 -07:00
Michael Marineau
faec6377d1 Merge pull request #545 from marineam/tag-branch
tag_release: support branches, add a branch tracking manifest, cleanup version
2016-06-10 14:26:18 -07:00
Alex Crawford
b6c6c89bbc Merge pull request #555 from crawford/mktemp
oem: inflate images into /var/tmp
2016-06-09 09:20:31 -07:00
Alex Crawford
67b4b17b22 oem: inflate images into /var/tmp
tmpfs shouldn't be used for large images like this. Inflate the archives
on disk instead.
2016-06-08 17:42:53 -07:00
Alex Crawford
fe6fee210b Merge pull request #554 from crawford/azure-gallery
oem/azure: update script for new publishing schema
2016-06-08 14:37:51 -07:00
Alex Crawford
d4ca12b8b9 oem/azure: update script for new publishing schema
This will only save the latest five images in the registry.
2016-06-08 10:58:42 -07:00
Michael Marineau
d4a38a5a73 Merge pull request #553 from marineam/appid
set_lsb_release: use an alternate app id for arm64
2016-06-01 15:28:36 -07:00
Michael Marineau
e3a24c3867 set_lsb_release: use an alternate app id for arm64
update_engine and CoreUpdate aren't quite ready, use an alternate id so
we can continue testing but not mistakenly serve amd64 updates to arm64.
2016-06-01 15:12:50 -07:00
Alex Crawford
05c491d333 Merge pull request #552 from crawford/core_date
core_date: add help message
2016-06-01 15:02:38 -07:00
Alex Crawford
8dcc2df10c core_date: add help message 2016-06-01 14:57:33 -07:00
Michael Marineau
8e754f9c2b enter_chroot: do not export variables that weren't previously exported
COREOS_BUILD_ID is set to a default value in common.sh if unset in the
environment. When entering the chroot this default value should not then
get promoted into the environment. Doing so causes catalyst to re-use
stale builds and multiple build_image runs to conflict with each other.
2016-05-25 17:04:38 -07:00
Michael Marineau
39c3ec9490 Merge pull request #549 from coreos/revert-538-gentoo
Revert "*: drop obsolete gentoo repo reference"
2016-05-24 19:31:50 -07:00
Michael Marineau
8eceddd54f Revert "*: drop obsolete gentoo repo reference" 2016-05-24 14:20:43 -07:00
Michael Marineau
20441a83c9 Merge pull request #548 from marineam/glsa
glsa-check: simplify and respect current root being tested
2016-05-19 10:39:09 -07:00
Michael Marineau
c535cd3bbb glsa-check: simplify and respect current root being tested 2016-05-19 10:22:31 -07:00
Nick Owens
c7ab74a7ea Merge pull request #546 from mischief/glsa-sync
update_ebuilds: allow glsa sync and ignore metadata if so
2016-05-18 17:21:55 -07:00
Matthew Garrett
9a3c5a9d2e Merge pull request #547 from mjg59/glsa
Verify GLSA status when building packages
2016-05-17 16:49:36 -07:00
Matthew Garrett
922554303b check_root: Verify that we don't have any applicable GLSA
Once we've built the packages, verify against the Gentoo Linux Security
Advisories to ensure that we're not shipping anything with known
vulnerabilities.
2016-05-17 16:39:40 -07:00
Matthew Garrett
9e64bef513 setup_board: create a glsa-check wrapper
We want to be able to verify that we don't have any vulnerabilities in the
build root, so install a wrapper for glsa-check
2016-05-17 16:39:40 -07:00
Nick Owens
f3ef3c1ee1 update_ebuilds: allow glsa sync and ignore metadata if so 2016-05-17 11:30:17 -07:00
Michael Marineau
31a479553b tag_release: support branches, add a branch tracking manifest
To make branches easier to use this splits the branch manifest into two:
build-????.xml is now only pins revisions of projects that do not have a
corresponding branch (yet) while release.xml pins all revisions. Unlike
before the script can now be used to tag branched releases.

The step to switch any particular project to a branch is still manual
but that will be a simple future expansion. First this will be migrated
to Go though, this script has hit the limit of sophistication that
should be attempted with mixing XML and bash. ;-)
2016-05-15 17:49:43 -07:00
Michael Marineau
f60d2762c2 tag_release: remove old BUILD/BRANCH/PATCH values
These old names are left over from ChromeOS and never really made sense
for us. The last things using them were fixed up a while ago.
2016-05-15 16:28:34 -07:00
Nick Owens
9b8a4ca434 Merge pull request #544 from mischief/jenkins
initial import of public jenkins jobs
2016-05-12 15:36:09 -07:00
Nick Owens
aa3fed014e Merge pull request #543 from mischief/arm64-grub-name
build_library: make arm64 grub file name match x86_64
2016-05-12 14:55:30 -07:00
Nick Owens
281f85941f initial import of public jenkins jobs 2016-05-12 14:34:55 -07:00
Nick Owens
d935a8aca0 build_library: make arm64 grub file name match x86_64 2016-05-12 13:09:46 -07:00
Nick Owens
bb800cff86 Merge pull request #542 from mischief/arm-grub-fix
build_library: fix grub loader copy for arm64
2016-05-12 12:14:41 -07:00
Nick Owens
1fd668ef0d build_library: fix grub loader copy for arm64 2016-05-12 12:05:11 -07:00
Michael Marineau
ccafb1b3a5 Merge pull request #541 from marineam/drop-dev-channel
tag_release: drop pushing to old dev-channel branch
2016-05-11 11:24:29 -07:00
Michael Marineau
15988a936a tag_release: drop pushing to old dev-channel branch 2016-05-11 11:09:39 -07:00
Michael Marineau
ebbc2c3b04 Merge pull request #537 from aogier/debian-genisoimage
add support for genisoimage
2016-05-10 12:23:20 -07:00
Michael Marineau
8bfd994f3f Merge pull request #534 from glevand/for-merge-build
build_image: Fix image type conditional
2016-05-10 12:20:07 -07:00
Michael Marineau
2e6c2212c7 Merge pull request #539 from marineam/grub
Fix arm64 image builds with an empty board root
2016-05-10 12:19:03 -07:00
Michael Marineau
9a468bf37d vm_image_util: ensure UEFI firmware is installed before reading it 2016-05-10 12:02:56 -07:00
Michael Marineau
44e86ecdaa update_chroot: do not reconfigure/rebuild the SDK's GRUB for arm64
Now built/installed under the board root instead.
See https://github.com/coreos/coreos-overlay/pull/1950
2016-05-10 12:02:56 -07:00
Michael Marineau
4d97d2752d grub_install: use GRUB installed to the board root instead of SDK
Follow up to https://github.com/coreos/coreos-overlay/pull/1950
2016-05-10 12:02:56 -07:00
Michael Marineau
d5cb907947 grub_install: drop old/unused esp_dir flag 2016-05-10 10:56:21 -07:00
Michael Marineau
866c11ac33 Merge pull request #538 from marineam/gentoo
*: drop obsolete gentoo repo reference
2016-05-08 19:42:10 -07:00
Michael Marineau
632d578b56 *: drop obsolete gentoo repo reference
Instead of patching portage to support the `disabled` flag now we just
patch it to leave the `[gentoo]` section out of the default repos.conf.

Follow up to 585275b268
2016-05-08 19:31:02 -07:00
Alessandro -oggei- Ogier
fbe60fa3fb adding support for debian genisoimage 2016-05-06 19:32:37 +02:00