]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib/oe/path: Deploy files can start only with a dot
authorVyacheslav Yurkov <Vyacheslav.Yurkov@wika.com>
Thu, 2 Nov 2023 10:47:34 +0000 (11:47 +0100)
committerSteve Sakoman <steve@sakoman.com>
Thu, 30 Nov 2023 14:21:04 +0000 (04:21 -1000)
commitc45f3e00189e034157996b88103a83efec3e0cf6
treeaa62ccd3ca743c62aa9e56afbd2cfe81dbb2e23a
parentea871e7920726c7b2e57161092e21c62e6a5d91e
lib/oe/path: Deploy files can start only with a dot

There might be only hidden files deployed. In that case we don't need a
generic wildcard present in copy command, otherwise it fails with:

Exception: subprocess.CalledProcessError: Command 'cp -afl --preserve=xattr ./.??* ./* <BUILDDIR>/tmp/deploy/images/qemux86-64' returned non-zero exit status 1.

Subprocess output:
cp: cannot stat './*': No such file or directory

Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@wika.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f92c751281609ea6bd6b838307de4bc70bf26ab9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/lib/oe/path.py