Skip to content

Commit

Permalink
Merge pull request egandro#3 from rojenzaman/main
Browse files Browse the repository at this point in the history
add Fedora ARM option
  • Loading branch information
egandro authored Jul 4, 2021
2 parents 57ad2cb + cb71e76 commit cf82412
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,20 @@ $ curl -o termux-setup.sh https://raw.githubusercontent.com/egandro/docker-qemu-
```


## Raspberry Pi
## Raspberry Pi OS


```bash
$ curl -o pi-setup.sh https://raw.githubusercontent.com/egandro/docker-qemu-arm/master/pi-setup.sh && chmod 755 ./pi-setup.sh && ./pi-setup.sh
```

## Fedora ARM

```bash
$ curl -o fedora-arm-setup.sh https://raw.githubusercontent.com/egandro/docker-qemu-arm/master/fedora-arm-setup.sh && chmod 755 ./fedora-arm-setup.sh && ./fedora-arm-setup.sh
```


## Postinstall & fun

- start the VM with "startqemu.sh"
Expand Down
14 changes: 14 additions & 0 deletions fedora-arm-setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

sudo dnf install -y qemu-system-x86-core edk2-ovmf expect wget

mkdir -p alpine
cd alpine
wget -q -c -t0 https://raw.githubusercontent.com/egandro/docker-qemu-arm/master/ssh2qemu.sh
chmod +x ./ssh2qemu.sh
wget -q -c -t0 https://raw.githubusercontent.com/egandro/docker-qemu-arm/master/startqemu.sh
chmod +x ./startqemu.sh
sed -i "s:\$PREFIX/share/qemu/edk2-x86_64-code.fd:/usr/share/edk2/ovmf/OVMF_CODE.fd:g" ./startqemu.sh
wget -q -c -t0 https://raw.githubusercontent.com/egandro/docker-qemu-arm/master/installqemu.expect
sed -i "s:\$env(PREFIX)/share/qemu/edk2-x86_64-code.fd:/usr/share/edk2/ovmf/OVMF_CODE.fd:g" ./installqemu.expect
expect -f installqemu.expect

0 comments on commit cf82412

Please sign in to comment.