We should edit the copy of the kconfig instead of the source file
authorAndrew Gaffney <agaffney@gentoo.org>
Thu, 13 Mar 2008 21:25:18 +0000 (21:25 +0000)
committerAndrew Gaffney <agaffney@gentoo.org>
Thu, 13 Mar 2008 21:25:18 +0000 (21:25 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@648 67a159dc-881f-0410-a524-ba9dfbe2cb84

ChangeLog
gen_initramfs.sh

index 78f97dc666579542373adc5d7b36a4734ca7bddf..f3d2805474372738dcdd7f61a5e53c64246ca5dc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
+  We should edit the copy of the kconfig instead of the source file
+
   13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh,
   genkernel:
   Instead of copying the initramfs into the kernel tree, we now sed the
index 2d77d19b3d6516d77939e00058eec39682372d31..e5710c0b366bc361da4024ca91ad51764bf10864 100644 (file)
@@ -496,7 +496,7 @@ create_initramfs() {
        then
 #              cp ${TMPDIR}/initramfs-${KV} ${KERNEL_DIR}/usr/initramfs_data.cpio.gz
                mv ${TMPDIR}/initramfs-${KV} ${TMPDIR}/initramfs-${KV}.cpio.gz
-               sed -i "s/^.*CONFIG_INITRAMFS_SOURCE=.*$/CONFIG_INITRAMFS_SOURCE=\"${TMPDIR}/initramfs-${KV}.cpio.gz\"/" ${KERNEL_CONFIG}
+               sed -i "s/^.*CONFIG_INITRAMFS_SOURCE=.*$/CONFIG_INITRAMFS_SOURCE=\"${TMPDIR}/initramfs-${KV}.cpio.gz\"/" ${KERNEL_DIR}/.config
        fi
 
        if ! isTrue "${CMD_NOINSTALL}"