File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
src/riscv-fs/riscv-ubuntu-22.04-24.04 Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 11---
2- title : Building the base x86 -ubuntu image
2+ title : Building the base riscv -ubuntu image
33authors :
44 - Harshil Patel
55---
66
7- This document provides instructions to create the "x86 -ubuntu" image. This image is a 22.04 Ubuntu image.
7+ This document provides instructions to create the "riscv -ubuntu" image. This image is a 22.04 Ubuntu image.
88
99## Directory map
1010
Original file line number Diff line number Diff line change 2121ubuntu_version=" $1 "
2222
2323if [[ " $ubuntu_version " == " 22.04" ]]; then
24- wget https://old-releases.ubuntu.com/releases/jammy/ubuntu-22.04.3-preinstalled-server-riscv64+unmatched.img.xz
25- unxz ubuntu-22.04.3-preinstalled-server-riscv64+unmatched.img.xz
24+ if [ ! -f ./ubuntu-22.04.3-preinstalled-server-riscv64+unmatched.img ]; then
25+ wget https://old-releases.ubuntu.com/releases/jammy/ubuntu-22.04.3-preinstalled-server-riscv64+unmatched.img.xz
26+ unxz ubuntu-22.04.3-preinstalled-server-riscv64+unmatched.img.xz
27+ fi
2628fi
2729
2830if [[ " $ubuntu_version " == " 24.04" ]]; then
29- wget https://old-releases.ubuntu.com/releases/noble/ubuntu-24.04-preinstalled-server-riscv64.img.xz
30- unxz ubuntu-24.04-preinstalled-server-riscv64.img.xz
31+ if [ ! -f ./ubuntu-24.04-preinstalled-server-riscv64.img ]; then
32+ wget https://old-releases.ubuntu.com/releases/noble/ubuntu-24.04-preinstalled-server-riscv64.img.xz
33+ unxz ubuntu-24.04-preinstalled-server-riscv64.img.xz
34+ fi
3135fi
3236
3337
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ source "qemu" "initialize" {
5353 headless = " true"
5454 disk_image = " true"
5555 boot_command = [
56+ " <wait10><enter>" ,
5657 " <wait120>" ,
5758 " ubuntu<enter><wait>" ,
5859 " ubuntu<enter><wait>" ,
You can’t perform that action at this time.
0 commit comments