]> code.ossystems Code Review - openembedded-core.git/commit
rootfsdebugfiles.bbclass: quick-and-dirty installation of additional files
authorPatrick Ohly <patrick.ohly@intel.com>
Mon, 13 Apr 2015 15:44:38 +0000 (08:44 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Apr 2015 10:05:58 +0000 (11:05 +0100)
commitae4d605d802edb4c8bdb2dbee1b0c36d7730c07f
tree1564e1767173c2d5640d9d1b7a4fb5422536cb2f
parentc520165f8fe7c01865ddb2565908211c0cfd2185
rootfsdebugfiles.bbclass: quick-and-dirty installation of additional files

The main motivation for this class was the observation that
a) a core-image can hang under qemu when the kernel does not
   have enough entropy to generate the ssh host key
b) ssh complains about changing ssh host key files when
   rebooting the same machine with different images

For debugging it is okay to reuse an ssh host key generated on the device
before. There may be also similar use cases, so the class is generic enough to
also copy more than one file or directory, with dropbear_rsa_host_key given as
example.

The documentation and naming of the class makes it clear that it
should not be used for production images.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rootfsdebugfiles.bbclass [new file with mode: 0644]