tRemove manual binfmt handling. - uwu - hardware bitcoin wallet software and build system HTML git clone https://git.parazyd.org/uwu DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit ce94c7f1ffc5ad785e4a69e1140d736a83a9ce82 DIR parent 7bc92cedc88d14f6cebf25960e6af4dc6f99d004 HTML Author: parazyd <parazyd@dyne.org> Date: Tue, 2 Feb 2021 22:08:27 +0100 Remove manual binfmt handling. Diffstat: M README.md | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) --- DIR diff --git a/README.md b/README.md t@@ -87,28 +87,14 @@ as new software versions are released. Further on, we need to setup `binfmt_misc`. Your system's kernel config should contain `CONFIG_BINFMT_MISC=m` or `CONFIG_BINFMT_MISC=y`. -Mount the `binfmt_misc` handler if it's not already: - -``` -# [ -d /proc/sys/fs/binfmt_misc ] || modprobe binfmt_misc -# [ -f /proc/sys/fs/binfmt_misc/register ] || mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc -``` - -After we have this, we need to register our format with procfs: - -``` -# echo ':arm:M::\x7fELF\x01\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x28\x00:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff:/qemu-wrapper:' > /proc/sys/fs/binfmt_misc/register -``` - -Once done, usually you should have an initscript to (re)start the binfmt -service. - On Gentoo/OpenRC: ``` # /etc/init.d/qemu-binfmt start ``` +On Devuan/Debian it should be automagic. + If all went well, we're done with our build environment and we can start compiling uwu!