28179 Commits

Author SHA1 Message Date
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
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