Skip to content

Commit c7eb02c

Browse files
committed
Add Fedora 39 root disk and qemu scripts
1 parent b054056 commit c7eb02c

11 files changed

Lines changed: 86 additions & 4 deletions

root-disks/.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ ubuntu18.04-cloudimg-ppc64el.qcow2
77
ubuntu21.04-cloudimg-ppc64el.qcow2
88
ubuntu21.10-cloudimg-ppc64el.qcow2
99
ubuntu22.04-cloudimg-ppc64el.qcow2
10-
fedora34-cloudimg-ppc64le.qcow2
11-
fedora36-cloudimg-ppc64le.qcow2
10+
fedora*-cloudimg-ppc64le.qcow2
1211
debian-sid-powerpc.qcow2

root-disks/Makefile

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ IMAGES += ubuntu21.10-cloudimg-ppc64el.qcow2
77
IMAGES += ubuntu22.04-cloudimg-ppc64el.qcow2
88
IMAGES += fedora34-cloudimg-ppc64le.qcow2
99
IMAGES += fedora36-cloudimg-ppc64le.qcow2
10+
IMAGES += fedora39-cloudimg-ppc64le.qcow2
1011
IMAGES += debian-sid-powerpc.qcow2
1112

1213
build: prepare cloud-init-user-data.img
@@ -72,16 +73,35 @@ ubuntu22.04-cloudimg-ppc64el.qcow2:
7273
sha256sum $@ > $@.sum
7374

7475
define wget_fedora
76+
$(call wget,$(1),"https://download.fedoraproject.org/pub/fedora-secondary/releases/$(2)/Cloud/ppc64le/images/$(3)")
77+
endef
78+
79+
define wget_fedora_old
7580
$(call wget,$(1),"https://archives.fedoraproject.org/pub/archive/fedora-secondary/releases/$(2)/Cloud/ppc64le/images/$(3)")
7681
endef
7782

7883
fedora34-cloudimg-ppc64le.qcow2:
79-
$(call wget_fedora,$@,34,Fedora-Cloud-Base-34-1.2.ppc64le.qcow2)
84+
$(call wget_fedora_old,$@,34,Fedora-Cloud-Base-34-1.2.ppc64le.qcow2)
8085
chmod a-w $@
8186
sha256sum $@ > $@.sum
8287

8388
fedora36-cloudimg-ppc64le.qcow2:
84-
$(call wget_fedora,$@,36,Fedora-Cloud-Base-36-1.5.ppc64le.qcow2)
89+
$(call wget_fedora_old,$@,36,Fedora-Cloud-Base-36-1.5.ppc64le.qcow2)
90+
chmod a-w $@
91+
sha256sum $@ > $@.sum
92+
93+
fedora37-cloudimg-ppc64le.qcow2:
94+
$(call wget_fedora,$@,37,Fedora-Cloud-Base-37-1.7.ppc64le.qcow2)
95+
chmod a-w $@
96+
sha256sum $@ > $@.sum
97+
98+
fedora38-cloudimg-ppc64le.qcow2:
99+
$(call wget_fedora,$@,38,Fedora-Cloud-Base-38-1.6.ppc64le.qcow2)
100+
chmod a-w $@
101+
sha256sum $@ > $@.sum
102+
103+
fedora39-cloudimg-ppc64le.qcow2:
104+
$(call wget_fedora,$@,39,Fedora-Cloud-Base-39-1.5.ppc64le.qcow2)
85105
chmod a-w $@
86106
sha256sum $@ > $@.sum
87107

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER10
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=fedora39-cloudimg-ppc64le.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-powernv $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER8
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=fedora39-cloudimg-ppc64le.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-powernv $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER9
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=fedora39-cloudimg-ppc64le.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-powernv $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=host
4+
export ACCEL=kvm
5+
export CLOUD_IMAGE=fedora39-cloudimg-ppc64le.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-pseries $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER10
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=fedora39-cloudimg-ppc64le.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-pseries $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER8
4+
export ACCEL=kvm
5+
export CLOUD_IMAGE=fedora39-cloudimg-ppc64le.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-pseries $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER8
4+
export ACCEL=tcg
5+
export CLOUD_IMAGE=fedora39-cloudimg-ppc64le.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-pseries $@
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
export CPU=POWER9
4+
export ACCEL=kvm
5+
export CLOUD_IMAGE=fedora39-cloudimg-ppc64le.qcow2
6+
7+
exec "$(dirname "$0")"/qemu-pseries $@

0 commit comments

Comments
 (0)