Commit Graph

4592 Commits

Author SHA1 Message Date
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
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