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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@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

Reply via email to