Commit Graph

4258 Commits

Author SHA1 Message Date
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
Matthew Garrett
810922e465 menuconfig: Handle shared architecture configuration
Handling configuration changes across multiple architectures is difficult.
Let's just generate a diff in the config and then apply that to the arch or
common config manually.
2016-08-16 15:45:59 -07:00
Michael Marineau
b94a16253a Merge pull request #575 from marineam/grub
grub: abort boot if gptprio fails
2016-08-10 17:38:22 -07:00
Alex Crawford
a1436a9a1c Merge pull request #578 from crawford/ap-south
oem/ami: add aki for ap-south-1
2016-08-05 12:01:24 -07:00
Alex Crawford
e0293549bd oem/ami: add aki for ap-south-1
pv-grub-hd0_1.04-x86_64.gz
2016-08-05 11:09:38 -07:00
Michael Marineau
7012375023 grub: abort boot if gptprio fails
If the gptprio.next command fails to give us something to boot we
shouldn't try! In order to diagnose why the failure happened halt
immediately so the user can see the error message.
2016-07-20 17:54:37 -07:00
Michael Marineau
c49cb200fc Merge pull request #574 from marineam/ami
oem/ami: fix call to update_json.sh
2016-07-18 14:43:21 -07:00
Michael Marineau
79739723df Merge pull request #571 from marineam/rebuild
rebuild_packages: new script to catch all ebuild modifications
2016-07-18 14:24:01 -07:00
Michael Marineau
842260f231 oem/ami: fix call to update_json.sh
Minor mistake in 8f0bd3148 :(
2016-07-18 14:23:24 -07:00
Michael Marineau
2858074a8b Merge pull request #573 from marineam/ami
oem/ami: write ami index files to storage after copy
2016-07-18 13:24:00 -07:00
Michael Marineau
8f0bd31486 oem/ami: write ami index files to storage after copy
Since this writes to private storage there isn't any need to wait until
the images are public to do this. Now the final publish step only
changes permissions on the AMIs and nothing more.
2016-07-18 13:05:13 -07:00
Michael Marineau
951eba86dd Merge pull request #572 from marineam/preserve
build_packages: fix @preserved-rebuild
2016-07-14 14:44:39 -07:00
Michael Marineau
f8c7dc1233 Merge pull request #559 from dylancarlson/roadmap
ROADMAP.md: removed.
2016-07-14 13:26:24 -07:00
Michael Marineau
58783b6e72 Merge pull request #562 from mischief/kernel-ebuild
kernel_menuconfig: fix name of kernel package for split scheme
2016-07-14 13:25:26 -07:00
Michael Marineau
aed5e0d526 build_packages: fix @preserved-rebuild
When the --usepkgonly flag was added in d327840ce this step got wrapped
in an inverted test. It should normally be enabled.
2016-07-13 22:55:19 -07:00
Michael Marineau
a3a8b91c31 rebuild_packages: new script to catch all ebuild modifications
This is a bit of a hack, I would like something a little more
intelligent that checks for applicable metadata changes, not just any
old change in the ebuild text. That will require a bit more work/thought
and this should at least be sufficient to catch the current problems.

The issue comes down to how emerge's --usepkgonly mode works. Normally
KEYWORDS and (R)DEPEND metadata in ebuilds is used to figure out what to
install. If that metadata in the installed or binary packages is is out
of date things generally work out anyway. However when --usepkgonly is
enabled (such as in build_image) the ebuild metadata is ignored, using
only the installed and binary package metadata. Unfortunately it may be
out of date, allowing build_image to fail or otherwise behave
differently from build_packages. Perhaps there is a nice tool for
rebuilding such stale packages but emerge itself doesn't appear to.

This script should only be run after build_packages.
2016-07-13 22:18:05 -07:00
Nick Owens
6ee2093f02 Merge pull request #567 from mischief/grubmods
tftp/linux module for grub
2016-07-06 17:53:43 -07:00
Nick Owens
ff124fce3d build_library: add linux module to grub for arm64 2016-07-06 17:14:02 -07:00
Nick Owens
14e90df8d5 build_library: add tftp module to grub 2016-07-06 17:13:28 -07:00
Alex Crawford
9165182212 Merge pull request #565 from dit4c/fix-glance-load
Glance image API v1 must now be explicitly specified by the client
2016-07-05 13:37:19 -07:00
Nick Owens
eb61b470e3 Merge pull request #566 from mischief/kernel-menuconfig
kernel_menuconfig: fix package name for kernel config
2016-07-05 13:08:03 -07:00
Nick Owens
7d58d9b3ef kernel_menuconfig: fix package name for kernel config 2016-07-05 12:09:30 -07:00
Tim Dettrick
c61ce66b4a
Glance image API v1 must now be explicitly specified by the client 2016-07-04 15:41:18 +10:00
Alex Crawford
ace08a3cbe Merge pull request #563 from crawford/azure
oem/azure: update gallery metadata for all regions
2016-06-28 10:22:24 -07:00
Alex Crawford
4b9e523b4b oem/azure: update gallery metadata for all regions 2016-06-27 12:29:56 -07:00
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
Dylan Carlson
e01c1cee92 ROADMAP.md: removed.
Planned features will be communicated via other channels.
2016-06-14 10:41:19 -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