seabios / seabios-bin split in Fedora - why?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to package OpenSBI RISC-V firmware for Fedora
(https://github.com/riscv/opensbi).  It's a similar situation to
SeaBIOS and other architecture firmware.  We have to cross-compile a
binary on potentially any Koji architecture, and end up with a noarch
package, because the final firmware blob can be installed on any
architecture too.

Here's my initial attempt:

  https://koji.fedoraproject.org/koji/taskinfo?taskID=36861731
  http://oirase.annexia.org/reviews/opensbi/opensbi.spec

I needed to use %global _binaries_in_noarch_packages_terminate_build 0
to stop RPM complaining about:

  error: Arch dependent binaries in noarch package

SeaBIOS uses the same workaround:

  https://src.fedoraproject.org/rpms/seabios/blob/master/f/seabios.spec

But also it builds an empty seabios package and then builds the binary
into seabios-bin.  Does anyone remember why that was needed?

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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux