git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@647
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,
+ genkernel:
+ Instead of copying the initramfs into the kernel tree, we now sed the
+ kconfig to point CONFIG_INITRAMFS_SOURCE to the generated image
+
13 Mar 2008; Andrew Gaffney <agaffney@gentoo.org> sparc64/modules_load:
Add scsi_wait_scan to sparc64's MODULES_SCSI
if isTrue "${INTEGRATED_INITRAMFS}"
then
- cp ${TMPDIR}/initramfs-${KV} ${KERNEL_DIR}/usr/initramfs_data.cpio.gz
+# 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}
fi
if ! isTrue "${CMD_NOINSTALL}"
setup_cache_dir
-
dump_debugcache
NORMAL=${BOLD} print_info 1 "Linux Kernel ${BOLD}${KV}${NORMAL} for ${BOLD}${ARCH}${NORMAL}..."