2708 Commits

Author SHA1 Message Date
Alex Crawford
c64a446ad6 coreos-base/oem-rackspace-onmetal: fix race
Rather than doing this crazy rename during boot, just use the GRUB
config to pass net.ifnames=0 to the kernel.
2015-08-06 16:33:08 -07:00
Alex Crawford
c890b81797 Merge pull request #1431 from crawford/cpuset
sys-kernel: add patch for cpuset
2015-08-06 14:55:25 -07:00
Alex Crawford
d1e2fae8f4 Revert "coreos-base/coreos: add kubelet"
This reverts commit 04663d5e18ce0bdb4dd31f716fae6381b549eba5.
2015-08-06 14:36:53 -07:00
Alex Crawford
72c82d6ba8 sys-kernel: add patch for cpuset 2015-08-06 14:22:00 -07:00
Vito Caputo
63fe7ecd7b Merge pull request #1430 from vcaputo/ignition-files-before-etc
sys-apps/ignition: ignition-files.service before initrd-parse-etc.ser…
2015-08-06 00:21:38 -07:00
Vito Caputo
8abeb3e63c sys-apps/ignition: ignition-files.service before initrd-parse-etc.service
initrd-switch-root.target was too late, we get potentially killed during
the cleanup steps before that.  We also need to write files before
reloading etc since we may influence that in ignition-files.
2015-08-06 03:19:25 -04:00
Alex Crawford
4f96704072 coreos-base/coreos: add kubelet 2015-08-05 23:58:25 -07:00
Alex Crawford
61e6ce537f app-admin/kubelet: fix typo in service unit 2015-08-05 23:52:39 -07:00
Alex Crawford
e8010c3812 Merge pull request #1428 from crawford/unit
app-admin/kubelet: add service unit
2015-08-05 20:14:23 -07:00
Alex Crawford
ce1f29453a app-admin/kubelet: add service unit 2015-08-05 19:58:45 -07:00
Michael Marineau
004cbd95a6 coreos: add strace, dig, mkpasswd
Our image is officially Not Small™ so stop pretending it is.

For unknown reasons mkpasswd is bundled with whois.
2015-08-05 19:09:40 -07:00
Alex Crawford
f75d0a0c2e Merge pull request #1425 from crawford/kubelet
app-admin/kubelet: add kubernetes kubelet
2015-08-05 18:25:30 -07:00
Alex Crawford
b7808aa6c5 app-admin/kubelet: add kubernetes kubelet 2015-08-05 18:16:18 -07:00
Geoff Levand
7b8345df6d make.defaults: Enable qemu user mode emulation
Enable building arm64 qemu user mode emulation (qemu-aarch64) in
the SDK to allow for running target utilities like ldconfig during
the image build stage.

Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-08-05 14:54:10 -07:00
Michael Marineau
9a55d44fbb Merge pull request #1423 from marineam/subversion
subversion: set stable keywords
2015-08-05 01:52:57 -07:00
Michael Marineau
89f09297a4 subversion: set stable keywords
When moving this ebuild from portage-stable KEYWORDS was left all ~arch,
breaking the SDK build when the ebuilds were removed from
portage-stable.
2015-08-04 18:44:00 -07:00
Alex Crawford
b30e08c754 app-admin/fleet: add Install section 2015-08-04 18:19:22 -07:00
Alex Crawford
8accec2536 dev-db/etcd: add Install section 2015-08-04 18:19:22 -07:00
Michael Marineau
97a9b5afeb Merge pull request #1421 from marineam/selinux
Roll back selinux again :(
2015-08-04 15:34:36 -07:00
Michael Marineau
4f027489dc Merge pull request #1420 from marineam/kernel
Kernel build cleanup and update to 4.1.4
2015-08-04 14:47:11 -07:00
Michael Marineau
5945024466 Revert "Enable selinux"
This reverts commit 8c6bf0063605ecee4b82eba6c2f956f2b91af447.

A required package has not been added yet:

  emerge: there are no ebuilds to satisfy "sec-policy/selinux-dbus"
  dependency required by "sys-apps/dbus-1.8.16-r1::coreos[selinux]"
2015-08-04 14:31:16 -07:00
Michael Marineau
d1ac068b56 coreos: require dbus to have the correct selinux use flag
Prevents builds from skipping the dbus rebuild due to missing packages.
2015-08-04 14:29:34 -07:00
Michael Marineau
0130b46e88 coreos-firmware: bump to latest snapshot available in Gentoo
The linux-firmware project is missing the following, not sure why:

 * Missing firmware: ql2700_fw.bin (qla2xxx.ko)
 * Missing firmware: ql8300_fw.bin (qla2xxx.ko)
 * Missing firmware: ql2600_fw.bin (qla2xxx.ko)
2015-08-04 13:27:24 -07:00
Michael Marineau
1dd5366e65 coreos-kernel: bump amd64 kernel to 4.1.4 2015-08-04 13:01:04 -07:00
Michael Marineau
720b14f18b coreos-kernel: use $S for the build directory instead of source
Most operations are manipulating the build directory, making everything
overly verbose by having to reference $KBUILD_OUTPUT constantly. The
only command that actually needs to run from source directory is `make`.
2015-08-04 12:53:57 -07:00
Michael Marineau
cccf38e880 coreos-kernel: do not cache build directory
Using ccache alone offers almost as much speedup as preserving the build
directory and avoids problems caused by skipping `make clean` between
major kernel versions as is the case with 4.0 to 4.1.
2015-08-04 12:53:17 -07:00
Michael Marineau
e43e2ab5d7 coreos-kernel: fix up build and source symlinks
The symlinks the kernel build adds to the modules directory are always
absolute, forever preserving the value of $ROOT a binary package was
built with. Instead use a relative link for source, pointing to the
location coreos-sources gets installed to. For build just create a
directory containing .config which the linux-info eclass can use to
check kernel features during builds, allowing us to migrate away from
having to set up the /var/cache build directory even when the kernel
wasn't built.

For both cases they are irrelevant for production builds and can be
confusing to users so mask them.

This eclass now assumes it is used in conjunction with USE=symlink-usr
and installs modules directly to /usr/lib/modules instead of depending
on the /lib symlink. This makes no significant impact other than
silencing a warning portage emits about the relative source symlink.
2015-08-04 12:00:26 -07:00
Michael Marineau
b67ed0e671 coreos-kernel: use make olddefconfig
The `yes ""` thing is kinda silly, there is actually a command for it.
2015-08-03 23:08:44 -07:00
Michael Marineau
c9469921fa coreos-kernel: use savedconfig for stashing defconfig
Instead of leaving a reference defconfig in the cached build output use
the generic savedconfig system. This also provides a mechanism for
overriding the default defconfig locally but I don't know if anyone will
find that useful.
2015-08-03 22:59:23 -07:00
Matthew Garrett
a6b570c028 Remove policycoreutils tmpfiles.d fragment
This is already handled elsewhere and just causes a failure.
2015-08-03 15:35:50 -07:00
Matthew Garrett
e34ec94f7c Permit unknown policy objects
We're using a stripped down policy, so we don't care that certain tasks
may refer to policy objects that don't exist. Permit acts that reference
them.
2015-08-03 15:35:50 -07:00
Matthew Garrett
61a43d28d2 Enable selinux
Turn on selinux support in a subset of package builds
2015-08-03 15:35:50 -07:00
Matthew Garrett
1902176b93 Disable semanage policy store migration
This isn't necessary during out image builds, and is entirely irrelevant
for out upgrade process.
2015-08-03 15:35:50 -07:00
Matthew Garrett
8cad6a449c Remove unnecessary libsemanage ebuilds 2015-08-03 15:35:50 -07:00
Matthew Garrett
4aa8040a9e Include libsemanage 2015-08-03 15:35:50 -07:00
Michael Marineau
91895e057c Merge pull request #1417 from marineam/kernel
Linux 4.1.3
2015-08-03 14:05:39 -07:00
Patrick Baxter
61141a8955 app-emulation/docker: backport libcontainer fix
See https://github.com/coreos/bugs/issues/420 for more details.
2015-07-31 15:12:40 -07:00
Michael Marineau
1374059731 coreos-kernel: remove generated headers before build
This is a temporary hack for upgrading to 4.1. Later it should be
dropped again or we should just drop caching the kernel build directory
between builds, relying on ccache to keep kernel builds speedy instead.
2015-07-30 18:11:11 -07:00
Michael Marineau
38571f76d1 coreos-kernel: add 4.1.3 for amd64 2015-07-30 16:51:09 -07:00
Michael Marineau
f1aa056a02 coreos-kernel: move patches into a versioned directory 2015-07-30 16:51:09 -07:00
Michael Marineau
b57dfa3aa1 Merge pull request #1414 from marineam/audit
Enable audit
2015-07-30 15:41:35 -07:00
Geoff Levand
ac2764f77c Merge pull request #1370 from glevand/for-merge-bsdiff
coreos-overlay: dev-util/bsdiff: Change suffix sort to sais-lite
2015-07-30 15:20:11 -07:00
Vito Caputo
67c24c52e6 sys-kernel/bootengine: bump bootengine to include passwd/group utils
Also introduces dependency on sys-apps/shadow.
2015-07-30 16:11:40 -04:00
Brandon Philips
e8668db789 app-emulation/docker: add some hacking instructions 2015-07-29 23:04:07 -07:00
Michael Marineau
6e66b90ea5 profiles: enable audit in systemd and the kernel 2015-07-29 19:08:02 -07:00
Michael Marineau
e9a8f48f31 coreos-kernel: add use flag for controlling audit 2015-07-29 19:05:04 -07:00
Michael Marineau
942604b564 audit: add stand-alone rule loading service and CoreOS rules 2015-07-29 18:13:33 -07:00
Michael Marineau
87817c85d5 audit: add daemon use flag to toggle auditd and audisp 2015-07-29 16:57:59 -07:00
Nick Owens
9864ab0c55 Revert "app-admin/fleet: bump to v0.11.2"
This reverts commit 2a528f594babd71373a2477e68c89dd5b1161c06.
2015-07-29 16:52:59 -07:00
Geoff Levand
e755f081e9 dev-util/bsdiff: Change suffix sort to sais-lite
To avoid dependencies on dev-libs/libdivsufsort and dev-util/cmake convert bsdiff
from using the divsufsort suffix sort to using the sais-lite suffix sort from [1].

The need for an alternative suffix sort is discussed in [2] through [4].  A
dependency on dev-util/cmake is problematic as cmake cannot be cross-compiled and
a switch to sais-lite avoids this dependency.

 [1] https://sites.google.com/site/yuta256/sais
 [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=409664
 [3] https://github.com/sparkle-project/Sparkle/pull/515
 [4] e2b85ce4ea

Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-07-29 16:05:15 -07:00