]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
devtool: refactor exec_fakeroot
authorAdrian Freihofer <adrian.freihofer@gmail.com>
Mon, 22 Jan 2024 13:58:23 +0000 (14:58 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 2 Feb 2024 10:36:53 +0000 (10:36 +0000)
commit6f5980d96844559639fc3660bb975b0bdd1aa523
tree98f5d08f3d217d7fa355bfda36a338f2c824c1b4
parente9c3c996f2e9a52462c4426f394798a211e53ae1
devtool: refactor exec_fakeroot

Provide a function exec_fakeroot_no_d which does the same like
exec_fakeroot does, but is usable independenlty from bitbake. This
allows to use the fanction from scripts where the d variable is not
available.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/__init__.py