From 0e3d2d202eeda0d08f92a7b65402c5cd6d437092 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Sun, 17 Nov 2013 23:11:54 -0800 Subject: [PATCH] fix(cros-kernel2.eclass): Fix STRIP_MASK and disable binchecks STRIP_MASK wasn't updated to the new vmlinux location earlier. RESTRICT=binchecks disables checks that only make sense for user space binaries. This silences a bogus scanelf error. --- .../src/third_party/coreos-overlay/eclass/cros-kernel2.eclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass b/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass index ea2322db51..c872f18ac9 100644 --- a/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass +++ b/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass @@ -13,7 +13,8 @@ DEPEND="sys-apps/debianutils " IUSE="-source" -STRIP_MASK="/usr/lib/debug/boot/vmlinux" +RESTRICT="binchecks" +STRIP_MASK="/usr/lib/debug/lib/modules/*/vmlinux" # Build out-of-tree and incremental by default, but allow an ebuild inheriting # this eclass to explicitly build in-tree.