Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Feb 2, 2024
1 parent c486b59 commit 327e9d3
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
-
Expand Down

0 comments on commit 327e9d3

Please sign in to comment.