30065 Commits

Author SHA1 Message Date
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
Michael Marineau
0cc06c9c5c build_image_util: pass the disk image through to configure_bootloaders
Required so that configure_bootloaders can now handle installing the
bootloaders as well.
2014-08-30 16:39:05 -07:00
Michael Marineau
25b20b420c disk_util: support exposing a hybrid partition without syslinux
We don't need to do anything like manually install the MBR boot code
for grub but we do need to continue to expose the ESP partition as a
hybrid partition to support pvgrub.
2014-08-30 16:26:26 -07:00
Michael Marineau
fd8618336d disk_util: do not zero MBR and GPT when resizing disk
Calling cgpt create when resizing zeros the MBR boot code. This worked
with the syslinux setup because the boot code was re-written. When not
using syslinux it is easier to just preserve the existing MBR instead.
2014-08-30 16:00:07 -07:00
Michael Marineau
cb97931478 disk_layout: replace unused "BOOT-B" with Grub's BIOS Boot Partition
Unlike SYSLINUX, GRUB2 does not recommend embedding itself in a FAT
filesystem. Instead GRUB2 prefers embedding in the space between the MBR
and first partition or using a dedicated partition that is safe from
tampering by fs utilities. In our case the space after the MBR is where
the GPT lives so we need to use the extra partition scheme instead.

The 64MB "BOOT-B" partition has never been used so we can replace it
with a 2MB partition which is more than enough for GRUB.
2014-08-29 14:05:22 -07:00
Michael Marineau
4228c591a8 disk_layout: mount ESP to /boot instead of /boot/efi
We have long since stopped installing anything to the /boot directory of
the root filesystem. Mount the ESP partition to /boot for consistancy
with the discoverable partition spec.
2014-08-29 13:57:42 -07:00
Michael Marineau
30372ccf9a Merge pull request #323 from marineam/gcc
Make ldconfig not matter so much
2014-08-27 23:01:51 -07:00
Michael Marineau
5a377b1416 Merge pull request #825 from marineam/fix
update_engine: fix using delta_generator from update.zip
2014-08-27 23:01:45 -07:00
Michael Marineau
913878a8c3 update_engine: fix using delta_generator from update.zip 2014-08-27 21:09:45 -07:00
Michael Marineau
70051bf6ef prod_image_util: install GCC libraries to /usr/lib
Normally GCC is installed in a way that allows installing multiple
versions and switching between them. Our production images do not need
this and additionally the only things from the GCC package that are
needed are the shared libraries. To ensure these libraries are *always*
locatable regardless of the presence of /etc/ld.so.conf and
/etc/ld.so.cache we can install those libraries to plain old /usr/lib.
The GCC packages don't have a built in way to do this but we can get
away with extracting the libraries directly from the binary package.

This is actually similar to what ChromeOS did with a few exceptions:
 - We use a native GCC build instead of the cross toolchain
 - The archive is properly extracted from the package instead of feeding
   the package directly to tar and ignoring the resulting warnings.

As an added benefit switching from a blacklist to a whitelist ensures
that extra cruft does not slip through the cracks, saving 5-10MB.
2014-08-27 20:23:39 -07:00
Michael Marineau
8a3a5e1c51 build_image_util: do not symlink etc/portage/profile
Create profile as a real directory instead of a symlink to the board
root's configuration. Normally the board root does not modify this but
it is useful for build_image to use it to modify package.provided.
2014-08-27 19:55:27 -07:00
Michael Marineau
e1421591d0 Merge pull request #824 from marineam/ldconfig
bootengine: regenerate ld.so.cache when running dracut
2014-08-27 12:43:49 -07:00
Michael Marineau
de8cad8df6 bootengine: regenerate ld.so.cache when running dracut 2014-08-27 12:40:33 -07:00
Michael Marineau
044a95bebe Merge pull request #823 from marineam/rdb
coreos-kernel: enable Ceph RDB module
2014-08-27 11:52:37 -07:00
Michael Marineau
08d456fdc5 coreos-kernel: enable Ceph RDB module
Fixes https://github.com/coreos/coreos-overlay/pull/822
2014-08-27 11:41:57 -07:00
Michael Marineau
a1d3a95381 Merge pull request #322 from marineam/gcc
GCC update fixes
2014-08-26 18:45:02 -07:00
Michael Marineau
c33fe9007f Merge pull request #821 from marineam/gcc
GCC 4.7 build fixes
2014-08-26 18:44:50 -07:00
Michael Marineau
4636a4036d vboot_reference: fix build with GCC 4.7.x 2014-08-26 18:42:06 -07:00
Michael Marineau
7040050e48 Merge pull request #820 from marineam/lto
systemd: enable lto, always run ldconfig
2014-08-26 18:31:24 -07:00
Michael Marineau
5377e7870d prod_image_util: update /etc/ld.so.conf on every boot
Early images created this as a file instead of a symlink, these systems
will not be able to find the new GCC libraries using the older config.
2014-08-26 18:28:07 -07:00
Michael Marineau
579df3aede systemd: run ldconfig on every boot 2014-08-26 18:25:47 -07:00
Michael Marineau
6b4240d520 Merge pull request #819 from marineam/build
update_engine: fix build with GCC 4.7.x, prune unnused dependencies
2014-08-26 18:02:19 -07:00
Michael Marineau
9e10304903 cros_boot_mode: remove unused ChromeOS utility
This package has some issues in its build process but we don't actually
use it or want it so it's about time to delete it.
2014-08-26 17:58:26 -07:00
Michael Marineau
240d868746 systemd: enable lto
Gentoo disabled systemd's preference for link-time-optimization because
it consumes a far amount of CPU and distcc doesn't run the linking step
remotely. This change alone shaves some 19MB from the uncompressed /usr
filesystem. That seems like a solid reason to leave it enabled.
2014-08-26 17:56:31 -07:00
Alex Crawford
f835e1e0fd digitalocean: Add image format for digitalocean 2014-08-26 17:30:00 -07:00
Michael Marineau
f2f865ac69 update_engine: fix build with GCC 4.7.x, prune unnused dependencies 2014-08-26 16:48:57 -07:00