wok-current rev 23937

qemu: add X86_64 efi bios
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 12 11:24:50 2020 +0000 (2020-09-12)
parents db796dcadf0a
children 0df2ff7fa4e2
files qemu/receipt
line diff
     1.1 --- a/qemu/receipt	Wed Sep 09 12:46:01 2020 +0000
     1.2 +++ b/qemu/receipt	Sat Sep 12 11:24:50 2020 +0000
     1.3 @@ -9,7 +9,7 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.5  WEB_SITE="http://qemu.org"
     1.6  WGET_URL="http://wiki.qemu.org/download/$TARBALL"
     1.7 -UEFIZIP="OVMF-IA32-r15214.zip"
     1.8 +UEFIZIP="OVMF-IA32-r15214.zip OVMF-X86-r15214.zip"
     1.9  EXTRA_SOURCE_FILES="$UEFIZIP"
    1.10  TAGS="virtualization emulator"
    1.11  
    1.12 @@ -23,11 +23,14 @@
    1.13  compile_rules()
    1.14  {
    1.15  	sed -i 's|uname -m|echo i486|' roms/openbios/utils/devbios/Makefile*
    1.16 -	mkdir -p $DESTDIR/usr/share/qemu/ia32
    1.17 +	mkdir -p $DESTDIR/usr/share/qemu/ia32 $DESTDIR/usr/share/qemu/x86
    1.18  
    1.19 -	[ -s $SOURCES_REPOSITORY/$UEFIZIP ] || wget -P $SOURCES_REPOSITORY \
    1.20 -		http://netassist.dl.sourceforge.net/project/edk2/OVMF/$UEFIZIP
    1.21 -	unzip $SOURCES_REPOSITORY/$UEFIZIP OVMF.fd -d $DESTDIR/usr/share/qemu/ia32
    1.22 +	for i in $UEFIZIP ; do
    1.23 +		[ -s $SOURCES_REPOSITORY/$i ] || wget -P $SOURCES_REPOSITORY \
    1.24 +			$SF_MIRROR/project/edk2/OVMF/$i
    1.25 +		unzip $SOURCES_REPOSITORY/$i OVMF.fd -d \
    1.26 +		  $DESTDIR/usr/share/qemu/$(echo $i | sed 's|OVMF-\(.*\)-.*|\1|;y|AIX|aix|')
    1.27 +	done
    1.28  
    1.29  	patch -p0 < $stuff/cloop.u
    1.30