Create symlink to init named linuxrc. In preparation for the need to pack the cpio into the kernel

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@299 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Eric Edgar 20 years ago
parent f6e3bd9e5c
commit 3185bee368

@ -423,8 +423,6 @@ parse_cmdline() {
print_info 2 "CMD_LINUXRC: $CMD_LINUXRC"
;;
--genzimage)
KERNEL_MAKE_DIRECTIVE_2='zImage.initrd'
KERNEL_BINARY_2='arch/ppc/boot/images/zImage.initrd.chrp'
GENERATE_Z_IMAGE=1
print_info 2 "GENERATE_Z_IMAGE: $GENERATE_Z_IMAGE"
;;

@ -371,6 +371,9 @@ create_initramfs_aux() {
fi
fi
# Make a symlink to init .. incase we are bundled inside the kernel as one big cpio.
ln -s ${TEMP}/initramfs-aux-temp/init ${TEMP}/initramfs-aux-temp/linuxrc
if [ -f "${GK_SHARE}/${ARCH}/initrd.scripts" ]
then
cp "${GK_SHARE}/${ARCH}/initrd.scripts" "${TEMP}/initramfs-aux-temp/etc/initrd.scripts"

@ -4,6 +4,9 @@
KERNEL_MAKE_DIRECTIVE="vmlinux"
KERNEL_BINARY="vmlinux"
KERNEL_MAKE_DIRECTIVE_2='zImage.initrd'
KERNEL_BINARY_2='arch/ppc/boot/images/zImage.initrd.chrp'
# The dietlibc portion of busybox is commented out right now
# other stuff seems to compile fine though
USE_DIETLIBC=1

@ -2,9 +2,11 @@
# ppc/config.sh
KERNEL_MAKE_DIRECTIVE="vmlinux"
KERNEL_MAKE_DIRECTIVE_2=""
KERNEL_BINARY="vmlinux"
KERNEL_MAKE_DIRECTIVE_2='zImage.initrd'
KERNEL_BINARY_2='arch/ppc64/boot/images/zImage.initrd.chrp'
# The dietlibc portion of busybox is commented out right now
# other stuff seems to compile fine though
USE_DIETLIBC=1

Loading…
Cancel
Save