mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
kernel.bbclass: do not copy bundled initramfs to /boot
These files cause warnings because they don't get packaged, now that they don't land in kernel-vmlinux anymore. (From OE-Core rev: a49569e3a7534779bbe3f01a0647fd076c95798d) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e02affce3c
commit
fffc641a10
@@ -235,12 +235,6 @@ do_bundle_initramfs () {
|
|||||||
mv -f ${KERNEL_OUTPUT_DIR}/$type.bak ${KERNEL_OUTPUT_DIR}/$type
|
mv -f ${KERNEL_OUTPUT_DIR}/$type.bak ${KERNEL_OUTPUT_DIR}/$type
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
# Update install area
|
|
||||||
for type in ${KERNEL_IMAGETYPES} ; do
|
|
||||||
echo "There is kernel image bundled with initramfs: ${B}/${KERNEL_OUTPUT_DIR}/$type.initramfs"
|
|
||||||
install -m 0644 ${B}/${KERNEL_OUTPUT_DIR}/$type.initramfs ${D}/boot/$type-initramfs-${MACHINE}.bin
|
|
||||||
echo "${B}/${KERNEL_OUTPUT_DIR}/$type.initramfs"
|
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
do_bundle_initramfs[dirs] = "${B}"
|
do_bundle_initramfs[dirs] = "${B}"
|
||||||
|
|||||||
Reference in New Issue
Block a user