mirror of https://github.com/parazyd/arm-sdk.git
support gentoo's binfmt initscript
This commit is contained in:
parent
2bbc13f6d3
commit
4da2afd919
2
sdk
2
sdk
|
|
@ -56,6 +56,8 @@ load() {
|
|||
## initialize binfmt_misc if not already, needed to run qemu
|
||||
if [[ -f /etc/init.d/binfmt-support ]]; then
|
||||
sudo /etc/init.d/binfmt-support restart
|
||||
elif [[ -f /etc/init.d/qemu-binfmt ]]; then
|
||||
sudo /etc/init.d/qemu-binfmt restart
|
||||
else
|
||||
[[ -d /proc/sys/fs/binfmt_misc ]] \
|
||||
|| sudo modprobe binfmt_misc
|
||||
|
|
|
|||
Loading…
Reference in New Issue