]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
combo-layer: dont use bb.utils.rename
authorRoss Burton <ross.burton@arm.com>
Wed, 7 Dec 2022 16:36:49 +0000 (16:36 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Dec 2022 23:04:58 +0000 (23:04 +0000)
commitacc824693463a06c77951ce913dbd356e48f711e
treef3c9b9e02889ecd41faed95daca19e5818470bcf
parentae6c752a7056b956e83a6ff1c351bdaa1c53a7fd
combo-layer: dont use bb.utils.rename

Bitbake may not be configured, and bb isn't imported anyway.

Instead just use os.rename(), and take the filename from the file object
instead of duplicating logic.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 528f4fb3683d048537604e4562ea758968060d62)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
scripts/combo-layer