3418 Commits

Author SHA1 Message Date
Michael Marineau
e290b05988 profiles: tell ccache to rewrite paths relative to $S
There are a number of ways the absolute path to a source file can make
it into the compiler output, some of which can prevent cached results
from being used when compiling related code in different locations.
The default source directory $S contains the package version so paths
need to be relative to it in order to work between package versions.
2015-08-07 17:44:21 -07:00
Michael Marineau
d426251f88 Merge pull request #1435 from marineam/usrfiles
nss-usrfiles: use proper compiler
2015-08-07 15:05:33 -07:00
Michael Marineau
419734a008 nss-usrfiles: use proper compiler
Without exporting CC make was defaulting to using `cc` as the compiler
which is the host compiler, not the cross compiler.
2015-08-07 15:02:22 -07:00
Vito Caputo
df752e6d04 Merge pull request #1434 from vcaputo/ignition-service-descriptions
sys-apps/ignition: add stage context to service descriptions.
2015-08-06 18:25:15 -07:00
Vito Caputo
eb22bca4ad sys-apps/ignition: add stage context to service descriptions. 2015-08-06 20:16:17 -04: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
5b2e6c2773 Merge pull request #1432 from crawford/kubelet
Revert "coreos-base/coreos: add kubelet"
2015-08-06 14:55:21 -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
Alex Crawford
df35820d96 Merge pull request #1429 from crawford/unit
app-admin/kubelet: fix typo in service unit
2015-08-06 00:19:47 -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
bbfe69dfc3 Merge pull request #1426 from marineam/tools
coreos: add strace, dig, mkpasswd
2015-08-05 19:14:50 -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
0bae3f232c Merge pull request #1424 from glevand/for-merge-ldconfig
coreos-overlay Enable qemu user mode emulation
2015-08-05 17:12:33 -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
Alex Crawford
e0212373b6 Merge pull request #1422 from crawford/install
add Install sections to etcd and fleet
2015-08-04 20:08:07 -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
mjg59
bb66990b54 Merge pull request #1411 from mjg59/master
Enable selinux
2015-08-03 15:39:47 -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
601e6a521e Merge pull request #1418 from pbx0/docker-backport
app-emulation/docker: backport libcontainer fix
2015-07-31 16:07:22 -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