Browse Source

Merge pull request #77 from apodogrocki/MEN-2255

Give container access to host's kernel modules
1.1.x
Adam Podogrocki 6 years ago
committed by GitHub
parent
commit
1da5558f88
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      README.md
  2. 3
      docker-mender-convert

1
README.md

@ -90,7 +90,6 @@ After it finishes, you can find your images in the `output` directory on your ho
### Known issues
* BeagleBone images might not convert properly using this docker envirnoment due to permission issues: `mount: /mender-convert/output/embedded/rootfs: WARNING: device write-protected, mounted read-only.`
* Raspberrypi0w cpu isn't armv7+ architecture (it's armv6) and because of this mender client + u-boot fw_set/getenv tools are crashing when compiled with armv7 toolchain added in docker image. Pls use this forked [repo](https://github.com/nandra/mender-conversion-tools/commits/rpi0w-toolchain) to have it properly build with other armv6 toolchain.
* If building U-boot fails with:
```

3
docker-mender-convert

@ -10,4 +10,7 @@ mkdir -p output
docker run \
--mount type=bind,source="$MENDER_CONVERT_DIR,target=/mender-convert" \
--privileged=true \
--cap-add=SYS_MODULE \
-v /dev:/dev \
-v /lib/modules:/lib/modules:ro \
$IMAGE_NAME "$@"

Loading…
Cancel
Save