https://bugzilla.redhat.com/show_bug.cgi?id=2357907



--- Comment #10 from Gerd Hoffmann <[email protected]> ---
> > It's mostly testing efi apps.  The one which might be interesting
> > beyond that is netboot.efi.  A challenge on the way to package that
> > is that right now there seems to be no way to tell rust2rpm that
> > something should be compiled for target $(arch)-unknown-uefi.
> 
> This probably will always require some manual work to tell cargo how to
> compile things ... I'm not sure if there's even *any* existing packages in
> Fedora that compile for "non-native" targets like that. Though it should be
> possible by replacing `%cargo_build` with the call to `cargo` and passing
> all necessary arguments.

That works indeed.
https://copr.fedorainfracloud.org/coprs/kraxel/rust.vendor/package/rust-virtfw-efi-apps/
https://download.copr.fedorainfracloud.org/results/kraxel/rust.vendor/fedora-rawhide-x86_64/08890024-rust-virtfw-efi-apps/rust-virtfw-efi-apps.spec

Does it make sense to add support to rust2rpm, or cargo-rpm-macros, or both?
It'll probably continue to be something rarely used ...


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2357907

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202357907%23c10

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to