Package initramfs into package. * Go badass with recursive bitbake invocation idea expressed on ML. * It works! But don't try with BB_NUMBER_THREADS > 1 or at home.
user
```bitbake
DESCRIPTION = "Boot initramfs as a package"
PR = "r1"

do_compile() {
	cd ${TOPDIR}; DISTRO=${USERDISTRO} MACHINE=${MACHINE} ANGSTROM_MODE=uclibc IMAGE_FSTYPES=cpio.gz DEPLOY_TO=${D}/boot/initramfs.bin bitbake initramfs-image
}

do_install() {
	install -d ${D}/boot/
	cd ${TOPDIR}; DISTRO=${USERDISTRO} MACHINE=${MACHINE} ANGSTROM_MODE=uclibc IMAGE_FSTYPES=cpio.gz DEPLOY_TO=${D}/boot/initramfs.bin bitbake initramfs-image -c deploy_to
}

FILES_${PN} += "/boot/*"

PACKAGE_ARCH = "${MACHINE_ARCH}"
```
assistant