35 lines
882 B
Markdown
35 lines
882 B
Markdown
# QEMU with rbd support (Alpine Linux)
|
|
|
|
Contain .apk package of qemu compiled with rbd support. (version 4.1.1-r0)
|
|
|
|
# Build it Yourself (Optional)
|
|
|
|
You can build these pacakge yourself by executing the following commands
|
|
on your alpine. First put the diff file into /home/apkbuild/. Then, excecute
|
|
the following commands
|
|
|
|
```bash
|
|
# Enter some password and remember it!
|
|
adduser apkbuild
|
|
|
|
# But apkbuild into sudoers list and add it to abuild group
|
|
echo "apkbuild ALL=(ALL) ALL" >> /etc/sudoers
|
|
sudo addgroup apkbuild abuild
|
|
|
|
su apkbuild
|
|
cd ~
|
|
git clone git://git.alpinelinux.org/aports
|
|
cd aports/main/qemu
|
|
abuild-keygen -a -i
|
|
|
|
git apply ~/diff
|
|
abuild -r
|
|
```
|
|
|
|
It would be under /home/apkbuild/packages/main/x86_64/
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
$(git clone git@code.ungleich.ch:ahmedbilal/qemu-with-rbd-alpine.git && cd qemu-with-rbd-alpine && apk add apks/*.apk --allow-untrusted)
|
|
```
|