git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@649
67a159dc-881f-0410-a524-
ba9dfbe2cb84
# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
+ Change sed delimeter
+
13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> gen_initramfs.sh:
We should edit the copy of the kconfig instead of the source file
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_DIR}/.config
+ sed -i "s|^.*CONFIG_INITRAMFS_SOURCE=.*$|CONFIG_INITRAMFS_SOURCE=\"${TMPDIR}/initramfs-${KV}.cpio.gz\"|" ${KERNEL_DIR}/.config
fi
if ! isTrue "${CMD_NOINSTALL}"