image.bbclass, kernel.bbclass: create warning file about deleting deploydir files
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Tue, 16 Aug 2011 17:13:04 +0000 (18:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Aug 2011 16:29:18 +0000 (09:29 -0700)
commit9a8d49d647f14ff40953a00959564208f498c8f8
treeed32e59d797c7f854a7189d8ed43a3959b5c51f3
parent1d0b32efa269dc0c403b5c77fb1a39a93f57c00f
image.bbclass, kernel.bbclass: create warning file about deleting deploydir files

New users sometimes delete files in tmp/deploy/images assuming they will
be re-created just by re-running the build, and then are confused when
this doesn't work. To discourage people from doing this, create a file
called README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt in
tmp/deploy/images containing an explanation of what needs to be done to
re-create files there.

Fixes [YOCTO #1315] and [YOCTO #1346].

(From OE-Core rev: 4316c5e9eec67d71f4699102a63a5f968bd8d1d9)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass
meta/classes/kernel.bbclass
meta/files/deploydir_readme.txt [new file with mode: 0644]