26840 Commits

Author SHA1 Message Date
Alex Crawford
49d7f31d49 coreos-base/oem-ec2-compat: Update cloud-init flags
Use the new --from-ec2-metadata flag. --from-metadata-service is depricated.
2014-09-08 11:15:27 -07:00
retrack
926adecebb exoscale public cloud provider support 2014-09-08 15:29:53 +02:00
Michael Marineau
77f164f1a0 Merge pull request #329 from marineam/grub
Switch to GRUB for both BIOS and UEFI booting
2014-09-07 10:00:46 -07:00
Michael Marineau
1a8b197659 qemu: adjust the meaning of the -s (simple) flag
My primary use case for this flag is to fix booting with UEFI firmware
which can have problems when mixed with KVM, adding kexec into the mix
doesn't help matters either. The current version of OVMF can boot from
virtio drives just fine so that is now enabled and KVM is disabled.

So the -s option can also mean sloooooooow but boots!
2014-09-07 09:58:51 -07:00
Michael Marineau
5bfa0c8d20 build: switch from SYSLINUX to GRUB2
The new grub install script must be called after the image is unmounted
and the old bootloaders script doesn't need to touch grub at all. For
now we will continue to use the existing syslinux configs but
interpreted by grub. Beyond the grub menu flashing by during boot
everything should still be functionally equivalent.
2014-09-07 09:58:51 -07:00
Michael Marineau
12a9900e02 grub_install: new install script for grub, add UEFI bootloader
This script replaces the standard grub-install tool to give us some more
control over what is going and ensure grub-install's auto-detection
magic doesn't make any incorrect choices. Also this script sets up a
loopback device and mounts the EFI partition in just the right way for
grub-bios-setup's auto-detection magic to work correctly.

I've chosen not to adapt disk_util to use partitioned loop devices to
make grub happy because ensuring loop devices get cleaned up properly
for the general case gets tricky and less robust.
2014-09-07 09:57:39 -07:00
Greg Kroah-Hartman
868de6f62e Merge pull request #841 from gregkh/kernel_update
coreos-kernel: bump to 3.16.2
2014-09-06 21:20:02 -07:00
Greg Kroah-Hartman
9063e78ddd coreos-kernel: bump to 3.16.2 2014-09-06 21:02:47 -07:00
Michael Marineau
fbaab249c5 Merge pull request #840 from marineam/note
vim: add note for when workaround can be removed
2014-09-05 17:32:44 -07:00
Michael Marineau
d859e397eb vim: add note for when workaround can be removed 2014-09-05 17:08:14 -07:00
Brian Waldon
29a295d81f Merge pull request #839 from bcwaldon/bump-fleet
fleet v0.8.0
2014-09-05 15:07:56 -07:00
Brian Waldon
cc0c4b13fd fleet: bump to v0.8.0
fleet binary moved to fleetd, so preserve old location with symlink.
2014-09-05 12:41:05 -07:00
Brian Waldon
c566888a36 fleet: bump go dependency to >= 1.3 2014-09-05 12:36:26 -07:00
retrack
ddccb5072b exoscale builder 2014-09-05 09:56:48 +02:00
Michael Marineau
81f144d602 Merge pull request #836 from marineam/revert
coreos-kernel: roll forward to 3.16 again, minus KASLR
2014-09-04 15:42:53 -07:00
Michael Marineau
f88778adee Merge pull request #327 from brianredbeard/check-etag-fix
fix: create empty file if it does not exist
2014-09-04 15:28:07 -07:00
Michael Marineau
f97fa53c2b Merge pull request #835 from marineam/cleanup
coreos-base/coreos: remove syslinux installer from images
2014-09-04 15:13:51 -07:00
Michael Marineau
aaf715e77b Merge pull request #328 from marineam/pkgs
build_image_util: fix generation of packages.txt
2014-09-04 15:13:44 -07:00
Michael Marineau
9580ea4086 build_image_util: fix generation of packages.txt
The passing ROOT= as an environment variable to board wrapper scripts
doesn't work, the script unconditionally overrides it. This means so far
our packages.txt files have listed the contents of /build/amd64-usr
instead of the image. Fix this by calling equery directly instead.
2014-09-04 15:12:20 -07:00
Michael Marineau
f011c86488 coreos-base/coreos: remove syslinux installer from images
Installing the syslinux package is only required for re-installing
syslinux which has never really been needed and we will be moving to
grub soon anyway. This saves a 5-10MB in our final images.
2014-09-04 15:09:07 -07:00
Brian 'Redbeard' Harrington
29140526c9 fix: create empty file if it does not exist
previously check_etag.sh would not create a blank file if it did
not exist.  The result was that the first time check_etag.sh was
run it would always exit non-zero.
2014-09-04 14:04:25 -07:00
Michael Marineau
ee589472fa coreos-kernel: roll forward to 3.16 again, minus KASLR
Our Xen boot failure appears to be related to enabling KASLR and
helpuflly the 'nokaslr' command line option does not help. Disable the
feature entirely until the bugs are shaken out.
2014-09-04 13:53:40 -07:00
Brian Waldon
97e4554b08 Merge pull request #833 from bcwaldon/fleet-socket
Add fleet.socket
2014-09-04 13:35:04 -07:00
Brian Waldon
483e4b692c fleet: add fleet.socket 2014-09-04 13:26:53 -07:00
Michael Marineau
6a34bf2647 Merge pull request #834 from marineam/revert
coreos-kernel: roll back to previous 3.15.8 kernel
2014-09-04 12:56:27 -07:00
Michael Marineau
0fff9d827d coreos-kernel: roll back to previous 3.15.8 kernel
The new kernel completely failed to boot on EC2 as a Xen PV instance.
Rolling back until we figure out what is going on.

Boot log: https://gist.github.com/marineam/50f92ded40e02c163c19
2014-09-04 12:51:34 -07:00
Brian Waldon
4b2a1ca479 Merge pull request #809 from bcwaldon/remove-install-sections
Remove fleet/etcd [Install] sections
2014-09-04 10:16:08 -07:00
Brian Waldon
e042abb733 fleet: drop [Install] section from unit 2014-09-04 10:13:52 -07:00
Brian Waldon
f7c437c1be etcd: drop [Install] section from unit 2014-09-04 10:12:48 -07:00
Michael Marineau
09bd1216c6 Merge pull request #827 from gregkh/kernel_update
coreos-kernel: bump to 3.16.1
2014-09-03 12:45:27 -07:00
Michael Marineau
bdfd945801 Merge pull request #831 from marineam/build
util-linux: fix intermittent build failure
2014-09-03 12:43:45 -07:00
Michael Marineau
dad75cd5e4 Merge pull request #832 from ryao/ktop
ktop: Install into /usr/sbin, not /usr/local/sbin
2014-09-03 12:43:19 -07:00
Richard Yao
aa13923611 ktop: Install into /usr/sbin, not /usr/local/sbin
This preemptively fixes a Gentoo QA warning that will be introduced in
future versions of portage.

Signed-off-by: Richard Yao <richard.yao@clusterhq.com>
2014-09-03 11:58:27 -04:00
Michael Marineau
c78493c0bc util-linux: fix intermittent build failure
This has been killing builds every once and a while for a long time.
2014-09-02 20:46:05 -07:00
Michael Marineau
79ff27b796 Merge pull request #136 from marineam/groff
bump(sys-apps/groff): sync with upstream
2014-09-02 17:57:48 -07:00
Alex Crawford
cf3091b25c Merge pull request #830 from crawford/cloudinit
coreos-base/coreos-cloudinit: bump to v0.9.6
2014-09-02 17:57:28 -07:00
Alex Crawford
94614782ce coreos-base/coreos-cloudinit: bump to v0.9.6 2014-09-02 17:51:43 -07:00
Michael Marineau
0cdd8d6953 bump(sys-apps/groff): sync with upstream 2014-09-02 17:40:39 -07:00
Michael Marineau
3e4c29957c Merge pull request #326 from marineam/kernel
sdk: assert host system is running Linux 3.7 or later
2014-09-02 16:03:59 -07:00
Michael Marineau
6df3bbbe2e sdk: assert host system is running Linux 3.7 or later
Currently building images on older kernels will fail because mkfs.btrfs
enables an incompatible feature 'extref' by default. We never really
made this requirement explicit and the SDK in general has continued to
maintain compatibility with older kernels. Make the requirement explicit
so users will get errors quicker and there is a clear line for what
kernel features can be used in the SDK.
2014-09-02 15:55:52 -07:00
Alex Crawford
b2b70c8624 Merge pull request #325 from crawford/digitalocean
digitalocean: Add image format for digitalocean
2014-09-02 13:52:30 -07:00
Alex Crawford
8916bf4013 Merge pull request #829 from crawford/digitalocean
coreos-base/oem-digitalocean: Add DigitalOcean OEM
2014-09-02 13:52:25 -07:00
Alex Crawford
8f1bd1d6d5 coreos-base/oem-digitalocean: Add DigitalOcean OEM 2014-09-02 13:44:05 -07:00
Alex Crawford
cfd586fede coreos-base/coreos-cloudinit: bump to v0.9.5 2014-09-02 10:41:05 -07:00
Michael Marineau
3de1613a99 Merge pull request #324 from marineam/grub
Grub2 preview
2014-09-02 10:22:27 -07:00
Michael Marineau
c35f45ce62 Merge pull request #828 from marineam/grub
grub: add ebuild for latest snapshot of grub
2014-09-02 10:22:12 -07:00
Michael Marineau
96a7e0d01f vboot_reference: add grub bios partition type to cgpt 2014-09-02 10:07:14 -07:00
Michael Marineau
ac18af2a9c grub: add ebuild for latest snapshot of grub
Lots of bug fixing has gone in since beta2 was released in December.
2014-08-31 13:33:48 -07:00
Greg Kroah-Hartman
a36471fe0d coreos-kernel: bump to 3.16.1 2014-08-30 23:26:17 -07:00
Michael Marineau
680730cc1a configure_bootloaders: add grub install stub code
Not currently used, this configuration which sets up grub to re-use the
syslinux configuration only works with recent git versions, not any
releases. Compatibility is also limited because the serial configuration
in syslinux must be duplicated in the grub config.
2014-08-30 17:46:38 -07:00