[Qemu-devel] [PATCH v2] NSIS: Add missing firmware blobs

Philippe Mathieu-Daudé posted 1 patch 4 years, 9 months ago
Test docker-clang@ubuntu passed
Test s390x passed
Test asan passed
Test docker-mingw@fedora passed
Test FreeBSD passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190723070218.3606-1-philmd@redhat.com
Maintainers: Stefan Weil <sw@weilnetz.de>
qemu.nsi | 11 +++++++++++
1 file changed, 11 insertions(+)
[Qemu-devel] [PATCH v2] NSIS: Add missing firmware blobs
Posted by Philippe Mathieu-Daudé 4 years, 9 months ago
Various firmwares has been added in the pc-bios/ directory:

- CCW     (since commit 0c1fecdd523)
- skiboot (since commit bcad45de6a0)
- EDK2    (since commit f7fa38b74c3)

Since we install qemu-system able to run the architectures
targetted by these firmware, include them in the NSIS exe.

Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
v2: Add *.ndrv, update the Uninstall section (Stefan)
---
 qemu.nsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/qemu.nsi b/qemu.nsi
index 75f1608b9e..d0df0f4e3a 100644
--- a/qemu.nsi
+++ b/qemu.nsi
@@ -106,6 +106,9 @@ RequestExecutionLevel admin
 ;--------------------------------
 
 ; The stuff to install.
+;
+; Remember to keep the "Uninstall" section in sync.
+
 Section "${PRODUCT} (required)"
 
     SectionIn RO
@@ -122,6 +125,10 @@ Section "${PRODUCT} (required)"
     File "${BINDIR}\*.bmp"
     File "${BINDIR}\*.bin"
     File "${BINDIR}\*.dtb"
+    File "${BINDIR}\*.fd"
+    File "${BINDIR}\*.img"
+    File "${BINDIR}\*.lid"
+    File "${BINDIR}\*.ndrv"
     File "${BINDIR}\*.rom"
     File "${BINDIR}\openbios-*"
 
@@ -210,6 +217,10 @@ Section "Uninstall"
     Delete "$INSTDIR\*.bin"
     Delete "$INSTDIR\*.dll"
     Delete "$INSTDIR\*.dtb"
+    Delete "$INSTDIR\*.fd"
+    Delete "$INSTDIR\*.img"
+    Delete "$INSTDIR\*.lid"
+    Delete "$INSTDIR\*.ndrv"
     Delete "$INSTDIR\*.rom"
     Delete "$INSTDIR\openbios-*"
     Delete "$INSTDIR\qemu-img.exe"
-- 
2.20.1


Re: [Qemu-devel] [PATCH v2] NSIS: Add missing firmware blobs
Posted by Alex Bennée 4 years, 9 months ago
Philippe Mathieu-Daudé <philmd@redhat.com> writes:

> Various firmwares has been added in the pc-bios/ directory:
>
> - CCW     (since commit 0c1fecdd523)
> - skiboot (since commit bcad45de6a0)
> - EDK2    (since commit f7fa38b74c3)
>
> Since we install qemu-system able to run the architectures
> targetted by these firmware, include them in the NSIS exe.
>
> Reviewed-by: Stefan Weil <sw@weilnetz.de>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>

Queued to testing/next, thanks.
> ---
> v2: Add *.ndrv, update the Uninstall section (Stefan)
> ---
>  qemu.nsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>
> diff --git a/qemu.nsi b/qemu.nsi
> index 75f1608b9e..d0df0f4e3a 100644
> --- a/qemu.nsi
> +++ b/qemu.nsi
> @@ -106,6 +106,9 @@ RequestExecutionLevel admin
>  ;--------------------------------
>
>  ; The stuff to install.
> +;
> +; Remember to keep the "Uninstall" section in sync.
> +
>  Section "${PRODUCT} (required)"
>
>      SectionIn RO
> @@ -122,6 +125,10 @@ Section "${PRODUCT} (required)"
>      File "${BINDIR}\*.bmp"
>      File "${BINDIR}\*.bin"
>      File "${BINDIR}\*.dtb"
> +    File "${BINDIR}\*.fd"
> +    File "${BINDIR}\*.img"
> +    File "${BINDIR}\*.lid"
> +    File "${BINDIR}\*.ndrv"
>      File "${BINDIR}\*.rom"
>      File "${BINDIR}\openbios-*"
>
> @@ -210,6 +217,10 @@ Section "Uninstall"
>      Delete "$INSTDIR\*.bin"
>      Delete "$INSTDIR\*.dll"
>      Delete "$INSTDIR\*.dtb"
> +    Delete "$INSTDIR\*.fd"
> +    Delete "$INSTDIR\*.img"
> +    Delete "$INSTDIR\*.lid"
> +    Delete "$INSTDIR\*.ndrv"
>      Delete "$INSTDIR\*.rom"
>      Delete "$INSTDIR\openbios-*"
>      Delete "$INSTDIR\qemu-img.exe"


--
Alex Bennée