30065 Commits

Author SHA1 Message Date
Geoff Levand
2f86644c1c dev-util/cmake: Remove unused package
Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-08-06 10:29:50 -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
b1723c1aed Merge pull request #252 from marineam/tools
Add/update some useful tools
2015-08-05 19:12:51 -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
Michael Marineau
332e2623c7 bump(net-misc/whois): sync with upstream 2015-08-05 18:56:23 -07:00
Michael Marineau
2a992dca1f bump(dev-util/strace): sync with upstream 2015-08-05 18:55:41 -07:00
Michael Marineau
ac4d3aadc6 bump(net-dns/bind-tools): sync with upstream 2015-08-05 18:55:16 -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
39823544e9 Merge pull request #251 from crawford/socat
bump(net-misc/socat): sync with upstream
2015-08-05 18:25:24 -07:00
Alex Crawford
8aab5f8846 bump(net-misc/socat): sync with upstream 2015-08-05 18:17:28 -07:00
Alex Crawford
b7808aa6c5 app-admin/kubelet: add kubernetes kubelet 2015-08-05 18:16:18 -07:00
Michael Marineau
65e185cef0 Merge pull request #442 from glevand/for-merge-ldconfig
scripts: Run ldconfig in qemu
2015-08-05 17:50:53 -07:00
Nick Owens
64dd608bfe Merge pull request #443 from mischief/ci-roadmap
ROADMAP: add plans for ci integration
2015-08-05 17:17:39 -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
Nick Owens
4bb20d537b ROADMAP: add plans for ci integration 2015-08-05 17:08:08 -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
Geoff Levand
3f3b2f2e8c build_image: Run ldconfig in qemu
ldconfig does not work for non-native arches.  Create a new
build_image routine run_ldconfig that uses qemu user emulation
to run the board ldconfig on the board rootfs when the board and
SDK arches are different.

See: http://code.google.com/p/chromium/issues/detail?id=378377

Prior to calling run_ldconfig the board rootfs must have ldconfig
installed.  To arrange this move the call of run_ldconfig to after
the base package install.

Fixes build_image errors like these when building for arm64:

  /sbin/ldconfig: /lib64/libXXX is for unknown machine 183.

Signed-off-by: Geoff Levand <geoff@infradead.org>
2015-08-05 14:47:58 -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
c78e0aa3f1 Merge pull request #441 from marineam/kernel
setup_board: remove old kernel vars
2015-08-04 18:13:22 -07:00
Michael Marineau
d30fa4054a setup_board: remove old kernel vars
These are properly detected now.
2015-08-04 18:06:03 -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
ca38796a4a Merge pull request #440 from marineam/quiet
build_packages: reduce the noise that --depclean generates
2015-08-04 15:29:30 -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
f5970d877c build_packages: reduce the noise that --depclean generates 2015-08-04 14:46:09 -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