render / rpms / qemu

Forked from rpms/qemu a year ago
Clone

0373bd Fix riscv64 build

Authored and Committed by Andrea Bolognani 2 months ago
    Fix riscv64 build
    
    It currently fails with:
    
      RPM build errors:
      error: File not found: .../usr/lib/binfmt.d/qemu-riscv32-static.conf
    
    This is caused by the qemu-binfmt-conf.sh script assuming that
    all riscv64 CPUs can natively run riscv32 applications, which
    is actually not the case in practice.
    
    Backport a few patches from upstream. Once those have been
    applied, the script can be convinced to behave correctly, i.e.
    generate the file that until now was missing.
    
    Signed-off-by: Andrea Bolognani <abologna@redhat.com>
    
        
file modified
+16 -1