Update self_hosted_patch.yml

Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
elseif 2025-06-19 10:04:58 +08:00 committed by GitHub
parent 9f5f72bb03
commit 70321348ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -413,7 +413,7 @@ jobs:
sudo apt-get install -y qemu-utils extlinux > /dev/null
truncate --size 128M install-image-$LATEST_VERSION.img
sudo qemu-nbd -c /dev/nbd0 -f raw install-image-$LATEST_VERSION.img
while [ ! -e "/dev/nbd0p1" ]; do
while [ ! -e "/dev/nbd0" ]; do
echo "wait $part ..."
sleep 0.2
done