[OE-core] [PATCH V2 0/2] Embedding initramfs images during kernel build.

Andrea Adami andrea.adami at gmail.com
Tue Jul 12 17:05:28 UTC 2011


For some reasons one line has been horribly truncated:

cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$i
^

below the correct line:

kernel_do_configure() {
	yes '' | oe_runmake oldconfig
	if [ ! -z "${INITRAMFS_IMAGE}" ]; then
		for img in cpio.gz cpio.lzo cpio.lzma; do
		if [ -e "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img" ]; then
			cp "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE}-${MACHINE}.$img" initramfs.$img
		fi
		done
	fi


Sorry

Andrea



On Tue, Jul 12, 2011 at 4:04 PM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> On Tue, 2011-07-12 at 00:33 +0200, Andrea Adami wrote:
>> * Sync with org.openembedded.dev and allow the inclusion of
>> * lzma and xz compressed initramfs images.
>> *
>> * Provide a convenient way to include an initramfs by setting
>> * INITRAMFS_IMAGE = "your_initramfs_image.bb"
>> * and specifying the chosen output format in the initramfs image recipe, e.g.
>> * IMAGE_FSTYPES = "cpio.gz cpio.lzma"
>>
>> Andrea Adami (2):
>>   kernel.bbclass: handle embedding of initramfs images
>>   image_types.bbclass: support xz compressed initramfs.cpio and
>>     tarballs
>
> Merged to master, thanks.
>
> Richard
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




More information about the Openembedded-core mailing list