22893 Commits

Author SHA1 Message Date
Benjamin Gilbert
724569fd54 coreos-base/oem-{cloudsigma,rackspace}: drop etcd.service drop-in
etcd v0 has been removed from Container Linux.
2017-06-13 15:33:32 -07:00
Benjamin Gilbert
df9a3874b7 Merge pull request #2600 from bgilbert/useflags
profiles: Amend USE flags for curl and lsof
2017-06-13 15:15:33 -07:00
Benjamin Gilbert
a5e81ed9b8 profiles: Enable lsof +-M and -Z flags
-Z reports SELinux contexts. +M reports portmapper registrations; -M is
the default. +-M is not very useful, but mayday passes -M, and fails to
record lsof output when that option is not supported.
2017-06-13 14:40:26 -07:00
Benjamin Gilbert
f56031ac76 profiles: Enable asynchronous DNS via pthreads
Synchronous DNS uses SIGALARM-based timeouts, which can cause crashes in
some applications. This change is specifically prompted by
<https://issues.apache.org/jira/browse/MESOS-7603> by way of
<https://groups.google.com/d/msg/coreos-dev/KILPPDRSPcg/PBaNF6VGAgAJ> but
probably a good thing to do anyway.
2017-06-13 14:29:42 -07:00
Euan Kemp
7f21bfc4cc Merge pull request #2597 from dgonyeo/dosfstools
coreos-base/coreos: add sys-fs/dosfstools
2017-06-08 19:56:58 -07:00
Benjamin Gilbert
15a21b5999 Merge pull request #690 from bgilbert/cleanups
Drop qemu_xen and secure_demo image types
2017-06-08 15:56:45 -07:00
Benjamin Gilbert
9ec1e38c19 Merge pull request #2599 from bgilbert/oem-xendom0
coreos-base/oem-xendom0: drop package
2017-06-08 15:50:14 -07:00
Benjamin Gilbert
d57e277690 coreos-base/oem-xendom0: drop package 2017-06-08 15:49:25 -07:00
Euan Kemp
4b458ef5d3 Merge pull request #2566 from databus23/patch-1
Allow kubelet to load missing kernel modules
2017-06-08 14:59:04 -07:00
Benjamin Gilbert
40978865d2 Revert "A pile of goo to support a minimal secure boot demo"
This reverts commit 0c6adece3d4b626f6575719ca6c86922fbdcfcda.
2017-06-08 14:51:15 -07:00
Benjamin Gilbert
8b322c6556 test_oem_pkgs: Drop reference to oem-xendom0 2017-06-08 14:48:38 -07:00
Benjamin Gilbert
6878bd8f5f Revert "vm_image_util: add qemu_xen image type for testing"
This reverts commit fe9db4157badb64909bf575091dd551de761f2fb.
2017-06-08 14:47:23 -07:00
David Michael
d30032b7cc Merge pull request #2598 from dm0-/curl-gssapi
profiles: enable Negotiate authentication in curl
2017-06-08 14:21:57 -07:00
David Michael
34260a0484 profiles: enable Negotiate authentication in curl 2017-06-08 14:05:27 -07:00
Benjamin Gilbert
78c50c50f2 Merge pull request #689 from bgilbert/container-linux
README: CoreOS -> Container Linux
2017-06-08 12:30:48 -07:00
Benjamin Gilbert
9a277e62b1 README: CoreOS -> Container Linux 2017-06-08 12:17:59 -07:00
Derek Gonyeo
4b8c01ff4b coreos-base/coreos: add sys-fs/dosfstools
This commit adds dosfstools to the image. This is due to Ignition
gaining vfat support, to allow it to manipulate boot partitions.
2017-06-07 10:59:49 -07:00
Benjamin Gilbert
cb2aec8664 Merge pull request #2596 from bgilbert/v4.11.3
sys-kernel/coreos-*: bump to v4.11.3
2017-06-06 19:04:34 -07:00
Benjamin Gilbert
833f649d20 sys-kernel/coreos-*: bump to v4.11.3 2017-06-06 13:17:59 -07:00
Geoff Levand
5617ab2074 Merge pull request #2511 from glevand/for-merge-flannel
Reenable flannel on arm64
2017-06-06 10:43:28 -07:00
Geoff Levand
6cddc1cb15 flannel-wrapper: Enable on arm64
Signed-off-by: Geoff Levand <geoff@infradead.org>
2017-06-05 10:05:36 -07:00
Geoff Levand
46fea78177 flannel-wrapper: Add missing metadata
Signed-off-by: Geoff Levand <geoff@infradead.org>
2017-06-05 10:05:36 -07:00
David Michael
e12e8c9dcc Merge pull request #2594 from dm0-/etcd
app-admin/etcd-wrapper: bump to 3.1.8
2017-06-02 18:30:29 -07:00
David Michael
dd98afc051 Merge pull request #2499 from glevand/for-merge-kublet
kubelet-wrapper: Enable on arm64
2017-06-02 17:29:24 -07:00
David Michael
0d6d6555ee app-admin/etcd-wrapper: bump to 3.1.8 2017-06-02 17:19:54 -07:00
David Michael
897c3f42a6 Merge pull request #2593 from dm0-/lz4
profiles: build lz4 support into journald
2017-06-02 17:19:24 -07:00
David Michael
f907f4beae Merge pull request #555 from dm0-/lz4
bump(app-arch/lz4): sync with upstream
2017-06-02 17:16:51 -07:00
David Michael
84c14827a5 profiles: build lz4 support into journald
This fixes reading nspawn journals from the host when the container
runs systemd built with lz4 support.
2017-06-02 17:12:03 -07:00
David Michael
6564ebffbc bump(app-arch/lz4): sync with upstream 2017-06-02 16:18:03 -07:00
David Michael
a0bebcc38b build_image: copy torcx images into the vendor store
This adds the option --torcx_store to specify the path to a
directory containing torcx images to be baked into the OS image.  A
blank string can be given instead of a path to restore the previous
behavior and leave an empty vendor store.

The default value is the default path created by build_torcx_store,
which is used when build_packages updates torcx images.  This means
that the current pattern "./build_packages && ./build_image prod"
should result in a fully updated OS image with all torcx images
available in the vendor store.
2017-06-02 14:23:03 -07:00
David Michael
f91198ca0e build_packages: also build all torcx images by default
The idea is that once the installed board packages have changed,
the sysroot that was used to build any existing torcx packages may
no longer be compatible.  It will therefore run build_torcx_store,
passing relevant options to it, to build a new torcx store of
images with the current sysroot.

This adds --skip_torcx_store to use the previous behavior.
2017-06-02 14:22:53 -07:00
David Michael
8e214f5779 build_torcx_store: add a command for building torcx images
This creates new torcx stores under src/build/torcx, similar to the
layout of src/build/images.  The script contains a list of packages
to build so there is a deterministic set that gets branched with
this repository.  For development, a different list can also be
given on the command line.

Images are created by building only the direct dependencies of
meta-packages under the app-torcx category.  They use the board
root as the sysroot for cross-compiling.  The base layout of the
installation root is structured so everything is under either /bin
or /lib for simplicity.  Any systemd units are rewritten so they
depend on a successful torcx apply, and they inject the appropriate
torcx runtime directory into the PATH.

When ELF binaries are compiled, they are given an RPATH value of
/ORIGIN/../lib which gets rewritten to $ORIGIN/../lib.  The final
value enables automatic dynamic linking with packaged libraries.
The intermediate value is to avoid having to escape the $ through
the various build system layers (which are different for each
package) and it pretends to be an absolute path to silence security
warnings.
2017-06-02 14:15:03 -07:00
David Michael
09793ebef9 Merge pull request #2592 from dm0-/initramfs-luks
sys-kernel/coreos-kernel: ensure the final systemd is installed
2017-06-01 15:06:58 -07:00
David Michael
7a3191926f Merge pull request #2591 from dm0-/glsa
Sync with GLSA changes
2017-05-31 19:05:54 -07:00
David Michael
e3a0a8c403 Merge pull request #554 from dm0-/glsa
Update and fix GLSAs
2017-05-31 19:05:45 -07:00
David Michael
f2789a8d3c sys-kernel/coreos-kernel: ensure the final systemd is installed
The systemd package from setup_board does not have USE=cryptsetup,
but it gets installed before build_packages, which satisfies the
build-time dependency from the kernel.  The initramfs should have
the cryptsetup files, so explicitly depend on it to order building
the kernel after the final systemd package.
2017-05-31 17:45:28 -07:00
Benjamin Gilbert
dacdc004fd Merge pull request #688 from bgilbert/yubikey
enter_chroot: Fix ownership of /run/user/UID
2017-05-31 14:31:57 -07:00
David Michael
558f8d8b49 chore(metadata): Regenerate cache 2017-05-31 13:55:11 -07:00
David Michael
96eca17bef bump(metadata/glsa): sync with upstream 2017-05-31 13:55:03 -07:00
David Michael
d32ad251ad bump(app-admin/sudo): sync with upstream 2017-05-31 13:54:36 -07:00
David Michael
da45f54084 profiles: sync sudo version on arm64 2017-05-31 13:54:20 -07:00
David Michael
2515513330 coreos-base/coreos-dev: drop optional Xen dependencies 2017-05-31 13:54:03 -07:00
Benjamin Gilbert
b5f19e5d75 enter_chroot: Fix ownership of /run/user/UID
We were chowning the host directory, not the one in the chroot.

Host gpg >= 2.1.13 puts the gpg-agent socket in /run/user/UID/gnupg,
which is bind-mounted into the chroot, but the SDK gpg was ignoring it
because /run/user/UID was not owned by UID. This broke tag signing with
YubiKeys.
2017-05-31 13:52:16 -07:00
David Michael
3d948609bc app-emulation/xen{,-tools,-pvgrub}: drop packages 2017-05-31 13:23:25 -07:00
Benjamin Gilbert
56a97775be Merge pull request #2589 from crawford/metadata
Revert "coreos-base/coreos-metadata: bump to v0.10.0"
2017-05-31 10:25:56 -07:00
Alex Crawford
dbb5920071 Revert "coreos-base/coreos-metadata: bump to v0.10.0"
This reverts commit 6adf0ea778cdd90fbbdd29350511bf4291702105.
2017-05-31 08:43:44 -07:00
Fabian Ruff
fc2a26c11d Allow kubelet to load missing kernel modules
The `kubenet` network plugin uses `ebtables` to set up some [dedup rules](0480917b55/pkg/kubelet/network/kubenet/kubenet_linux.go (L808)). `ebtables` tries to automatically load missing `ebt_*` kernel modules when first used. Without access to `/lib/modules` this fails and `kubenet` subsequently fails to ensure the ebtables rules.
2017-05-31 09:15:13 +02:00
David Michael
1659319fb6 Merge pull request #2587 from dm0-/subkey
coreos-base/coreos-init: ship the new subkey in coreos-install
2017-05-30 13:02:31 -07:00
David Michael
a448855d9a coreos-base/coreos-init: ship the new subkey in coreos-install 2017-05-30 12:20:01 -07:00
David Michael
cbe102142b enter_chroot: initialize with mantle in cros_workon 2017-05-26 14:43:42 -07:00