Files
Ventoy/build-scripts/integration/sg2d/sg2d-get.sh
T

13 lines
455 B
Bash

#!/bin/bash
set -e
cd /tmp
rm -rf sg2drel sg2d.zip
curl -sL --max-time 900 "https://downloads.sourceforge.net/project/supergrub2/2.06s4/super_grub2_disk_2.06s4.zip" -o sg2d.zip
echo "zip size: $(stat -c %s sg2d.zip)"
mkdir -p sg2drel
7z x -y -osg2drel sg2d.zip >/dev/null
echo "=== contents:"
find sg2drel -maxdepth 2 -type f -printf ' %-60P %10s\n' | head -40
echo "=== efi files inside:"
find sg2drel -iname '*.efi' -printf ' %-60P %10s\n' | head -20