Fix for the segmentation fault in qemu
Without this I'm getting a constant segmentation fault when running go under qemu on Fedora 30: + export GOPATH=/root/go + GOPATH=/root/go + go get -u github.com/bettercap/bettercap qemu: uncaught target signal 11 (Segmentation fault) - core dumped bin/bash: line 52: 23146 Segmentation fault (core dumped) go get -u github.com/bettercap/bettercap https://bugs.launchpad.net/qemu/+bug/1696773
This commit is contained in:
parent
8c840f9c82
commit
30744a8dd5
@ -160,7 +160,7 @@ function provision_raspbian() {
|
|||||||
|
|
||||||
# install bettercap
|
# install bettercap
|
||||||
export GOPATH=/root/go
|
export GOPATH=/root/go
|
||||||
go get -u github.com/bettercap/bettercap
|
taskset -c 1 go get -u github.com/bettercap/bettercap
|
||||||
mv "\$GOPATH/bin/bettercap" /usr/bin/bettercap
|
mv "\$GOPATH/bin/bettercap" /usr/bin/bettercap
|
||||||
|
|
||||||
# install bettercap caplets (cant run bettercap in chroot)
|
# install bettercap caplets (cant run bettercap in chroot)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user