30045 Commits

Author SHA1 Message Date
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
Michael Marineau
1de8eb3b11 toolchain: always switch to latest GCC version
Normally Gentoo expects moving between major GCC releases to be a manual
step. In our case we want this to always be automatic, otherwise the GCC
version won't be switched at all.
2014-08-26 16:31:46 -07:00
Michael Marineau
d2f2e7bfcb Merge pull request #135 from marineam/ps
bump(sys-process/procps): sync with upstream
2014-08-26 13:06:25 -07:00
Michael Marineau
5ffb2e620e bump(sys-process/procps): sync with upstream 2014-08-26 12:34:08 -07:00
Michael Marineau
e09d47af4d Merge pull request #134 from marineam/go13
bump(dev-lang/go): sync with upstream
2014-08-25 17:00:52 -07:00
Michael Marineau
c91bf350ef Merge pull request #818 from marineam/go13
profiles: use go 1.3.1 instead of 1.3
2014-08-25 17:00:34 -07:00
Michael Marineau
f92f566d2e bump(dev-lang/go): sync with upstream 2014-08-25 16:01:43 -07:00
Michael Marineau
43d6e587cb profiles: use go 1.3.1 instead of 1.3
The current version marked stable in Gentoo is 1.3 but we might as well
bump directly to 1.3.1 instead.
2014-08-25 16:01:04 -07:00
Brian Waldon
8fbb391615 Merge pull request #810 from bcwaldon/bump-fleet
fleet v0.7.1
2014-08-25 13:14:41 -07:00
Brian Waldon
4853422afa bump: fleet v0.7.1 2014-08-25 13:14:07 -07:00
Alex Crawford
3d5f923c1e Merge pull request #817 from crawford/cloudinit
coreos-base/coreos-cloudinit: bump to v0.9.4
2014-08-24 19:22:05 -07:00
Alex Crawford
68fa5219d4 Merge pull request #814 from crawford/docker
app-emulation/docker: bump to v1.2.0
2014-08-24 19:01:31 -07:00
Alex Crawford
f248b814aa coreos-base/coreos-cloudinit: bump to v0.9.4 2014-08-24 19:00:05 -07:00
Michael Marineau
bc5174f8cd Merge pull request #801 from marineam/install
coreos-init: new coreos-install that doesn't cache image in tmp
2014-08-24 18:08:09 -07:00
Michael Marineau
d97f6e7332 Merge pull request #318 from marineam/gce
vm_image_util: use only ttyS0 for the console on GCE instances
2014-08-24 16:55:58 -07:00
Alex Crawford
ab43b91f53 app-emulation/docker: bump to v1.2.0
Expand flags into long flags. Remove the deprecated restart flag.
2014-08-22 13:54:03 -07:00
Michael Marineau
5f98fd75e8 Merge pull request #813 from marineam/openmp
profiles: disable openmp globally instead of just for boards
2014-08-21 16:58:26 -07:00
Michael Marineau
d0833aa3aa profiles: disable openmp globally instead of just for boards
Not a particularly big deal but it seems wise to build the SDK compilers
and the gcc in dev images with the same feature set.
2014-08-21 14:50:10 -07:00
Michael Marineau
256684264e Merge pull request #133 from marineam/gcc
bump(sys-devel/gcc): sync with upstream
2014-08-21 14:40:48 -07:00
Alex Crawford
cc887f50cd Merge pull request #808 from crawford/profiles
profiles: Update USE flags
2014-08-21 14:40:03 -07:00
Michael Marineau
2316580c64 bump(sys-devel/gcc): sync with upstream
This updates our compiler to gcc-4.7.3-r1 which has been stable in
Gentoo for a long time now. One interesting thing in this compiler is it
will report errors if you attempt to link against system libraries when
building in an alternate sysroot like /build/amd64-usr which should help
catch a variety of mistakes.
2014-08-21 14:29:23 -07:00