30045 Commits

Author SHA1 Message Date
Michael Marineau
f891859df3 fix(sys-apps/systemd): Don't prune systemd dirs (take 2)
Commit 591dd523 mistakenly did not apply the same change to the live
ebuild. After this the live build includes most things the stable does.
2014-05-28 15:58:47 -07:00
Michael Marineau
0e447a7c06 Merge pull request #262 from marineam/buckets
fix(build_library): Finish conversion to new bucket layout.
2014-05-28 14:54:23 -07:00
Michael Marineau
d408e3c1f5 fix(build_library): Finish conversion to new bucket layout.
I started to move board files under a boards/ directory similar to how
the SDK is under sdk/ but didn't do so everywhere. This should finish
the job so everything is consistent now.

Note: This prefix is only used in developer and buildbot uploads. When
final releases are copied to $channel.release.core-os.net it doesn't use
the prefix since a) I already published urls without the prefix and b)
no sdk files are ever posted to the public release locations.
2014-05-28 14:47:30 -07:00
Michael Marineau
19c98f76fd Merge pull request #643 from marineam/gce
feat(coreos-base/oem-gce): Add a message about the cloud sdk container
2014-05-28 14:28:05 -07:00
Michael Marineau
b3cf93c6dc feat(coreos-base/oem-gce): Add a message about the cloud sdk container
Since it isn't simple for us to provide the Python based Google Cloud
SDK tools users should be directed to the Docker container instead.

Also fix the bug report URL, not that anyone looks at it... :)
2014-05-28 13:40:45 -07:00
Michael Marineau
18d796ff3e fix(sdk-lib): Mount a fresh /run directory.
There is no need to arbitrarily bind mount all of the host system's /run
into the chroot. In fact this causes issues when the host system's /run
isn't set up in a way this script anticipates. Namely the user runtime
directory in /run/usr/$UID is another tmpfs mount on my system, leaving
the underlying directory node that is bind-mounted in with the wrong
ownership. Behave a little more like a responsible container and use a
fresh /run but continue binding /run/shm for whatever versions of Ubuntu
that depended on that behavior. Not strictly needed but go ahead and
create the user runtime directory with the correct permissions.
2014-05-27 19:26:34 -07:00
Michael Marineau
f2f74b3423 fix(sdk_lib): Clean up ssh file copying
- Don't copy known_hosts if it doesn't exist.
- Don't bother with copying *.pub, not sure what that was for.
- Don't rewrite .ssh/config to remove internal Google ssh options.
2014-05-27 17:32:58 -07:00
Michael Marineau
796be0a520 fix(sdk_lib): Test for host file existence before copying.
The main case here is /etc/hosts does not exist on CoreOS. In the
process combine related and duplicate code. Setting the timezone now
happens in entire_chroot like hosts and resolv.conf. Don't bother with
setting a default UTC time zone, that is already the default.
2014-05-27 17:32:54 -07:00
Michael Marineau
57f65add2b Merge pull request #260 from marineam/repo
fix(sdk_lib): Remove depot_tools mount
2014-05-27 17:06:53 -07:00
Michael Marineau
7b89e4e813 feat(sys-apps/baselayout): Stop changing the core user's UID
The SDK does not set the `symlink-usr` flag so it has stuck with the old
amd64-generic behavior of setting the core user's UID to 1000. In order
to make running the SDK on CoreOS reasonably sane switch to 500 on both.
2014-05-27 17:01:20 -07:00
Michael Marineau
47daca491c fix(sdk_lib): Remove depot_tools mount
We now include repo in the SDK which was the only thing from depot_tools
that we depended on.
2014-05-27 16:39:49 -07:00
Michael Marineau
51089609e7 Merge pull request #638 from marineam/repo
Install repo wrapper in SDK and dev images
2014-05-27 16:38:04 -07:00
Michael Marineau
6c566ea676 feat(coreos-devel/sdk-depends): Add repo to SDK tarballs 2014-05-27 16:09:35 -07:00
Michael Marineau
f7d2dabbe4 feat(coreos-base/coreos-dev): Add repo to dev images/containers. 2014-05-27 16:07:25 -07:00
Michael Marineau
60b2b401f9 churn(coreos-dev/coreos-dev): Clean up dev package list a little. 2014-05-27 16:05:33 -07:00
Michael Marineau
7f1fe4edb4 add(dev-vcs/repo): Add ebuild for repo wrapper script. 2014-05-27 15:56:34 -07:00
Michael Marineau
fa42eee57d Merge pull request #636 from marineam/bump
bump(coreos-base/coreos-cloudinit): Bugfixes for cloudinit
2014-05-27 14:16:41 -07:00
Michael Marineau
bf4b1e9158 bump(coreos-base/coreos-cloudinit): Bugfixes for cloudinit 2014-05-27 14:06:59 -07:00
Michael Marineau
5727ea4214 Merge pull request #259 from marineam/disk
fix(disk_layout): Bump up default ROOT volume sizes for btrfs.
2014-05-27 11:53:42 -07:00
Michael Marineau
563657eddd Merge pull request #634 from marineam/gce2
Small GCE updates
2014-05-27 11:53:27 -07:00
Brian Waldon
352d0c5ac2 Merge pull request #635 from bcwaldon/bump-fleet
bump(fleet): Upgrade to v0.4.0
2014-05-27 11:52:36 -07:00
Brian Waldon
0c1d0690c2 bump(fleet): Upgrade to v0.4.0 2014-05-26 16:02:21 -07:00
Michael Marineau
65009fe201 bump(coreos-base/coreos-init): Add udev rule for GCE storage 2014-05-23 20:18:27 -07:00
Michael Marineau
d380c8bfb3 Merge pull request #258 from marineam/dev
fix(build_image_util): Reorder when set_lsb_release is called
2014-05-23 18:55:06 -07:00
Michael Marineau
d11815a68d fix(disk_layout): Bump up default ROOT volume sizes for btrfs.
btrfs isn't designed for small volumes and can run out of space sooner
than one would expect in our current setup, particularly with docker.
To try to improve the situation always create the filesystem initially
as 2GB instead of 512MB using the default settings: metadata is
duplicated, data is single, not mixed. The mixed setting may have been
partly why our performance can be so poor. For the default vm layout
use 6GB instead of 3GB, about what we use for EC2.
2014-05-23 18:22:02 -07:00
Michael Marineau
784ca19f5f fix(app-emulation/google-compute-daemon): Add users to docker group 2014-05-23 16:52:34 -07:00
Michael Marineau
9bf7516605 fix(coreos-base/oem-gce): Remove unused oem-release file 2014-05-23 16:33:44 -07:00
Michael Marineau
0ec871b203 fix(build_image_util): Reorder when set_lsb_release is called
dev_image_util needs to be able to append to update.conf so move
set_lsb_release to start_image instead of finish_image.
2014-05-22 22:41:54 -07:00
Michael Marineau
9f453e3ac8 Merge pull request #632 from marineam/compat
bump(coreos-base/coreos-init): update coreos-install
2014-05-22 18:56:57 -07:00
Michael Marineau
a7b67723ac Merge pull request #257 from marineam/boards
fix(build_toolchains): Update board package location
2014-05-22 18:56:34 -07:00
Michael Marineau
61704a02c7 fix(build_toolchains): Update board package location
The naming scheme in the new buckets has changed slightly, missed this
one in the other updates.
2014-05-22 18:15:52 -07:00
Michael Marineau
0d9e5cc8eb bump(coreos-base/coreos-init): update coreos-install
Small fix for compatibility with older versions of the script.
2014-05-22 17:46:20 -07:00
Michael Marineau
2cea022bfd Merge pull request #631 from marineam/ntp
Add ntpd, remove tlsdate
2014-05-22 17:40:33 -07:00
Michael Marineau
f58946afe2 feat(coreos-base/coreos): replace tlsdate with ntpd 2014-05-22 16:50:59 -07:00
Michael Marineau
28f0c40982 fix(net-misc/ntp): enable ntpd by default 2014-05-22 16:47:32 -07:00
Michael Marineau
aef1bc8cac fix(net-misc/ntp): update ntpd configuration
- Simplify ntp.conf, use generic pool instead of gentoo.
- Set drift file in unit so it doesn't need to be in ntp.conf.
- Run as ntp user if caps are enabled. This was previously done in the
  openrc service but not the systemd service.
- Add tmpfiles config to create /var/lib/ntp and /etc/ntp.conf
2014-05-22 16:44:03 -07:00
Michael Marineau
a6bf1e483e fix(net-misc/ntp): Remove files from /etc and cleanup
Remove everything for openrc and do not install systemd drop-in configs
into /etc either. This simplifies things quite a bit.
2014-05-22 16:43:57 -07:00
Michael Marineau
c296c94a6c fix(net-misc/ntp): don't install extra scripts and docs by default 2014-05-22 16:04:14 -07:00
Michael Marineau
fdf17bc23a add(net-misc/ntp): Import current ntp ebuild. 2014-05-22 14:37:01 -07:00
Michael Marineau
bf83487c29 Merge pull request #255 from marineam/buckets
fix(*): Migrate image storage to new buckets
2014-05-21 18:02:10 -07:00
Brandon Philips
7f93323c35 Merge pull request #619 from philips/add-unzip
feat(coreos-base/coreos): add unzip
2014-05-21 17:32:30 -07:00
Brandon Philips
4e380be2fc fix(profiles): remove zip/unzip from package.provided 2014-05-21 17:31:58 -07:00
Brandon Philips
fe44c20202 feat(coreos-base/coreos): add unzip
like tar, lzma, etc this is a basic expected util.
2014-05-21 17:31:58 -07:00
Brandon Philips
ecd8536c69 Merge pull request #629 from philips/fix-docker-host-networking
fix(app-emulation/docker): add fix for --net=host
2014-05-21 16:53:04 -07:00
Brandon Philips
cb0f62f177 fix(app-emulation/docker): add fix for --net=host
Merged upstream: https://github.com/dotcloud/docker/issues/5812
2014-05-21 16:40:44 -07:00
Michael Marineau
bdd2279111 Merge pull request #628 from marineam/dhcpcd
feat(coreos-base/coreos): Re-add dhcpcd while networkd matures.
2014-05-21 15:44:08 -07:00
Michael Marineau
682315b69b Merge pull request #109 from marineam/dhcpcd
bump(net-misc/dhcpcd): sync with upstream
2014-05-21 15:43:50 -07:00
Michael Marineau
ba27fd052a Merge pull request #627 from marineam/build-fix
fix(dev-db/etcdctl): Set correct keywords.
2014-05-21 15:37:07 -07:00
Michael Marineau
6a1c62005e feat(coreos-base/coreos): Re-add dhcpcd while networkd matures.
When networkd fails to handle DHCP properly users can get stuck without
a reasonable way to bring up networking on the affected host.
2014-05-21 15:33:35 -07:00
Michael Marineau
d415538e06 bump(net-misc/dhcpcd): sync with upstream 2014-05-21 15:31:26 -07:00