]> code.ossystems Code Review - openembedded-core.git/commit
wic: rawcopy: Copy source file to build folder
authorNoor Ahsan <noor_ahsan@mentor.com>
Wed, 23 Dec 2015 13:50:35 +0000 (15:50 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Jan 2016 13:40:03 +0000 (13:40 +0000)
commit33c52b1f2d39feb641465bf42e8b16d0ab22a316
treee8361452c03285febd90d9672f98a7bd3b53f306
parent7d0779b0133f253d06740653d8d1b8276dbcab7f
wic: rawcopy: Copy source file to build folder

When a file is given using --sourceparams then wic directly use that file
instead of copying them to build folder. At time of assembling it os.rename
is called which renames all the files to name. In that process the original
file is renamed. When image recipe is rebuilt then wic complains about
missing file which was renamed in previous build.

[YOCTO #8854]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/wic/plugins/source/rawcopy.py