Closed frno7 closed 2 years ago
Commit 3e234f1fca19c8e212a4fddb7edd92dc9b498ce9 adds USE=static-user
for QEMU/R5900. I will attempt to get rid of
which should emerge automatically by dependency. I’ve also prepared commit https://github.com/frno7/gentoo.overlay/commit/0d431244cece8de8cb37544584ee207101f3d3fb to install binfmt_misc
, meaning R5900 programs will run as if they were native as x86_64, in the case of this specific Docker. It should be enough to do rc-update add qemu-mipsr5900el-binfmt
, and since this Docker won’t reboot, also rc-config start qemu-mipsr5900el-binfmt
, to make it ready.
Automatic dependencies in commit 952c7506e6d2186d2c107d6308e74c9d157137e6.
@AKuHAK, it’d be very good if
https://github.com/frno7/mipsr5900el-gentoo-linux-gnu/blob/9e01f44b0d5e04a496c8ac27e13494bf208eb63a/Dockerfile#L23
had
USE=static-user
, not only for greater compatibility mentioned in https://github.com/frno7/iopmod/pull/9#issuecomment-1105480840 but also, specifically for QEMU, its use with theschroot
command, mentioned in https://github.com/frno7/linux/issues/33#issuecomment-555535394, andbinfmt_misc
to run R5900 programs as if they were normal for the host: