I am not sure how the image is actually built, but I have tried to
build an image with appliance-creator on a RISC-V VM, and the built
image is bootable. In my case:
# dnf install appliance-tools
# wget
# vi fedora-riscv64-minimal-rawhide.ks
(enable repo and edit something to prevent errors by the following commend.)
# appliance-creator -n ThinCrust -c
fedora-riscv64-minimal-rawhide.ks --cache ./cache/
Then I have gotten ThinCrust/ThinCrust-sda.raw.xz file.
I have referred the following URLs to get the above steps.
Takayuki Nagata
2021年3月1日(月) 2:57 Richard W.M. Jones <rjones(a)redhat.com>:
On Sun, Feb 28, 2021 at 11:43:28PM +0800, Jinyan wrote:
> I tried to boot fedora in qemu according to the steps given in [1].
> During this process, I used the disk image named `Fedora-Developer-
> Rawhide-*.raw.xz`.
They are built by Koji, and TBH I'm not precisely sure how. I think
Koji has a way to compose disk images. CC-ing David Abdurachmanov who
runs the Koji RISC-V instance.
> I am curious about what is inside and how to
> compile and generate it. Where can I get the steps to generate it ?
If you mean how are the component RPMs built, then it's using the Koji
instance here:
http://fedora.riscv.rocks/koji/
and they are built in exactly the same way as any other Fedora
architecture, except we have our own Koji instance and RISC-V
hardware. The sources are the regular Fedora dist-git.
> Thank you
>
> [1]
https://fedoraproject.org/wiki/Architectures/RISC-V/Installing
You can use virt-install + anaconda to build your own disk image, and
that should work exactly the same as for any other architecture
(except for adjusting paths to point to the RISC-V repos rather than
the normal Fedora ones). In fact there are instructions on the page
linked above for using virt-install.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org
_______________________________________________
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure