2536 Commits

Author SHA1 Message Date
Nick Owens
6adadb896a Merge pull request #1332 from mischief/sfc
sys-kernel/coreos-kernel: enable sfc and mtd drivers
2015-07-01 18:50:15 -07:00
George Tankersley
9415e80fd1 Merge pull request #1334 from gtank/verity
bootengine: bump ebuild for verity generator
2015-07-01 18:35:03 -07:00
mischief
6b48095e48 sys-kernel/coreos-kernel: enable sfc and mtd drivers 2015-07-01 18:28:06 -07:00
Matthew Garrett
7be98f2fdc Enable kernel lockdowns in Secure Boot environments
Secure Boot is easy to work around unless the kernel restricts
userspace's ability to modify the kernel. Add kernel patches from Fedora
that do this.
2015-07-01 17:45:21 -07:00
George Tankersley
37446bff38 bootengine: bump ebuild for verity generator 2015-07-01 17:31:39 -07:00
Eugene Yakubovich
8f67ce4565 flannel: bump to v0.5.0 2015-07-01 14:44:39 -07:00
Matthew Garrett
7d9e123f97 Remove calls to host tools during selinux policy build
SELinux policies were attempting to run the host checkmodule and semodule
commands. The former is easy to fix via pointing them at the build root, the
latter we skip entirely because we don't want to install the policy at this
point - we'll do that during image build.
2015-07-01 11:58:10 -07:00
Patrick Baxter
601e5f58c0 Merge pull request #1330 from pbx0/mantle
coreos-devel/mantle: bump to latest commit
2015-07-01 11:47:03 -07:00
Patrick Baxter
94177003ac coreos-devel/mantle: bump to latest commit 2015-07-01 11:22:12 -07:00
Matthew Garrett
15c35fa751 Fix policycoreutils build
There was still some python leaking into this - skip building sepolicy
to avoid issues with cross-compilation.
2015-07-01 11:21:18 -07:00
Michael Marineau
c940294b1f Merge pull request #1327 from marineam/kernel
coreos-kernel: prepare for using patched kernels
2015-06-30 22:11:39 -07:00
Michael Marineau
9d10bb7bd4 coreos-kernel: prepare for using patched kernels
We will be carrying some patches so the version of the source code will
no longer be simply the upstream mainline version. A -coreos or
-coreos-r1 and so forth will be appended. A new variable defining the
source revision (e.g. -r1) has been added so we can continue to bump the
coreos-kernel revision independently of coreos-sources for minor things
like config updates.
2015-06-30 16:30:49 -07:00
mjg59
3e1ca9c8fd Merge pull request #1325 from mjg59/selinux
Add selinux build fixes
2015-06-30 13:53:32 -07:00
Michael Marineau
0e5f1f28b2 Merge pull request #1324 from marineam/kernel
coreos-kernel: slim down defconfig, bump to 4.0.7
2015-06-30 12:21:13 -07:00
Michael Marineau
46e8ae92b0 Merge pull request #1320 from marineam/ec2
ec2: disable new-style interface naming on Amazon
2015-06-30 12:18:19 -07:00
Matthew Garrett
01ae86a31e Add selinux build fixes
There were a couple of build failures due to selinux packages accidentally
relying on host packages.
2015-06-30 11:16:46 -07:00
Michael Marineau
f44a3fefb1 coreos-kernel: bump to 4.0.7 2015-06-29 17:28:12 -07:00
Michael Marineau
1fc1f49640 coreos-kernel: enable ip= kernel option
Fixes #1154
2015-06-29 17:28:12 -07:00
Michael Marineau
ff9b5fca12 coreos-kernel: prune amd64 down to the minimal defconfig
This strips down the config to just the non-default options, the arm64
kernel config is already in this minimal format.
2015-06-29 17:23:28 -07:00
Matthew Garrett
11c8fe6360 Update grub for dm-verity
Update grub to include support for passing through the dm-verity hash
2015-06-29 17:16:14 -07:00
mjg59
90bb5a2d94 Merge pull request #1311 from mjg59/master
Bring in custom selinux work
2015-06-29 17:13:34 -07:00
Michael Marineau
bbe5a5d9e3 Merge pull request #1321 from marineam/logrotate-fix
coreos-init: fix build
2015-06-29 16:13:43 -07:00
Michael Marineau
b5d84bf25f coreos-init: fix build 2015-06-29 16:11:57 -07:00
Matthew Garrett
193ef15b91 Fix up selinux policy
We need some additional selinux policy to get rkt working. Right now
this is a slightly rough cut - we'll tidy this up over time and ensure
that it's not overly permissive. In addition, ensure that policy is
installed in /usr rather than /etc and /var in order to allow upgrades
to work properly.
2015-06-29 13:36:29 -07:00
Matthew Garrett
07aa4a264b Enable selinux
Pull in various selinux bits that need modification, and enable them.

setools: Needs patching to support cross building
policycoreutils: Needs patching to remove python runtime dependency
sec-policy/*: We need custom policy modifications

In addition, modify selinux-policy-2.eclass to support pulling in selinux
includes from the build root rather than /, enable selinux in systemd's
use flags and enable selinux support in the kernel.
2015-06-29 13:33:45 -07:00
Geoff Levand
64abe9fe6c Merge pull request #1319 from glevand/for-merge-elfutils
dev-libs/elfutils: Fix compile error with stable
2015-06-29 12:56:42 -07:00
Geoff Levand
ea93fa6b69 dev-libs/elfutils: Fix compile error with stable
The update of the elfutils package for arm64 bumped the amd64 stable to
elfutils-0.158 which unfortunatly, has a cross compile bug.  Specify the
unstable ~amd64 (elfutils-0.161) to work around the problem.

Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-06-29 12:20:21 -07:00
Michael Marineau
72b4f3b2db ec2: disable new-style interface naming on Amazon
Before we can enable ixgbevf devices by default we need to prevent the
interface names from changing names and surprising folks. On the down
side this may surprise anyone manually enabling ixgbevf on their
instances but I expect that to be the smaller population.
2015-06-29 11:31:34 -07:00
Matthew Garrett
4efcf2f2ed Import selinux-related packages we need to modify 2015-06-29 11:31:21 -07:00
Geoff Levand
13174352d2 Merge pull request #1318 from glevand/for-merge-move2ps
coreos-overlay: Move to portage-stable
2015-06-29 10:58:38 -07:00
Michael Marineau
7791f49d87 coreos-init: update for logrotate support
btmp and wtmp will now be properly rotated, yay!

Masking of logrotate configs has moved to just apply to boards, leaving
them in the SDK can be a useful reference.
2015-06-29 10:16:30 -07:00
Alex Crawford
0fdaca48fe Merge pull request #1314 from crawford/docker
app-emulation/docker: revert to v1.6.2
2015-06-26 15:25:00 -07:00
Michael Marineau
763f8bb740 Merge pull request #1315 from marineam/bond
systemd: fix networkd bug for bond interfaces
2015-06-26 15:21:10 -07:00
Alex Crawford
453940db98 Revert "app-emulation/docker: bump to v1.7.0"
This reverts commit f1fbb70653ca256018aa418098766dba9c680f91.
2015-06-26 15:18:07 -07:00
Michael Marineau
1c9b4d4766 systemd: fix networkd bug for bond interfaces 2015-06-26 15:04:24 -07:00
Geoff Levand
774222a892 net-misc/iperf: Move to portage-stable
Local fixes no longer needed on sync with upstream.

Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-06-25 15:34:11 -07:00
Geoff Levand
3076170dda net-analyzer/nmap: Move to portage-stable
Local fixes no longer needed on sync with upstream.

Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-06-25 15:34:11 -07:00
Alex Crawford
dd02dab989 dev-db/etcd: bump to v2.0.13 2015-06-25 14:59:30 -07:00
Geoff Levand
cd56ab89ce dev-lang/python-oem: Change keyword ~arm64 to arm64
Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-06-25 13:19:35 -07:00
Geoff Levand
e17269de89 dev-lang/python-oem: Fix arm64 build
Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-06-25 13:19:35 -07:00
Geoff Levand
70a37c4420 app-emulation/xenstore: Updates for arm64
Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-06-25 13:19:35 -07:00
Michael Marineau
8d42808542 Merge pull request #1298 from cdwertmann/patch-1
replace TMPDIR with DOCKER_TMPDIR
2015-06-25 13:16:35 -07:00
Eugene Yakubovich
527d35bd29 flannel: bump to 0.4.1 2015-06-24 16:30:45 -07:00
Geoff Levand
07f5d38a14 Merge pull request #1296 from glevand/for-merge-1
coreos-overlay: fixes and updates
2015-06-24 15:42:35 -07:00
Christoph Dwertmann
825fc79bc5 app-emulation/docker: remove TMPDIR from environment 2015-06-25 08:09:25 +10:00
Geoff Levand
0e67726a39 Merge pull request #1309 from glevand/for-merge-btrfs
profile: Update to sys-fs/btrfs-progs-3.17.3
2015-06-24 14:49:19 -07:00
Alex Crawford
f39dbb8732 Merge pull request #1308 from marineam/lshw
coreos: add lshw to base image
2015-06-24 14:28:11 -07:00
Geoff Levand
55677f771c profile: Update to sys-fs/btrfs-progs-3.17.3
Sync package.accept_keywords with btrfs-progs updates in portage-stable.

Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-06-24 14:20:14 -07:00
Michael Marineau
ebe93cea3f coreos: add lshw to base image
An easy tool for reporting exactly what hardware we are dealing with.
2015-06-24 14:17:09 -07:00
Geoff Levand
30f4e3f018 eclass/coreos-kernel: Clear LDFLAGS for kernel
The LDFLAGS setting for package building is generally not suitable for building
the kernel, and on some architectures will even lead to kernel build errors.

Fixes errors like these on kernel architectures that do not set the LDFLAGS
variable:

  ld: unrecognized option '-Wl,-O1'

Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-06-24 14:08:36 -07:00