Skip to content

Commit 8cab0b4

Browse files
committed
README/spec: Clarify requirements
On Fedora we now need the `podman-machine` package which pulls in `virtiofsd`. But also reorder and clean things up so that the MacOS/Fedora instructions are separate. Signed-off-by: Colin Walters <[email protected]>
1 parent 4c2708c commit 8cab0b4

File tree

2 files changed

+24
-19
lines changed

2 files changed

+24
-19
lines changed

README.md

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,11 @@ in alignment with the <https://github.com/containers/bootc> project.
99
- Be a backend for <https://github.com/containers/podman-desktop-extension-bootc>
1010
- Work on both MacOS and Linux
1111

12-
## Setup
13-
14-
Requirements:
15-
16-
- [bootc extension requirements](https://github.com/containers/podman-desktop-extension-bootc?tab=readme-ov-file#requirements)
17-
- (Even on Linux, you *must* set up `podman machine` with a rootful connection; see below)
18-
- `podman machine init --rootful --now`
19-
- qemu-system-x86_64 / qemu-system-aarch64
20-
- xorriso/osirrox
21-
- golang
22-
- libvirt-devel
23-
24-
25-
To compile it, just run in the project directory:
12+
### MacOS
2613

27-
```shell
28-
make
29-
```
14+
First be sure you have the Podman Desktop [bootc extension requirements](https://github.com/containers/podman-desktop-extension-bootc?tab=readme-ov-file#requirements).
3015

31-
### MacOS
32-
On MacOS you can use homebrew to install podman-bootc
16+
On MacOS you can use homebrew to install podman-bootc:
3317

3418
```
3519
brew tap germag/podman-bootc
@@ -50,6 +34,11 @@ brew install qemu
5034
or by other mean and make it available in the path.
5135

5236
### Fedora
37+
38+
You first must have `podman-machine` installed.
39+
It is required to have a *rootful* podman machine setup
40+
via e.g. `podman machine init --rootful --now`.
41+
5342
For Fedora 40 and Rawhide we provide a COPR repository.
5443
First, enable the COPR repository:
5544

@@ -64,6 +53,21 @@ then you can install `podman-bootc` as usual:
6453
sudo dnf -y install podman-bootc
6554
```
6655

56+
## Building from source:
57+
58+
Our generic dependencies:
59+
60+
- qemu-system-x86_64 / qemu-system-aarch64
61+
- xorriso/osirrox
62+
- golang
63+
- libvirt-devel
64+
65+
To compile it, just run in the project directory:
66+
67+
```shell
68+
make
69+
```
70+
6771

6872
## Running
6973

rpm/podman-bootc.spec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ BuildRequires: golang
2121
BuildRequires: make
2222
BuildRequires: libvirt-devel
2323

24+
Requires: podman-machine
2425
Requires: xorriso
2526
Requires: podman
2627
Requires: qemu

0 commit comments

Comments
 (0)