Skip to content

nsis: gitlab-ci: Improve QEMU Windows installer packaging

Bin Meng qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 42 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7scripts/nsis.py: Drop the unnecessary path separatorscripts/nsis.py+1 -12 replies
2/7scripts/nsis.py: Fix destination directory name when invoked on Windowsscripts/nsis.py+7 -53 replies
3/7scripts/nsis.py: Automatically package required DLLs of QEMU executablesmeson.build scripts/nsis.py+43 -48 replies
4/7.gitlab-ci.d/windows.yml: Drop the sed processing in the 64-bit build.gitlab-ci.d/windows.yml+0 -13 replies
5/7block/nfs: Fix 32-bit Windows buildblock/nfs.c+8 -07 replies
6/7.gitlab-ci.d/windows.yml: Unify the prerequisite packages.gitlab-ci.d/windows.yml+11 -17 replies
7/7.gitlab-ci.d/windows.yml: Test 'make installer' in the CI.gitlab-ci.d/windows.yml+19 -84 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchMarc-André LureauThomas HuthPhilippe Mathieu-DaudéStefan Weil
1/7R-b R-b
2/7R-b R-b T-b
3/7R-b T-b
4/7R-b R-b
5/7R-b
6/7
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/7] nsis: gitlab-ci: Improve QEMU Windows installer packaging

At present packaging the required DLLs of QEMU executables is a manual process, and error prone.

Improve scripts/nsis.py by adding a logic to automatically package required DLLs of QEMU executables.

'make installer' is tested in the cross-build on Linux in CI, but not in the Windows native build. Update CI to test the installer generation on Windows too.

During testing a 32-bit build issue was exposed in block/nfs.c and the fix is included in this series.

Bin Meng (7):
scripts/nsis.py: Drop the unnecessary path separator scripts/nsis.py: Fix destination directory name when invoked on
Windows
scripts/nsis.py: Automatically package required DLLs of QEMU
executables
.gitlab-ci.d/windows.yml: Drop the sed processing in the 64-bit build block/nfs: Fix 32-bit Windows build .gitlab-ci.d/windows.yml: Unify the prerequisite packages .gitlab-ci.d/windows.yml: Test 'make installer' in the CI

 meson.build              |  1 +
 block/nfs.c              |  8 ++++++
 .gitlab-ci.d/windows.yml | 40 ++++++++++++++++++++-------
 scripts/nsis.py          | 60 +++++++++++++++++++++++++++++++++-------
 4 files changed, 89 insertions(+), 20 deletions(-)
Signature · 1 line
2.34.1