Skip to content

pmb.install: remove QEMU emulation binary from device rootfs

Minecrell requested to merge Minecrell/pmbootstrap:qemu-binary into master

At the moment there is a weird (unusable) qemu-<arch>-static binary installed in /usr/bin/ on the device rootfs. This binary is only used by pmbootstrap for emulation during the installation.

It is compiled for the host arch instead of the device arch. Therefore, it is not usable on the device in any way:

samsung-a5ulte:~$ qemu-aarch64-static
/usr/bin/qemu-aarch64-static: line 1: syntax error: unexpected end of file

Remove it when copying the rootfs to the block device.

Merge request reports