From 443124b2d836334c341e1e4e60cfaf2573fe2137 Mon Sep 17 00:00:00 2001 From: David Michael Date: Thu, 18 Oct 2018 17:01:32 +0000 Subject: [PATCH] profiles: Exclude masking kernel headers Since the last portage update, the pattern behavior seems to have changed so that globbing matches subdirectories at any depth (which contradicts its documentation). Work around this by explicitly excluding the kernel modules from the pattern. This was breaking building some kernel modules in the developer container when the production image's /lib/modules was bind mounted into the container. --- .../profiles/coreos/targets/generic/prod/make.defaults | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/generic/prod/make.defaults b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/generic/prod/make.defaults index e87c9f4b35..e09e3f855f 100644 --- a/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/generic/prod/make.defaults +++ b/sdk_container/src/third_party/coreos-overlay/profiles/coreos/targets/generic/prod/make.defaults @@ -8,6 +8,7 @@ INSTALL_MASK="${INSTALL_MASK} /lib*/pkgconfig /usr/include /usr/lib*/*/include + -/usr/lib*/modules/*/include /usr/lib*/cmake /usr/lib*/debug /usr/lib*/pkgconfig