28179 Commits

Author SHA1 Message Date
Brandon Philips
266b06a5e7 Merge pull request #617 from philips/add-dec-21140-support
feat(sys-kernel/coreos-kernel): add dec 21140 support
2014-05-19 22:32:20 -07:00
Brandon Philips
6423b303a3 feat(sys-kernel/coreos-kernel): add dec 21140 support
Add the tulip driver for dec 21140 which is used by hyperv
2014-05-19 09:16:28 -07:00
Michael Marineau
fd564f3839 bump(coreos-base/vboot_reference): Minor code cleanup.
Removes currently unused code in cgpt resize.
2014-05-18 20:56:32 -07:00
Michael Marineau
7372f9f6e6 Merge pull request #254 from marineam/dev-config
Build-time dev cloud configs
2014-05-18 20:46:07 -07:00
Michael Marineau
af0f0f5c73 Merge pull request #253 from marineam/dev-container
nspawn compatible dev container
2014-05-18 20:45:49 -07:00
Michael Marineau
822644fc54 feat(build_image): Add support for injecting a cloud config
The new --developer_data option can be used to specify a path to a cloud
config to bundle into the image. If none is provided but a shared user
password (for core) is set then generate a config to set that password.
This lets us use the same mechanism for setting the default password for
both disk and PXE images.
2014-05-17 16:23:18 -07:00
Michael Marineau
a93cb921d8 refactor(build_library): Add a function for enabling systemd units. 2014-05-17 16:23:16 -07:00
Michael Marineau
a2b7338452 fix(sys-apps/baselayout): Do not set default password in ebuild
Setting the 'core' user's password is now always handled by cloud
config. As an added benefit this will let us use baselayout as a binary
package now that it doesn't depend on random state it the local SDK.
2014-05-17 16:17:49 -07:00
Michael Marineau
4978cfeb86 fix(make.conf): Remove AT_SYS_M4DIR
Autotools is provided by the SDK chroot, not the board sysroot.
Presumably at some point in the ChromeOS past some macros were being
installed the other way around in the sysroot but not the SDK chroot.
Currently this is not the case, so this extra variable can go away.
2014-05-17 16:17:49 -07:00
Michael Marineau
5b367bfac7 fix(coreos-base/coreos-dev): Remove sys-process/time
make.conf has a work-around to support cross compiling this tool but we
don't actually need it. Cleanup and remove the tool and the work-around.
2014-05-17 16:17:49 -07:00
Michael Marineau
be5c990634 Merge pull request #615 from marineam/container
init and cloudinit updates
2014-05-17 16:15:18 -07:00
Michael Marineau
c6182b7830 bump(coreos-base/coreos-init): Fixes for containers and motdgen 2014-05-16 21:39:42 -07:00
Michael Marineau
f3893abed7 bump(coreos-base/coreos-cloudinit): bump to 0.7.1
https://github.com/coreos/coreos-cloudinit/releases/tag/v0.7.1
2014-05-16 21:38:26 -07:00
Brandon Philips
4f40f4c7a3 bump(coreos-base/coreos-cloudinit): bump to 0.7.0
https://github.com/coreos/coreos-cloudinit/releases/tag/v0.7.0
2014-05-16 21:38:26 -07:00
Brandon Philips
c617076bd3 fix(coreos-base/coreos-init): bump to simpler motdgen 2014-05-16 21:38:26 -07:00
Michael Marineau
b24df04465 feat(build_image): Add 'container' image type.
This image type is the same as the developer image except that it is a
single root filesystem and is bootable via systemd-nspawn. This may
become obsolete eventually when it becomes possible to boot the normal
disk images under nspawn but it is useful for testing until then.

The partition type is defined by the Discoverable Partitions Spec.
http://www.freedesktop.org/wiki/Specifications/DiscoverablePartitionsSpec/
2014-05-16 21:11:01 -07:00
Michael Marineau
54f774d931 fix(build_library): Skip modifying non-existent partitions.
To make it possible to plop a CoreOS install into a simple
single-filesystem image for use as a container some things like
configuring bootloaders need to be skipped.
2014-05-16 20:52:21 -07:00
Michael Marineau
ee6b9ee1f9 fix(disk_util): Set btrfs default subvolume
This avoids needing to always pass the subvol=root mount option.
2014-05-16 19:09:23 -07:00
Michael Marineau
acb9800259 fix(disk_util): Don't try to format blank partitions. 2014-05-16 17:40:35 -07:00
Michael Marineau
0d750e6a28 remove(build_container): Kill catalyst-based container script
Never actually used this, new plan is slightly different.
2014-05-16 17:14:11 -07:00
Michael Marineau
1cb228940b Merge pull request #612 from marineam/systemd
fix(sys-apps/systemd): Stop warning about "X-Fleet" sections
2014-05-16 16:59:02 -07:00
Michael Marineau
dbbb3c29f0 fix(sys-apps/systemd): Stop warning about "X-Fleet" sections 2014-05-16 16:49:46 -07:00
Brandon Philips
aa908b844e Merge pull request #608 from philips/set-docker-tmpdir
fix(app-emulation/docker): add TMPDIR=/var/tmp
2014-05-16 16:05:42 -07:00
Brandon Philips
bfa4fa2626 Merge pull request #611 from philips/bump-update-engine
bump(coreos-base/update_engine): send pings hourly
2014-05-16 16:04:10 -07:00
Brandon Philips
14fd736286 bump(coreos-base/update_engine): send pings hourly
Pull in this PR: https://github.com/coreos/update_engine/pull/32
2014-05-16 14:10:57 -07:00
Brandon Philips
50b1922a51 fix(app-emulation/docker): add TMPDIR=/var/tmp
This fixes the issue reported here where /tmp runs out os space during a
docker save

https://github.com/coreos/coreos-vagrant/issues/49#issuecomment-43287780
2014-05-16 13:57:56 -07:00
Brandon Philips
da4253ab4c chore(app-emulation/docker): remove symlink-usr case
We are never shipping another -generic image so just make symlink-usr
the only .service file.
2014-05-16 13:57:13 -07:00
Michael Marineau
98473f4e09 Merge pull request #610 from marineam/cflags
Profile maintance
2014-05-15 22:19:41 -07:00
Michael Marineau
bcf1ed50d5 Merge pull request #609 from marineam/systemd
maint(sys-apps/systemd): Sync patches with upstream
2014-05-15 22:19:19 -07:00
Michael Marineau
eba0ba9820 fix(profiles): Enable ipv6 globally because WTF DUH! 2014-05-16 00:18:15 -04:00
Michael Marineau
8e93e04deb fix(profiles): Move CFLAGS, remove -g, add -mtune=generic
Slowly moving make.conf into profiles, here is another piece. We never
actually use the built debug information so remove -g to produce a
little less of it. Add -mtune=generic to let GCC optimize for whatever
it thinks the most common processors are.
2014-05-16 00:04:46 -04:00
Michael Marineau
a57fb796e4 maint(sys-apps/systemd): Sync patches with upstream
Upstream has merged all of our reload bug fixes, replace local patches
with the upstream versions.

Drop the patch that removed the check for /etc/os-release. We always
initialize missing files in the initrd so it isn't needed any more.
2014-05-15 19:10:22 -07:00
Michael Marineau
32e1c7f306 Merge pull request #606 from marineam/dracut
bump(sys-kernel/bootengine): Updates for new dracut version
2014-05-15 19:09:13 -07:00
Michael Marineau
88b3bc969e Merge pull request #108 from marineam/dracut
bump(sys-kernel/dracut): sync with upstream
2014-05-15 19:09:03 -07:00
Michael Marineau
38fa0f92a8 Merge pull request #252 from marineam/clean
Clean out some old ChromeOS junk
2014-05-15 17:57:53 -07:00
Michael Marineau
da934cc439 remove(cruft): Kill a few more things that aren't used 2014-05-15 15:48:41 -07:00
Michael Marineau
11d783b95c remove(symbols): Kill off scripts for managing ChromeOS debug symbols 2014-05-15 15:48:05 -07:00
Michael Marineau
9dc6424da6 remove(tests): Remove old ChromeOS test utilities
None are useful or relevant to us.
2014-05-15 15:45:45 -07:00
Michael Marineau
2b2576c4ab remove(hooks): Kill off old hook that checked compile flags.
This did things like verify that things were linked with gold (which we
don't do) and other checks. We don't have a need for it kill it.
2014-05-15 15:42:02 -07:00
Michael Marineau
5484890349 Merge pull request #607 from marineam/aufs
maint(coreos-base/coreos): Drop aufs tools from our images.
2014-05-15 15:19:10 -07:00
Michael Marineau
dc93012500 Merge pull request #248 from marineam/oem
fix(oem/ami): Remove key options, update wrapper for beta
2014-05-15 15:09:21 -07:00
Michael Marineau
85a9cb9da1 maint(coreos-base/coreos): Drop aufs tools from our images. 2014-05-15 15:06:20 -07:00
Michael Marineau
c8addbb6cc Merge pull request #251 from marineam/refactor
Refactor sdk setup
2014-05-15 15:02:50 -07:00
Michael Marineau
457233148c bump(sys-kernel/bootengine): Updates for new dracut version
Dracut is now in portage-stable and DRACUT_MODULES is unused.
Update bootengine dependencies so we can use btrfs and mdadm in the
initrd. Drop kbd because I'm excluding out the terminfo module now.
2014-05-15 14:43:26 -07:00
Michael Marineau
8f147c8032 bump(sys-kernel/dracut): sync with upstream 2014-05-15 13:09:09 -07:00
Michael Marineau
68a8a67081 fix(update_chroot): Consolidate more portage configuration
To behave more like setup_board/build_packages update_chroot should
fully configure portage to make sure everything is accurate.

Now binhosts are defined in make.conf.host_setup so the static config in
coreos-overlays doesn't need to refer to version.txt. setup_board
already made this change in 7a43a07f.

Define path locations to reduce dependency between static configs in
coreos-overlays and the behavior of the scripts repo. Spreading
configuration across two repos makes everything harder to understand.
Eventually everything should either be defined in profiles in
coreos-overlays or minimal auto-generated config files here in scripts.
2014-05-14 19:15:30 -07:00
Michael Marineau
57d19d0f06 refactor(update_chroot): Write make.conf.host_setup
There is no need for this to be in sdk_lib any more, remove what little
remains of make_conf_util.sh.
2014-05-14 18:51:58 -07:00
Michael Marineau
a3d3d30b24 fix(sdk_lib): Delete a pile of dead/pointless code.
For the most part this doesn't influence anything. The one exception is
the custom configuration for using curl is dropped, just rely on the
portage defaults. It appears curl was only used to work around a wget
issue with Google's internal SSL certificates. We care not. :)
2014-05-14 18:51:58 -07:00
Brian Waldon
17ef058245 Merge pull request #605 from bcwaldon/bump-coreos-cloudinit
bump(coreos-cloudinit): Upgrade to v0.6.1
2014-05-14 11:45:17 -07:00
Brian Waldon
72ac05414d bump(coreos-cloudinit): Upgrade to v0.6.1
Fix incorrect primary-group flag and locksmith configuration bugs.
2014-05-14 10:58:21 -07:00