30859 Commits

Author SHA1 Message Date
Michael Marineau
9295ea0344 feat(profiles): shuffle around some excludes for dev images
Dev images need to be a full build environment but still don't need
extra things like gtk-docs or extra config files. Adjust accordingly.
2014-06-12 15:08:05 -07:00
Michael Marineau
37744a633e fix(sys-apps/systemd): Fix matching by MAC address 2014-06-12 13:53:27 -07:00
Michael Marineau
65efddaa85 Merge pull request #681 from marineam/certs
fix(app-misc/ca-certificates): Never rehash certs during boot.
2014-06-12 13:15:54 -07:00
Michael Marineau
12d093e8b1 fix(app-misc/ca-certificates): Never rehash certs during boot.
This kills the massive time-waster we currently have during boot to
cleanup/refresh OpenSSL's certificate directory in /etc/ssl/certs.
System provided certs are now hashed at build time and tempfiles is used
to install the proper links. The certificate bundle is also created at
build time and provided as a symlink. Since tempfiles does not help us
clean up broken links to certs that have been removed that task has been
moved to clean-ca-certificates.service which is still run on every boot.
The update-ca-certificates.service is now only responsible for
recreating the certificate bundle if required. On systems where the user
has never run update-ca-certificates the certificate bundle is just a
symlink to the copy in /usr and update-ca-certificates.service never
runs on boot. If the user does run update-ca-certificates then
update-ca-certificates.service will rewrite the bundle only if the
directory has not been modified since the last time it ran.

There are a few edge cases where if stale hash links may be left if a
system provided cert was replaced a subject that is different enough to
change the hash but not change the file name. I don't expect that to
ever happen though. Also hash collisions between the system certs and
each other or user provided certs are not handled gracefully but should
be rare. tempfiles will report wrong symlink errors in that case.
2014-06-12 11:43:05 -07:00
Michael Marineau
5f55bcc182 Merge pull request #679 from marineam/systemd
Systemd maintnance
2014-06-11 18:11:54 -07:00
Michael Marineau
5c3eff676d Merge pull request #680 from marineam/hgfs
fix(coreos-base/oem-vagrant): disable VMware's hgfs
2014-06-11 18:11:45 -07:00
Michael Marineau
1f414f4f3b fix(coreos-base/oem-vagrant): disable VBox's shared files 2014-06-11 18:00:50 -07:00
Michael Marineau
015746fd5e fix(coreos-base/oem-vagrant): disable VMware's hgfs
Suggested in https://github.com/coreos/coreos-vagrant/pull/127
2014-06-11 17:45:45 -07:00
Michael Marineau
a775be854a fix(sys-apps/systemd): Add tmpfiles rule for resolv.conf
This path has changed after v213 so it must be handled here instead of
baselayout now.
2014-06-11 17:00:08 -07:00
Michael Marineau
09f3152319 chore(sys-apps/systemd): sync/cleanup systemd ebuilds.
Pull in some updates from upstream Gentoo.
As a follow up to the gentoo-systemd-integration removal prune the now
unused vanilla use flag and our custom openrc use flag along with it.
2014-06-11 17:00:08 -07:00
Michael Marineau
c6e7ff3d55 chore(sys-apps/systemd): Remove old version 2014-06-11 17:00:08 -07:00
Jonathan Boulle
fe2e501b77 chore(systemd): remove gentoo-systemd-integration from systemd build 2014-06-11 17:00:08 -07:00
Michael Marineau
11deb867b8 bump(sys-apps/baselayout): Updates for systemd 2014-06-11 17:00:07 -07:00
Michael Marineau
2aa81abb9d add(core_pre_alpha): New release script for just posting alpha images.
Since moving to the new bucket scheme we haven't been posting alpha disk
images as soon as they were built but it is often useful to post them
before promoting them so people can easily test them.
2014-06-11 13:33:11 -07:00
Michael Marineau
ce6e69ca2b Merge pull request #115 from marineam/metadata
chore(metadata): Regenerate cache
2014-06-10 19:49:25 -07:00
Michael Marineau
32ad96fc9b Merge pull request #677 from marineam/metadata
chore(metadata): Regenerate cache
2014-06-10 19:49:19 -07:00
Michael Marineau
1cc22a0154 Merge pull request #676 from marineam/fix-systemd
fix(sys-apps/systemd): Fix build during stage1 bootstrap.
2014-06-10 19:46:50 -07:00
Michael Marineau
bd7adb6c4f feat(metadata): Add support for updating ebuild metadata cache
New script update_metadata to do a global update of both repos.
Add support to update_ebuilds to do incremental updates when just
pulling new ebuilds into portage-stable.
2014-06-10 18:55:36 -07:00
Michael Marineau
4d6f4d5150 chore(metadata): Regenerate cache 2014-06-10 18:48:57 -07:00
Michael Marineau
76c3deff55 chore(metadata): Regenerate cache 2014-06-10 18:48:56 -07:00
Michael Marineau
d19b2306aa fix(sys-apps/systemd): Fix build during stage1 bootstrap.
stage1 builds disable most use flags but systemd 213 fails to build if
kmod is disabled. Work around this by force-enabling the flag.
2014-06-10 17:27:47 -07:00
Michael Marineau
81045d2921 Merge pull request #272 from marineam/fix-again
fix(setup_board): Got lost in my own if statements :(
2014-06-10 16:04:56 -07:00
Michael Marineau
bb3b7d4fcd fix(setup_board): Got lost in my own if statements :( 2014-06-10 16:00:32 -07:00
Michael Marineau
5b9b95f5ab Merge pull request #675 from marineam/workdir
feat(profiles): Move portage permissions setting out of make.conf
2014-06-10 15:54:15 -07:00
Michael Marineau
a16f056692 feat(profiles): Move portage permissions setting out of make.conf
Developer friendly permissions are fine as the default in CoreOS.
2014-06-10 15:25:35 -07:00
Michael Marineau
b2b0c46c28 Merge pull request #670 from marineam/provided
package.provided and new profiles
2014-06-10 13:54:00 -07:00
Michael Marineau
2165db4eed Merge pull request #674 from marineam/systemd
bump(sys-apps/systemd): Mark 213 as stable.
2014-06-10 13:27:31 -07:00
Michael Marineau
efeaaffe6b bump(sys-apps/systemd): Mark 213 as stable.
Need to just start using this and see what happens. :)
2014-06-10 16:12:15 -04:00
Michael Marineau
0992af818b Merge pull request #271 from marineam/profiles
Profile and config updates
2014-06-10 13:10:16 -07:00
Michael Marineau
9a973e4113 fix(setup_board): Migrate packages in existing board roots. 2014-06-10 15:38:36 -04:00
Michael Marineau
0d29e73534 fix(*): Use binary package for baselayout
It is no longer necessary to use the build USE flag or avoid binary
packages when installing baselayout for the first time.
2014-06-10 14:45:56 -04:00
Michael Marineau
09faef6d02 feat(setup_board): Generate a complete make.conf
Add settings that are currently provided by make.conf.common-target in
coreos-overlay. Most of these are better off being derived directly from
the host environment's portage configuration.

The PKGDIR, TMPDIR, and LOGDIR values are changing to be more consistant
with the SDK configuration but these changes won't take effect until the
old make.conf.common-target is removed since its values override these.
2014-06-10 14:45:56 -04:00
Michael Marineau
93b0ec304a fix(build_library): Remove reference to old SDK profile
The SDK's profile changed to coreos:coreos/amd64/sdk quite a long time
ago. Remove this last reference to it so the alias can be forgotten.
2014-06-10 14:45:56 -04:00
Michael Marineau
9a4ec472ce fix(build_library): Update amd64-usr's portage profile
The usr profile is just an alias to generic now so drop the old name.
2014-06-10 14:45:56 -04:00
Greg Kroah-Hartman
60b210b696 Merge pull request #672 from gregkh/kernel_update
bump(sys-kernel/coreos-kernel): Update to 3.14.6
2014-06-09 21:15:18 -07:00
Greg Kroah-Hartman
0ffbb286a1 bump(sys-kernel/coreos-kernel): Update to 3.14.6 2014-06-09 21:10:04 -07:00
Michael Marineau
460d74b13a Merge pull request #268 from marineam/copy-region
fix(oem/ami): Add option to copy to a single region.
2014-06-09 19:29:44 -07:00
Brian Waldon
84b7743395 Merge pull request #671 from bcwaldon/bump-fleet
bump(fleet): Upgrade to v0.5.0
2014-06-09 19:08:27 -07:00
Brian Waldon
87d28b1464 bump(fleet): Upgrade to v0.5.0 2014-06-09 16:21:57 -07:00
Michael Marineau
4c248dd06c feat(profiles): New generic/dev and generic/prod profiles.
The dev images are going to become complete build environments. Keeping
track of the differences between the two via profiles will be easier
than making the current prod and dev image scripts even more complex.
2014-06-09 15:58:38 -07:00
Michael Marineau
2e47e89048 fix(profiles): gut board package.provided
The intent of this file is to exclude dependencies from both the build
root in /build/amd64-usr and board images that would be pulled in but
aren't actually needed. Many of these are build utilities that need to
be provided by the SDK rather than the build root. The current state is
a bit confusing because we are actually including things like git but it
is also listed here and this somehow works due to version differences.

Additionally dev images will start including a working build environment
soon so may of these tools need to get built after all. To simplify
things everything has been removed except for the few packages that are
would get pulled into production images if it weren't for this file.

packages.provided actually shouldn't be used in this way, instead
controlling dependencies should be done via USE flags and possibly some
day the experimental HDEPEND ebuild variable.
2014-06-09 15:35:33 -07:00
Michael Marineau
2bcb9bfd4f Merge pull request #270 from marineam/legacy
fix(core_promote): fix typo
2014-06-09 15:35:14 -07:00
Michael Marineau
3b72f2d86c fix(core_promote): fix typo 2014-06-09 14:47:25 -07:00
Michael Marineau
fce6ac5d8f fix(profiles): Remove mail provided hack.
Nothing in our system depends on mailbase/ssmtp any more so this
package.provided hack can go away.
2014-06-09 13:50:54 -07:00
Michael Marineau
454a280ed5 Merge pull request #269 from marineam/legacy
feat(core_promote): Copy alpha/beta to legacy bucket as well.
2014-06-09 12:14:53 -07:00
Michael Marineau
2f93bdbd54 fix(oem/ami): Add option to copy to a single region.
It is not uncommon for a single region to fail with some internal server
error or other transient issue. Make it easy to fix up that one region.
2014-06-09 12:12:14 -07:00
Michael Marineau
4b46e7b749 feat(core_promote): Copy alpha/beta to legacy bucket as well.
This replaces a couple of scripts I keep running to sync up the old
download location.
2014-06-09 11:51:59 -07:00
Michael Marineau
5b476734a1 Merge pull request #267 from marineam/containers
fix(disk_util): don't run blkid on empty partitions
2014-06-09 11:38:06 -07:00
Brandon Philips
36cd79167a Merge pull request #669 from philips/docker-1.0
bump(app-emulation/docker): docker 1.0!
2014-06-09 08:55:06 -07:00
Brandon Philips
349568e269 bump(app-emulation/docker): docker 1.0! 2014-06-09 08:17:21 -07:00