Clean up OLDCONFIG logic and default to OLDCONFIG=yes. This is for bug 207895

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@585 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Andrew Gaffney 17 years ago
parent 4faaee5d40
commit 5f3bff37d1

@ -2,6 +2,10 @@
# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2 # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
03 Feb 2008; Andrew Gaffney <agaffney@gentoo.org> gen_configkernel.sh,
genkernel.conf:
Clean up OLDCONFIG logic and default to OLDCONFIG=yes. This is for bug 207895
02 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> generic/linuxrc: 02 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> generic/linuxrc:
Moving the code to start resume operations so it doesn't run when booting Moving the code to start resume operations so it doesn't run when booting
from CD. We also don't execute the code if there's no real_resume set on the from CD. We also don't execute the code if there's no real_resume set on the

@ -44,14 +44,9 @@ config_kernel() {
print_info 1 ' Previous config backed up to .config.bak' print_info 1 ' Previous config backed up to .config.bak'
cp "${KERNEL_CONFIG}" "${KERNEL_DIR}/.config" || gen_die 'Could not copy configuration file!' cp "${KERNEL_CONFIG}" "${KERNEL_DIR}/.config" || gen_die 'Could not copy configuration file!'
fi fi
if isTrue "${CLEAN}" || isTrue "${OLDCONFIG}" if isTrue "${OLDCONFIG}"
then then
if ! isTrue "${CLEAN}"
then
print_info 1 'config: >> Running oldconfig...'
else
print_info 1 ' >> Running oldconfig...' print_info 1 ' >> Running oldconfig...'
fi
yes '' 2>/dev/null | compile_generic oldconfig kernel 2>/dev/null yes '' 2>/dev/null | compile_generic oldconfig kernel 2>/dev/null
fi fi
if isTrue "${CLEAN}" if isTrue "${CLEAN}"

@ -8,9 +8,7 @@
# =========Common Command Line Option Defaults========= # =========Common Command Line Option Defaults=========
# Run 'make oldconfig' before compiling this kernel? # Run 'make oldconfig' before compiling this kernel?
# If set to "yes", also suppresses the fetch of the kernel .config file from OLDCONFIG="yes"
# /etc/kernels, thus preserving the .config file in /usr/src/linux.
# OLDCONFIG="no"
# Run 'make menuconfig' before compiling this kernel? # Run 'make menuconfig' before compiling this kernel?
MENUCONFIG="no" MENUCONFIG="no"

Loading…
Cancel
Save