summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjannik <jannik.schleicher@stud.h-da.de>2022-02-22 19:01:25 +0100
committerXECDesign <XECDesign@users.noreply.github.com>2022-02-23 15:14:55 +0000
commitb2bd87c512e7b73bb00b55bf11f914d8b44c4f7b (patch)
tree5c6c0cd5de2d8c41bfacabecedac404be691375d
parentb1d54c82fec27414ee5200bdc2069a56ede8a1af (diff)
Add more binfmt errors and hints to README
-rw-r--r--README.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/README.md b/README.md
index beba5c2..44d8413 100644
--- a/README.md
+++ b/README.md
@@ -478,11 +478,16 @@ possible to make use of `pi-gen` on an x86_64 system, even though it will be run
ARM binaries. This requires support from the [`binfmt_misc`](https://en.wikipedia.org/wiki/Binfmt_misc)
kernel module.
-You may see the following error:
+You may see one of the following errors:
```
update-binfmts: warning: Couldn't load the binfmt_misc module.
```
+```
+W: Failure trying to run: chroot "/pi-gen/work/test/stage0/rootfs" /bin/true
+and/or
+chroot: failed to run command '/bin/true': Exec format error
+```
To resolve this, ensure that the following files are available (install them if necessary):
@@ -492,3 +497,5 @@ To resolve this, ensure that the following files are available (install them if
```
You may also need to load the module by hand - run `modprobe binfmt_misc`.
+
+If you are using WSL to build you may have to enable the service `sudo update-binfmts --enable` \ No newline at end of file