diff options
author | Darren Hart <dvhart@linux.intel.com> | 2011-12-21 00:24:46 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-03 12:14:29 +0000 |
commit | db36190b7b8ca7e2f5ee966a780fd1ae42316560 (patch) | |
tree | a1323967fef2d5ea73b9869eb11c9eae0e2d6440 /meta/classes/dummy.bbclass | |
parent | b2266ed267eeba9e422d6845640855b5093b7657 (diff) | |
download | poky-db36190b7b8ca7e2f5ee966a780fd1ae42316560.tar.gz |
image_types: Ensure /init exists for cpio rootfs archives
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 cpio.gz images to be used as the rootfs.
(From OE-Core rev: 849b9aadae41d9b6777787213556bc538858b49a)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/dummy.bbclass')
0 files changed, 0 insertions, 0 deletions