]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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:06:55 +0000 (11:06 +0100)
commitbef330582e5724a8ba3bcad755aab42b846a49ed
tree4452646e7ee9708647d62fe825af854a8f41d443
parente156b085cc0b570b7d152c5f6a1019a5aa7a6c34
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.

(From OE-Core rev: ae4d605d802edb4c8bdb2dbee1b0c36d7730c07f)

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]