Merge lp:~xnox/ubuntu-cdimage/riscv-header into lp:ubuntu-cdimage

Proposed by Dimitri John Ledkov
Status: Merged
Merged at revision: 1919
Proposed branch: lp:~xnox/ubuntu-cdimage/riscv-header
Merge into: lp:ubuntu-cdimage
Diff against target: 29 lines (+5/-0)
1 file modified
lib/cdimage/tree.py (+5/-0)
To merge this branch: bzr merge lp:~xnox/ubuntu-cdimage/riscv-header
Reviewer Review Type Date Requested Status
Steve Langasek Approve
Review via email: mp+394947@code.launchpad.net

Commit message

This will add

"""
RISC-V preinstalled server image
For RISC-V computers, such as SiFive HiFive Unleashed.
"""

In the HEADER.html card for the RISC-V image in the card on https://cdimage.ubuntu.com/ubuntu-server/daily-preinstalled/current/ after the "For modern Raspberry Pi boards (Pi 2, Pi 3 and Pi 4)."

To post a comment you must log in.
Revision history for this message
Steve Langasek (vorlon) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/cdimage/tree.py'
2--- lib/cdimage/tree.py 2020-10-26 11:39:26 +0000
3+++ lib/cdimage/tree.py 2020-12-07 12:16:55 +0000
4@@ -777,6 +777,7 @@
5 "powerpc": "Mac (PowerPC) and IBM-PPC (POWER5)",
6 "powerpc+ps3": "PlayStation 3",
7 "ppc64el": "PowerPC64 Little-Endian",
8+ "riscv64": "RISC-V",
9 "s390x": "IBM System z",
10 "sparc": "SPARC",
11 }
12@@ -875,6 +876,9 @@
13 sentences.append(
14 "For POWER8 Little-Endian computers, such as Power Systems "
15 "S8xxL/LC Linux-only servers.")
16+ elif arch == "riscv64":
17+ sentences.append(
18+ "For RISC-V computers, such as SiFive HiFive Unleashed.")
19 elif arch == "s390x":
20 sentences.append(
21 "For IBM System z series mainframes, such as IBM LinuxONE.")
22@@ -1117,6 +1121,7 @@
23 "ppc64el",
24 "hppa",
25 "ia64",
26+ "riscv64",
27 "s390x",
28 "sparc",
29 )

Subscribers

People subscribed via source and target branches