Skip to content

Commit

Permalink
Update README.md (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctang8550 authored Mar 18, 2022
1 parent c8f6520 commit e3918f7
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,32 @@
# How to run as a systemd service
# Building a local dev. environment (Ubuntu)

## Dependencies

- build-essential
- qemu
- qemu-kvm
- libvirt-dev
- make

### Installing libext2fs

```bash
cd /tmp
curl -LOv http://prdownloads.sourceforge.net/e2fsprogs/e2fsprogs-1.46.4.tar.gz
tar -xzf e2fsprogs-1.46.4.tar.gz
cd e2fsprogs-1.46.4
./configure
make && make install && make install-libs
```

### Installing libguestfs (v1.46)

```bash
curl -LOv https://raw.githubusercontent.com/projecteru2/footstone/master/yavirt-prebuild/init-libguestfs.sh
./init-libguestfs.sh
```

# Running as a systemd service

## Runtime dependencies

Expand Down Expand Up @@ -35,4 +63,3 @@ RestartSec=8s
[Install]
WantedBy=multi-user.target
```

0 comments on commit e3918f7

Please sign in to comment.