diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2020-03-28 15:05:37 +0000 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2020-03-28 15:14:35 +0000 |
commit | f6ce9210f1621196f07a4b29ee197e43f55008dd (patch) | |
tree | ae43138b4a00d0a70e43b5680a33a142d0bd55ff | |
parent | factory-default: set limits.d for users group (diff) | |
download | portage-f6ce9210f1621196f07a4b29ee197e43f55008dd.tar.xz |
eclass/linux-build: copy config before running oldconfig
-rw-r--r-- | eclass/linux-build.eclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/linux-build.eclass b/eclass/linux-build.eclass index bfc68ff4..9255d3ea 100644 --- a/eclass/linux-build.eclass +++ b/eclass/linux-build.eclass @@ -336,6 +336,7 @@ _linux-build_src_prepare_build() { fi einfo "Checking configuration file" + cp -a "${BUILDDIR}/.config" "${BUILDDIR}/.config.old" if kernel_is -le 3 5 ; then emake oldnoconfig "${myopt[@]}" else |