generic-poky/scripts/lib/wic
Ed Bartosh 2d5b282957 wic: rawcopy: make source filenames unique
Rawcopy plugin copies source files to build folder before using them
to assemble result image. After assembling the image wic renames
source files to <image>.p<partition number>. If the same source file
is used in multiple partitions wic breaks trying to rename file that
doesn't exist.

Added <line number> suffix to the files when copying them to the
build dir. This should make filename unique even if the same source
file is used for multiple partitions.

[YOCTO #9826]

(From OE-Core rev: 43a809bfe99024083b4ab4eb9895b084c9c4fa80)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-21 07:47:52 +01:00
..
canned-wks wic: clone gummiboot wks for systemd-boot 2016-07-20 10:28:46 +01:00
config wic: get rid of scripts/lib/image 2015-09-03 12:43:25 +01:00
imager wic: implement --bmap option 2016-05-19 09:05:19 +01:00
plugins wic: rawcopy: make source filenames unique 2016-07-21 07:47:52 +01:00
utils wic: add bmaptool to the list of utilities 2016-05-19 09:05:19 +01:00
__init__.py wic: Rename /mic to /wic 2014-08-11 10:53:12 +01:00
__version__.py wic: Bump the version to 2.0 2014-08-11 10:53:12 +01:00
conf.py wic: use items instead of iteritems 2016-05-14 23:05:13 +01:00
creator.py wic: implement --bmap option 2016-05-19 09:05:19 +01:00
engine.py wic: implement --bmap option 2016-05-19 09:05:19 +01:00
filemap.py wic: use next builtin instead of .next method 2016-05-14 23:05:14 +01:00
help.py wic: encode help text 2016-06-02 08:24:01 +01:00
ksparser.py wic: mountpoint is an optional argument 2016-07-20 10:28:47 +01:00
msger.py wic: use next builtin instead of .next method 2016-05-14 23:05:14 +01:00
partition.py image-live, image-vm, wic: Remove fs size workaround 2016-06-03 13:13:30 +01:00
plugin.py wic: fix path parsing, use last occurrence 2016-05-20 10:20:55 +01:00
pluginbase.py wic: refactor pluginbase 2016-05-14 23:05:13 +01:00
test wic: Rename /mic to /wic 2014-08-11 10:53:12 +01:00