[yocto] [PATCH 9/9] image_types: Ensure /init exists for cpio rootfs archives

2011-12-21 Thread Darren Hart
NOTE: I'm looking for a more appropriate mechanism. In order for the kernel to accept an initramfs as a rootfs, it must have /init - even if it is an empty file. Touch /init to ensure it exists for cpio and cpio.gz image types. When used with initrd and rootfs=/dev/ram0, this allows the cpio and

[yocto] [PATCH 9/9] image_types: Ensure /init exists for cpio rootfs archives

2011-12-21 Thread Darren Hart
NOTE: I'm looking for a more appropriate mechanism. In order for the kernel to accept an initramfs as a rootfs, it must have /init - even if it is an empty file. Touch /init to ensure it exists for cpio and cpio.gz image types. When used with initrd and rootfs=/dev/ram0, this allows the cpio and