From 327e9d3cd6944c2c2401cded77051114c396dd2d Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 2 Feb 2024 23:50:54 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ff221f1..fd061e5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -71,32 +71,22 @@ jobs: sudo rm -rf /tmp/iso/i386 sudo rm -rf /tmp/iso/guest-agent sudo rm -f /tmp/iso/virtio-win-gt-x86.msi + sudo rm -f /tmp/iso/virtio-win-gt-x64.msi sudo rm -f /tmp/iso/virtio-win-guest-tools.exe sudo rm -f /tmp/iso/guest-agent/qemu-ga-i386.msi # Remove debug symbols sudo find /tmp/iso -name "*.pdb" -type f -delete sudo find /tmp/iso -name "*.PDB" -type f -delete - # Exlcude XP x86 drivers - sudo mv /tmp/iso/NetKVM/xp/x86 /tmp/iso/NetKVM/xp/z86 - sudo mv /tmp/iso/viostor/xp/x86 /tmp/iso/viostor/xp/z86 # Remove binaries - sudo find /tmp/iso -name "ARM64" -type d -exec rm -rf {} + - sudo find /tmp/iso -name "Arm64" -type d -exec rm -rf {} + - sudo find /tmp/iso -name "arm64" -type d -exec rm -rf {} + + sudo find /tmp/iso -name "AMD64" -type d -exec rm -rf {} + + sudo find /tmp/iso -name "Amd64" -type d -exec rm -rf {} + + sudo find /tmp/iso -name "amd64" -type d -exec rm -rf {} + sudo find /tmp/iso -name "x86" -type d -exec rm -rf {} + sudo find /tmp/iso -name "X86" -type d -exec rm -rf {} + - # Include some XP x86 drivers - sudo mv /tmp/iso/NetKVM/xp/z86 /tmp/iso/NetKVM/xp/x86 - sudo mv /tmp/iso/viostor/xp/z86 /tmp/iso/viostor/xp/x86 + sudo find /tmp/iso -name "x64" -type d -exec rm -rf {} + + sudo find /tmp/iso -name "X64" -type d -exec rm -rf {} + fi echo & echo - wget "https://downloadmirror.intel.com/23295/eng/f6flpy-x86_11.2.0.1006.zip" -O "/tmp/satax86.zip" -q - wget "https://downloadmirror.intel.com/23295/eng/f6flpy-x64_11.2.0.1006.zip" -O "/tmp/satax64.zip" -q - mkdir -p /tmp/iso/sata/xp/x86 - mkdir -p /tmp/iso/sata/xp/amd64 - unzip /tmp/satax86.zip -d /tmp/iso/sata/xp/x86 - unzip /tmp/satax64.zip -d /tmp/iso/sata/xp/amd64 - echo & echo genisoimage -o /tmp/out.iso -r -iso-level 4 -input-charset iso8859-1 -V "virtio-win-${{ env.latest_tag }}" /tmp/iso mv /tmp/out.iso /tmp/virtio-win-${{ env.latest_tag }}.iso -