Skip to content

Commit

Permalink
[unitree/cross] check binfmt_misc related to k-okada#61 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkmtnt7000 authored and iory committed Aug 2, 2022
1 parent 891fad3 commit d3f2c70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jsk_unitree_robot/cross/build_user.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ done
# add unitree repos
[ ${UPDATE_SOURCE_ROOT} -eq 0 ] || vcs import ${SOURCE_ROOT}/src < repos/unitree.repos

# check if /proc/sys/fs/binfmt_misc/qemu-* is updated
# See https://github.com/k-okada/jsk_robot/issues/61
docker run -it --rm ros1-unitree:${TARGET_MACHINE} bash -c 'exit' || docker run --rm --privileged multiarch/qemu-user-static --reset -p yes

# run on docker
docker run -it --rm \
-u $(id -u $USER) \
Expand Down

0 comments on commit d3f2c70

Please sign in to comment.