Copy the original kconfig with a different name than the one used to build

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

@ -2,6 +2,9 @@
# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2 # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $ # $Header: $
14 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_package.sh:
Copy the original kconfig with a different name than the one used to build
14 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_package.sh: 14 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_package.sh:
Include original kconfig in kerncache If original kconfig exists in the Include original kconfig in kerncache If original kconfig exists in the
kerncache, use that for comparison to the current kconfig kerncache, use that for comparison to the current kconfig

@ -68,7 +68,7 @@ gen_kerncache()
cd "${KERNEL_DIR}" cd "${KERNEL_DIR}"
cp "${KERNEL_BINARY}" "${TEMP}/kerncache/kernel-${ARCH}-${KV}" || gen_die 'Could not the copy kernel for the kernel package!' cp "${KERNEL_BINARY}" "${TEMP}/kerncache/kernel-${ARCH}-${KV}" || gen_die 'Could not the copy kernel for the kernel package!'
cp "${KERNEL_DIR}/.config" "${TEMP}/kerncache/config-${ARCH}-${KV}" cp "${KERNEL_DIR}/.config" "${TEMP}/kerncache/config-${ARCH}-${KV}"
cp "${KERNEL_CONFIG}" "${TEMP}/kerncache/config-${ARCH}-${KV}" cp "${KERNEL_CONFIG}" "${TEMP}/kerncache/config-${ARCH}-${KV}.orig"
cp "${KERNEL_DIR}/System.map" "${TEMP}/kerncache/System.map-${ARCH}-${KV}" cp "${KERNEL_DIR}/System.map" "${TEMP}/kerncache/System.map-${ARCH}-${KV}"
if isTrue "${GENZIMAGE}" if isTrue "${GENZIMAGE}"
then then

Loading…
Cancel
Save