28179 Commits

Author SHA1 Message Date
Michael Marineau
51115e6f69 Merge pull request #688 from marineam/vagrant
fix(oreos-base/oem-vagrant): Update minimum version to 1.6.0
2014-06-16 16:15:15 -07:00
Michael Marineau
124d3809bb fix(coreos-base/oem-vagrant): Update minimum version to 1.6.0
Commits 24cdca8e and 9d2c0169 added options only in 1.6 and later,
breaking compatibility with older versions. Update the minimum version
to make the resulting error more obvious. :)

The coreos-vagrant project already required 1.6 (although not
explicitly, probably should fix that) so most uses probably won't notice.
2014-06-16 16:02:40 -07:00
Michael Marineau
358c2f4cdd feat(core_promote): Mark old GCE images as deprecated. 2014-06-16 15:49:01 -07:00
Michael Marineau
c64df49948 Merge pull request #683 from marineam/profiles
Setup new image profiles
2014-06-16 14:55:38 -07:00
Michael Marineau
108fdebac2 Merge pull request #274 from marineam/pre-alpha
add(core_pre_alpha): New release script for just posting alpha images.
2014-06-16 13:57:53 -07:00
Michael Marineau
0b052bc756 Merge pull request #276 from marineam/conf
make.conf cleanup
2014-06-16 13:57:50 -07:00
Michael Marineau
b01421992a Merge pull request #273 from marineam/metadata
feat(metadata): Add support for updating ebuild metadata cache
2014-06-16 13:47:09 -07:00
Michael Marineau
e86fd080b2 Merge pull request #277 from marineam/devdata
fix(build_image): Use developer_data as a system config.
2014-06-15 17:26:44 -07:00
Michael Marineau
9d2774af3b fix(build_image): Use developer_data as a system config.
Evaluating this as a user config causes it to block on
coreos-environment-setup.service which will wait on networking. This
makes it hard to add extra tricks for testing/debugging situations where
networking is failing. For example, to trigger dhcpcd if networkd dies:

    #cloud-config

    write_files:
      - path: /etc/systemd/system/systemd-networkd.service.d/dhcpcd.conf
        content: |
          [Unit]
          OnFailure=dhcpcd.service

          [Service]
          Restart=no
2014-06-15 15:41:53 -07:00
Michael Marineau
21e77edce2 Merge pull request #686 from marineam/systemd
Revert back to systemd 212
2014-06-15 13:54:21 -07:00
Michael Marineau
61f61d6479 bump(sys-apps/systemd): Add version 214 for testing
Features the same issues that currently block using 213 but here for
testing purposes.
2014-06-14 21:39:12 -07:00
Michael Marineau
9b73b29eaf chore(sys-apps/systemd): Sync live ebuild with upstream changes.
Only important thing here is that xattr support is now enabled by
default and the libattr dependency is gone. Previously CoreOS didn't
have the feature enabled.
2014-06-14 21:37:14 -07:00
Michael Marineau
061d36aa8d fix(sys-apps/systemd): Add resolv.conf, remove gentoo-integration
This backports commits 18e58b3e9b and 8577b6480b1 from 213 to 212.
2014-06-14 21:37:14 -07:00
Michael Marineau
2bdae7e39e chore(sys-apps/systemd): Roll back to systemd 212
Versions 213 and 214 are not currently usable on GCE:

 - networkd aborts with "Assertion 'link->manager->rtnl' failed"
   https://bugs.freedesktop.org/show_bug.cgi?id=79789

 - persistent naming for virtio devices was removed,
   network devices have returned to the old eth0, eth1, etc. names:
   bf81e792f3
   This re-breaks our copy of the GCE address_manager agent:
   a24dfc97a9/app-emulation/google-compute-daemon/files/0001-hack-address_manager-use-CoreOS-names-and-locations.patch

This reverts commit da3226051f and f179df3449.
2014-06-14 21:09:46 -07:00
Michael Marineau
ebac55cd76 Merge pull request #685 from marineam/init
bump(coreos-base/coreos-init): Updates for empty /etc
2014-06-13 16:08:30 -07:00
Michael Marineau
7f0df85dc0 bump(coreos-base/coreos-init): Updates for empty /etc
Fix some issues for booting without using tmpfiles to setup the root
filesystem in advance. For example this now works reliably:

    mkdir -p c/etc
    cp /etc/os-release c/etc
    ln -s usr/lib64 c/lib
    ln -s usr/lib64 c/lib64
    ln -s usr/bin c/bin
    ln -s usr/sbin c/sbin
    systemd-nspawn --directory=c --bind=/usr --boot
2014-06-13 15:59:28 -07:00
Michael Marineau
7f599ac764 fix(update_chroot): Remove old make.conf symlinks
The old static files are pretty much empty and unused now.
2014-06-12 16:57:54 -07:00
Michael Marineau
99ed29d218 fix(board_setup): Remove old make.conf symlinks
Just use the single auto-generated make.conf, it covers everything now.
2014-06-12 16:53:27 -07:00
Michael Marineau
7ebe966c7b Merge pull request #682 from marineam/systemd
fix(sys-apps/systemd): Fix matching by MAC address
2014-06-12 15:36:43 -07:00
Michael Marineau
eff108a898 feat(profiles): Set proper mask in dev and prod sub-profiles. 2014-06-12 15:17:00 -07:00
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