]> code.ossystems Code Review - openembedded-core.git/commit
bootimg-pcbios: make boot image file unique
authorEd Bartosh <ed.bartosh@linux.intel.com>
Tue, 13 Jun 2017 11:21:52 +0000 (14:21 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Jun 2017 09:18:19 +0000 (10:18 +0100)
commiteec6e946cce36cba304851fa4a1c1d7bfd7b0bed
treedec9740566ddd9c393fa7feb0ad9f37c23e8bc41
parentcc44e2eb3b5027a3531e6349937a23d73313b3c6
bootimg-pcbios: make boot image file unique

Plugin code uses boot.img file name for an image file. If there are
two partitions that use bootimg-pcbios wic breaks with an error
"file already exists: boot.img"

Made image file name unique by adding wks like number to it to fix
the issue.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/plugins/source/bootimg-pcbios.py