diff options
author | Nathan Rossi <nathan.rossi@xilinx.com> | 2014-12-09 15:50:05 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-31 10:19:05 +0000 |
commit | 6540ecdb3713dd4422e558ac83e621008f21f42c (patch) | |
tree | 727675ca72bb605ed5e0be64e67f8804d25f5dfa /scripts | |
parent | 84d0b6fd98e258ccfc696dd1cc8ff5ee4d6cf693 (diff) | |
download | poky-6540ecdb3713dd4422e558ac83e621008f21f42c.tar.gz |
image_types.bbclass: Populate cpio /init as symlink
For cpio/ramfs the kernel will first attempt to execute /init and will
emit the following error as the file is empty:
Failed to execute /init (error -13)
If /sbin/init exists symlink to it so the kernel can immediately start
the correct init executable instead of an empty file.
(From OE-Core rev: 3505558e067fdde4ab7aaaf3c50886f292d7c166)
(From OE-Core rev: 40bf6d0d71bd534fadcbc07b6fbba856e50bc534)
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions