Provide option for running without fakeroot
While building an application Flatpak from .deb packages, the
`collect-app-source-code` is executed, running `fakeroot` for executing
apt commands. However, when building for a foreign architecture this
gets executed through `qemu-user-static`, which fails to run `fakeroot`.
As we're running as root inside the build containers, we can simply get
rid of `fakeroot`. This commit therefore adds a `--no-fakeroot`
command-line option for (optionally) running apt commands without
relying on `fakeroot`.
Signed-off-by:
Arnaud Ferraris <arnaud.ferraris@collabora.com>
parent
ffda0fc2
No related branches found
No related tags found
Please register or sign in to comment