30859 Commits

Author SHA1 Message Date
Alex Polvi
f986ba2d03 test(ami-test): basic script for testing ami and bootstrapping 2013-08-17 00:51:50 -07:00
Michael Marineau
5c335a5c39 Merge pull request #87 from marineam/official
fix(common.sh): Do not add dev build id when outside a repo checkout.
2013-08-16 19:05:54 -07:00
Michael Marineau
ba9dd61aeb fix(common.sh): Do not add dev build id when outside a repo checkout.
When running from a au zip or other strange situation assume the version
in version.txt should be used as-is. This avoid the need to set
COREOS_OFFICIAL=1 in these situations which can be lead to surprises.
2013-08-16 21:47:31 -04:00
Michael Marineau
7b8036c947 Merge pull request #86 from marineam/bootargs
Bootargs
2013-08-16 15:47:55 -07:00
Brandon Philips
5c400a9c21 Merge pull request #162 from philips/auto-restart-docker
fix(app-emulation/docker): restart on crash
2013-08-16 15:40:15 -07:00
Brandon Philips
37e06a2c65 fix(app-emulation/docker): restart on crash
docker has been known to crash from time to time in odd situations. Auto
restart docker 1 second after an unexpected exit so that people can go
about their business.

Thanks to dsal & fkautz in #coreos
2013-08-16 15:36:04 -07:00
Michael Marineau
81afa4f300 fix(boot): Enable serial console when booting via syslinux.
Useful for qemu -nographic or any any other situation where serial is
easier to get at than VGA. It may be possible that in some setups ttyS0
isn't appropriate but we can figure out a way to customize kernel
options if/when that ever comes up.
2013-08-16 15:18:31 -04:00
Michael Marineau
34d5789cef Merge pull request #161 from marineam/getty
bump(coreos-base/coreos-init): Update code, enables more gettys
2013-08-16 12:06:30 -07:00
Michael Marineau
c21b8ee03d cleanup(boot): remove lingering dm-verity bits, cleanup kernel args.
Remove unused dev/dm-0 vs dm-1 logic from verity and the associated
rootwait option it required (meaningless with our initrd). Move old
cros_legacy to common instead of using it in every command line option.
We should remove it entirely soon since it isn't useful for us. Remove
unneeded intel graphics modeset option.
2013-08-16 15:00:29 -04:00
Michael Marineau
ba1ea07df8 bump(coreos-base/coreos-init): Update code, enables more gettys
Now a getty will be created on every terminal specified by the console=
kernel command line options.
2013-08-16 14:16:54 -04:00
Michael Marineau
2edd22024e fix(build_image): Remove noinitrd from default boot_args 2013-08-14 13:15:20 -04:00
Michael Marineau
dca3e51f39 Merge pull request #160 from marineam/units
bump(coreos-base/coreos-init): tmpfiles update
2013-08-14 09:38:13 -07:00
Michael Marineau
17518255d8 bump(coreos-base/coreos-init): tmpfiles update 2013-08-14 12:36:52 -04:00
Brandon Philips
336289b081 Merge pull request #159 from philips/var-lib-etcd-handling
fix(dev-db/etcd): fixup tmp file handling
2013-08-13 16:30:07 -07:00
Brandon Philips
06f12e7668 fix(dev-db/etcd): fixup tmp file handling
instead of having scripts creating and managing directories use
tmpfiles.d do all of that. This will fix c10n not working on the AMI
too.
2013-08-13 15:58:41 -07:00
Michael Marineau
5dac798a26 Merge pull request #158 from marineam/misc-updates
Misc updates
2013-08-12 22:35:57 -07:00
Michael Marineau
42dc93dc92 fix(coreos-base/oem-ami): Simplify ssh key install
Use the new update-ssh-keys script to make the script a lot simpler. :)
2013-08-12 19:13:40 -04:00
Michael Marineau
14454b0cec fix(coreos-base/oem-vagrant): No need for run.sh for copying ssh key.
Copying authorized_keys is now built in to coreos-init.
2013-08-12 19:05:00 -04:00
Michael Marineau
47b3dd1038 bump(net-misc/gsutil): Update to 3.34
ebuilds originally created and tested in my "misc-overlay"
https://github.com/marineam/misc-overlay
2013-08-12 19:00:18 -04:00
Brandon Philips
b75a356352 Merge pull request #85 from marineam/quickfix
fix(image_to_vm): Fix backslash in qemu README.
2013-08-11 21:34:55 -07:00
Michael Marineau
b0d2775e0a fix(image_to_vm): Fix backslash in qemu README.
Go me fixing this issue in the script while adding it in the README.
2013-08-11 23:41:05 -04:00
Michael Marineau
1c8bd08f85 Merge pull request #157 from marineam/virtfs
coreos-init takes over the world
2013-08-11 20:20:11 -07:00
Michael Marineau
83816ae4aa Merge pull request #84 from marineam/virtfs
Virtfs bits
2013-08-11 20:19:04 -07:00
Michael Marineau
d6203b64c1 bump(coreos-base/coreos-init): Replaces oem-services in a generic way.
coreos-detect-virt has moved from oem-service and the oem-service unit
has been replaced by new units that work for both oem and virtfs mounts.
2013-08-11 22:30:21 -04:00
Michael Marineau
bef5728f6e fix(image_to_vm): Cleanup qemu script, document -virtfs 2013-08-11 22:17:20 -04:00
Michael Marineau
ba4c770c37 fix(common): Exclude default systemd filesystem targets.
We don't need the default root filesystem fsck and remount targets
provided by systemd since root is read only. The only default one what
was included in this way was tmp.mount but that is now covered by
a dependency in the coreos-init package.
2013-08-11 14:50:05 -04:00
Michael Marineau
bab545f35b bump(coreos-base/coreos-init): Update to latest init code, includes c10n
Biggest diff here: coreos-init has a Makefile that supports the usual
'install' and 'test' targets so no file copying is required now.
coreos-c10n has moved to init from etcd and has its own service now.
This version of init also includes support for automounting virtfs
filesystems under qemu for use with an updated version of c10n but for
now c10n remains unchanged. Optionally unit tests are available too!
2013-08-11 14:43:51 -04:00
Michael Marineau
97c7997850 fix(dev-db/etcd): Remove coreos-c10n, it is moving to coreos-init 2013-08-11 13:55:43 -04:00
Michael Marineau
3e42b6aded fix(sys-kernel/coreos-kernel): Fix virtfs+dbus, add PCI hotplug.
This adds the following patch: (sent upstream, waiting on response)
  "9p: send uevent after adding/removing mount_tag attribute"

Also enable PCI hotplug to take advantage of more qemu fun! Now
adding/removing virtio devices (which are represented as PCI devices)
at runtime via the qemu monitor console works.
2013-08-11 13:00:02 -04:00
Michael Marineau
741c2aa70c feat(coreos-base/coreos-base): Add default vimrc so vim acts like vim.
Because, I mean, really.
2013-08-10 14:46:05 -04:00
Michael Marineau
73b14d27cf feat(sys-kernel/coreos-kernel): Add 9P virtio fs support.
This allows qemu virtual machines to access plain directories on the
host system in addition to the usual disk/filesystem images.
2013-08-08 13:15:00 -04:00
Michael Marineau
7575dfa11a fix(app-emulation/qemu): Remove unused architectures.
We don't have any arm or i386 targets right now so they can go away.
2013-08-08 13:11:14 -04:00
Michael Marineau
ebc1afe67f Merge pull request #83 from marineam/curl-ami-fix
fix(build_ebs_on_ec2.sh): Add --fail to all curl commands.
2013-08-07 13:14:09 -07:00
Michael Marineau
3ef4757fd4 fix(build_ebs_on_ec2.sh): Add --fail to all curl commands.
This is particularly important for the image availability pre-check
because without it we don't detect that the image is in-fact unavailable
when it doesn't exist and the 404 results in a error from bzip2.
2013-08-07 15:44:52 -04:00
Michael Marineau
5dcba81d72 Merge pull request #33 from marineam/qemu
bump(app-emulation/qemu): sync with upstream
2013-08-07 11:34:11 -07:00
Michael Marineau
78437c5ea7 Merge pull request #35 from marineam/catalyst
bump(dev-util/catalyst): sync with upstream
2013-08-07 11:33:49 -07:00
Michael Marineau
f48858b6eb Merge pull request #82 from marineam/fix-cmp
Fix cmp
2013-08-07 10:39:34 -07:00
Michael Marineau
a0f383e3fe fix(common): sort -R is random, -r is reverse. Kids, use long options...
Randomly failing builds for fun and profit!
2013-08-07 12:38:58 -04:00
Michael Marineau
5ac0bcdd27 fix(update_chroot): Generate make.conf.host_setup before update scripts.
This doesn't currently have any real impact but seems like a better
ordering since update scripts may need to emerge things.

Add some friendly version info logging.
2013-08-07 12:29:10 -04:00
Michael Marineau
bf12dfc8a9 bump(dev-util/catalyst): sync with upstream 2013-08-06 22:27:10 -04:00
Michael Marineau
a2358f098e Merge pull request #156 from marineam/systemd
fix(eclass): Remove old linux-info eclass, use upstream instead.
2013-08-06 18:50:39 -07:00
Michael Marineau
f0a83fe0f1 Merge pull request #34 from marineam/systemd
bump(eclass): Sync all kernel related eclasses with upstream.
2013-08-06 18:50:19 -07:00
Michael Marineau
5c5cbd35e2 bump(eclass): Sync all kernel related eclasses with upstream.
Forgot to update these as part of the recent systemd upgrade.
2013-08-06 21:38:15 -04:00
Michael Marineau
59407a0ebe fix(eclass): Remove old linux-info eclass, use upstream instead. 2013-08-06 21:36:01 -04:00
Michael Marineau
65b47cfe2a bump(app-emulation/qemu): sync with upstream
Our current version, 1.2, is quite old. Bump to the latest stable (1.4)
with an eye towards bumping to 1.5 as soon.

Packages updated:
  app-emulation/qemu
  sys-firmware/ipxe
  sys-firmware/seabios
  x11-libs/pixman
2013-08-06 20:29:58 -04:00
Michael Marineau
577c0d96be Merge pull request #32 from marineam/systemd
Systemd 206
2013-08-06 17:28:04 -07:00
Michael Marineau
022082c087 Merge pull request #155 from marineam/systemd
fix(virtual/linux-sources): Only install coreos-kernel on targets.
2013-08-06 17:27:31 -07:00
Michael Marineau
d3b31df9f4 bump(virtual/modutils): sync with upstream 2013-08-06 20:10:18 -04:00
Michael Marineau
e7015a87a5 fix(virtual/linux-sources): Only install coreos-kernel on targets.
We don't have a valid kernel (or use-case to have one) for "cros_host"
(the SDK) so just fake it. Also remove some unused flags.

This change prevents the latest kmod ebuild from pulling in
coreos-kernel, bootengine, and friends into the SDK.
2013-08-06 19:58:18 -04:00
Michael Marineau
24129d8242 bump(sys-apps/systemd): sync with upstream
Packages updated:
  sys-apps/hwids
  sys-apps/kmod
  sys-apps/systemd
  sys-apps/systemd-sysv-utils
  virtual/udev
2013-08-06 19:46:44 -04:00