summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/linux-build.eclass55
-rw-r--r--metadata/md5-cache/sys-kernel/longterm-sources-3.10.1022
-rw-r--r--metadata/md5-cache/sys-kernel/longterm-sources-3.12.622
-rw-r--r--metadata/md5-cache/sys-kernel/longterm-sources-3.14.772
-rw-r--r--metadata/md5-cache/sys-kernel/longterm-sources-3.18.402
-rw-r--r--metadata/md5-cache/sys-kernel/longterm-sources-3.2.822
-rw-r--r--metadata/md5-cache/sys-kernel/longterm-sources-3.4.1122
-rw-r--r--metadata/md5-cache/sys-kernel/longterm-sources-4.1.312
-rw-r--r--metadata/md5-cache/sys-kernel/longterm-sources-4.4.192
-rw-r--r--metadata/md5-cache/sys-kernel/stable-sources-4.6.72
-rw-r--r--metadata/md5-cache/sys-kernel/stable-sources-4.7.22
-rw-r--r--profiles/common/make.defaults4
12 files changed, 69 insertions, 10 deletions
diff --git a/eclass/linux-build.eclass b/eclass/linux-build.eclass
index a2e5dfd1..80a8efe9 100644
--- a/eclass/linux-build.eclass
+++ b/eclass/linux-build.eclass
@@ -134,6 +134,8 @@ linux-build_pkg_setup() {
}
_linux-build_src_prepare_build() {
+ local i
+
mkdir "${BUILDDIR}"
restore_config "${BUILDDIR}/.config"
@@ -150,6 +152,51 @@ _linux-build_src_prepare_build() {
echo "${CONFIG_CMDLINE}" > "${WORKDIR}/boot/kernel.arg"
fi
+ local -a BOOTLOADERS=(
+ sys-boot/grub:0 /boot/grub/grub.conf
+ )
+
+ for (( i = 0 ; i < ${#BOOTLOADERS[@]} ; i+=2 )) ; do
+ if has_version "${BOOTLOADERS[i]}" && [[ -e "${EPREFIX}/${BOOTLOADERS[i+1]}" ]] ; then
+ BOOTLOADER=Yes
+ BOOTLOADER_DIR="${BOOTLOADERS[i+1]%/*}"
+ BOOTLOADER_FILE="${BOOTLOADERS[i+1]##*/}"
+
+ break
+ fi
+ done
+
+ if [[ "${BOOTLOADER}" == "Yes" ]] ; then
+ KV_INSTALLED="$(best_version ${CATEGORY}/${PN}:${SLOT})"
+ KV_INSTALLED="${KV_INSTALLED/#${CATEGORY}\/${PN}-}"
+
+ if [[ -n "${KV_INSTALLED}" ]] ; then
+ mkdir -p "${WORKDIR}/bootloader/${BOOTLOADER_DIR}"
+
+ # Handle collision protect
+ for (( i = 0 ; i < 9999 ; i++ )) ; do
+ printf -v BOOTLOADER_PROTECTED_FILE "._cfg%04d_${BOOTLOADER_FILE}" "${i}"
+ if [[ ! -e "${EPREFIX}/${BOOTLOADER_DIR}/${BOOTLOADER_PROTECTED_FILE}" ]] ; then
+ break
+ fi
+ done
+
+ einfo "Generating ${BOOTLOADER_DIR}/${BOOTLOADER_FILE}"
+ sed -e "s@${KV_INSTALLED}${KV_EXTRA}@${KV_FULL}@g" \
+ "${EPREFIX}/${BOOTLOADER_DIR}/${BOOTLOADER_FILE}" \
+ > "${WORKDIR}/bootloader/${BOOTLOADER_DIR}/${BOOTLOADER_PROTECTED_FILE}"
+
+ if diff -q \
+ "${EPREFIX}/${BOOTLOADER_DIR}/${BOOTLOADER_FILE}" \
+ "${WORKDIR}/bootloader/${BOOTLOADER_DIR}/${BOOTLOADER_PROTECTED_FILE}" > /dev/null ; then
+
+ rm "${WORKDIR}/bootloader/${BOOTLOADER_DIR}/${BOOTLOADER_PROTECTED_FILE}"
+ fi
+
+ echo "CONFIG_PROTECT=${BOOTLOADER_DIR}/${BOOTLOADER_FILE}" > "${WORKDIR}/env.d_42-${PN}"
+ fi
+ fi
+
_linux-build_configval MODULES || ewarn "CONFIG_MODULES is not set"
_linux-build_configval UEVENT_HELPER_PATH \
&& ewarn "CONFIG_UEVENT_HELPER_PATH should be empty"
@@ -335,6 +382,14 @@ _linux-build_src_install_build() {
fperms 0400 "/etc/ssl/private/${PF}.key"
fi
+ if [[ -d "${WORKDIR}/bootloader/boot" ]] ; then
+ insinto /boot
+ doins -r "${WORKDIR}"/bootloader/boot/*
+
+ insinto /etc/env.d
+ newins "${WORKDIR}/env.d_42-${PN}" "42-${PN}"
+ fi
+
use savedconfig && save_config "${BUILDDIR}/.config"
}
diff --git a/metadata/md5-cache/sys-kernel/longterm-sources-3.10.102 b/metadata/md5-cache/sys-kernel/longterm-sources-3.10.102
index f326732f..af1b2013 100644
--- a/metadata/md5-cache/sys-kernel/longterm-sources-3.10.102
+++ b/metadata/md5-cache/sys-kernel/longterm-sources-3.10.102
@@ -11,5 +11,5 @@ REQUIRED_USE=symlink? ( source )
RESTRICT=binchecks strip
SLOT=3.10
SRC_URI=mirror://kernel/linux/kernel/v3.x/patch-3.10.102.xz mirror://kernel/linux/kernel/v3.x/linux-3.10.tar.xz
-_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build b2c236468551115998bad9af546c4cad multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
+_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build 31a7d47f9fa15b5144f6506bafd9c940 multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=c7c512ec445e6900edf313519cb2a1d6
diff --git a/metadata/md5-cache/sys-kernel/longterm-sources-3.12.62 b/metadata/md5-cache/sys-kernel/longterm-sources-3.12.62
index 6669689d..9b149b22 100644
--- a/metadata/md5-cache/sys-kernel/longterm-sources-3.12.62
+++ b/metadata/md5-cache/sys-kernel/longterm-sources-3.12.62
@@ -11,5 +11,5 @@ REQUIRED_USE=symlink? ( source )
RESTRICT=binchecks strip
SLOT=3.12
SRC_URI=mirror://kernel/linux/kernel/v3.x/patch-3.12.62.xz mirror://kernel/linux/kernel/v3.x/linux-3.12.tar.xz
-_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build b2c236468551115998bad9af546c4cad multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
+_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build 31a7d47f9fa15b5144f6506bafd9c940 multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=c7c512ec445e6900edf313519cb2a1d6
diff --git a/metadata/md5-cache/sys-kernel/longterm-sources-3.14.77 b/metadata/md5-cache/sys-kernel/longterm-sources-3.14.77
index 70bc58f8..70af4794 100644
--- a/metadata/md5-cache/sys-kernel/longterm-sources-3.14.77
+++ b/metadata/md5-cache/sys-kernel/longterm-sources-3.14.77
@@ -11,5 +11,5 @@ REQUIRED_USE=symlink? ( source )
RESTRICT=binchecks strip
SLOT=3.14
SRC_URI=mirror://kernel/linux/kernel/v3.x/patch-3.14.77.xz mirror://kernel/linux/kernel/v3.x/linux-3.14.tar.xz
-_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build b2c236468551115998bad9af546c4cad multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
+_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build 31a7d47f9fa15b5144f6506bafd9c940 multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=c7c512ec445e6900edf313519cb2a1d6
diff --git a/metadata/md5-cache/sys-kernel/longterm-sources-3.18.40 b/metadata/md5-cache/sys-kernel/longterm-sources-3.18.40
index 3c97f113..6a51766e 100644
--- a/metadata/md5-cache/sys-kernel/longterm-sources-3.18.40
+++ b/metadata/md5-cache/sys-kernel/longterm-sources-3.18.40
@@ -11,5 +11,5 @@ REQUIRED_USE=symlink? ( source )
RESTRICT=binchecks strip
SLOT=3.18
SRC_URI=mirror://kernel/linux/kernel/v3.x/patch-3.18.40.xz mirror://kernel/linux/kernel/v3.x/linux-3.18.tar.xz
-_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build b2c236468551115998bad9af546c4cad multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
+_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build 31a7d47f9fa15b5144f6506bafd9c940 multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=c7c512ec445e6900edf313519cb2a1d6
diff --git a/metadata/md5-cache/sys-kernel/longterm-sources-3.2.82 b/metadata/md5-cache/sys-kernel/longterm-sources-3.2.82
index 2ac46a65..44758b7b 100644
--- a/metadata/md5-cache/sys-kernel/longterm-sources-3.2.82
+++ b/metadata/md5-cache/sys-kernel/longterm-sources-3.2.82
@@ -11,5 +11,5 @@ REQUIRED_USE=symlink? ( source )
RESTRICT=binchecks strip
SLOT=3.2
SRC_URI=mirror://kernel/linux/kernel/v3.x/patch-3.2.82.xz mirror://kernel/linux/kernel/v3.x/linux-3.2.tar.xz
-_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build b2c236468551115998bad9af546c4cad multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
+_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build 31a7d47f9fa15b5144f6506bafd9c940 multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=c7c512ec445e6900edf313519cb2a1d6
diff --git a/metadata/md5-cache/sys-kernel/longterm-sources-3.4.112 b/metadata/md5-cache/sys-kernel/longterm-sources-3.4.112
index 42d4141c..73a0fbb8 100644
--- a/metadata/md5-cache/sys-kernel/longterm-sources-3.4.112
+++ b/metadata/md5-cache/sys-kernel/longterm-sources-3.4.112
@@ -11,5 +11,5 @@ REQUIRED_USE=symlink? ( source )
RESTRICT=binchecks strip
SLOT=3.4
SRC_URI=mirror://kernel/linux/kernel/v3.x/patch-3.4.112.xz mirror://kernel/linux/kernel/v3.x/linux-3.4.tar.xz
-_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build b2c236468551115998bad9af546c4cad multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
+_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build 31a7d47f9fa15b5144f6506bafd9c940 multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=c7c512ec445e6900edf313519cb2a1d6
diff --git a/metadata/md5-cache/sys-kernel/longterm-sources-4.1.31 b/metadata/md5-cache/sys-kernel/longterm-sources-4.1.31
index 2c7d856e..32f82b6e 100644
--- a/metadata/md5-cache/sys-kernel/longterm-sources-4.1.31
+++ b/metadata/md5-cache/sys-kernel/longterm-sources-4.1.31
@@ -11,5 +11,5 @@ REQUIRED_USE=symlink? ( source )
RESTRICT=binchecks strip
SLOT=4.1
SRC_URI=mirror://kernel/linux/kernel/v4.x/patch-4.1.31.xz mirror://kernel/linux/kernel/v4.x/linux-4.1.tar.xz
-_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build b2c236468551115998bad9af546c4cad multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
+_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build 31a7d47f9fa15b5144f6506bafd9c940 multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=c7c512ec445e6900edf313519cb2a1d6
diff --git a/metadata/md5-cache/sys-kernel/longterm-sources-4.4.19 b/metadata/md5-cache/sys-kernel/longterm-sources-4.4.19
index aec1f4e5..71e7dd52 100644
--- a/metadata/md5-cache/sys-kernel/longterm-sources-4.4.19
+++ b/metadata/md5-cache/sys-kernel/longterm-sources-4.4.19
@@ -11,5 +11,5 @@ REQUIRED_USE=symlink? ( source )
RESTRICT=binchecks strip
SLOT=4.4
SRC_URI=mirror://kernel/linux/kernel/v4.x/patch-4.4.19.xz mirror://kernel/linux/kernel/v4.x/linux-4.4.tar.xz
-_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build b2c236468551115998bad9af546c4cad multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
+_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build 31a7d47f9fa15b5144f6506bafd9c940 multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=c7c512ec445e6900edf313519cb2a1d6
diff --git a/metadata/md5-cache/sys-kernel/stable-sources-4.6.7 b/metadata/md5-cache/sys-kernel/stable-sources-4.6.7
index 0010c258..cd73f13d 100644
--- a/metadata/md5-cache/sys-kernel/stable-sources-4.6.7
+++ b/metadata/md5-cache/sys-kernel/stable-sources-4.6.7
@@ -11,5 +11,5 @@ REQUIRED_USE=symlink? ( source )
RESTRICT=binchecks strip
SLOT=4.6
SRC_URI=mirror://kernel/linux/kernel/v4.x/patch-4.6.7.xz mirror://kernel/linux/kernel/v4.x/linux-4.6.tar.xz
-_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build b2c236468551115998bad9af546c4cad multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
+_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build 31a7d47f9fa15b5144f6506bafd9c940 multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=d14e2c1aa303ac391201ab367cdddbe8
diff --git a/metadata/md5-cache/sys-kernel/stable-sources-4.7.2 b/metadata/md5-cache/sys-kernel/stable-sources-4.7.2
index 5defa1b0..18da57a3 100644
--- a/metadata/md5-cache/sys-kernel/stable-sources-4.7.2
+++ b/metadata/md5-cache/sys-kernel/stable-sources-4.7.2
@@ -11,5 +11,5 @@ REQUIRED_USE=symlink? ( source )
RESTRICT=binchecks strip
SLOT=4.7
SRC_URI=mirror://kernel/linux/kernel/v4.x/patch-4.7.2.xz mirror://kernel/linux/kernel/v4.x/linux-4.7.tar.xz
-_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build b2c236468551115998bad9af546c4cad multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
+_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 1b3d95e7eae2df31644c46e06246f14a linux-build 31a7d47f9fa15b5144f6506bafd9c940 multilib d062ae4ba2fc40a19c11de2ad89b6616 portability bb1a0ed8ea152b957d17339f01d4d7f5 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 c0ed2a2f233d3af6dd556048695dc5cb savedconfig 7de7daa586f6bf361639e77d6f2299db toolchain-funcs 6198c04daba0e1307bd844df7d37f423 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
_md5_=d14e2c1aa303ac391201ab367cdddbe8
diff --git a/profiles/common/make.defaults b/profiles/common/make.defaults
index c659ff06..10786742 100644
--- a/profiles/common/make.defaults
+++ b/profiles/common/make.defaults
@@ -84,3 +84,7 @@ EMERGE_DEFAULT_OPTS="-v --quiet-build=n --misspell-suggestions=n"
PORTAGE_STRIP_FLAGS="--strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.build-id -R .note.gnu.gold-version"
USE_EXPAND="TARGET"
+
+# Duplicate from base/make.defaults while removing /lib/modules
+# To keep in sync
+UNINSTALL_IGNORE="/var/run /var/lock"