]> code.ossystems Code Review - openembedded-core.git/commit
wic: use absolute paths in rootfs plugin
authorEd Bartosh <ed.bartosh@linux.intel.com>
Fri, 28 Jul 2017 09:29:24 +0000 (12:29 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 30 Jul 2017 07:45:12 +0000 (08:45 +0100)
commita1c83cebe986e211dfc31be5cbd748f53fc298df
treeb7efffaa2a49eda59b908ea664a2cd37023e6970
parent92e1c7d47e695eb4ce1a863cd0f6c49dca1c2339
wic: use absolute paths in rootfs plugin

Using relative paths can cause copyhardlinktree API to fail as
it changes current directory when working. Converted all paths
to absolute paths using os.path.realpath.

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