Skip to content

Commit

Permalink
Fix patch
Browse files Browse the repository at this point in the history
  • Loading branch information
sasha0552 authored Dec 27, 2023
1 parent 69e5de0 commit 3beb033
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build-iso-cuda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,20 @@ jobs:
pacman --sync --noconfirm --needed archiso patch
# Apply patch to archiso
patch -p0 << 'EOF'
cat << 'EOF'
--- /usr/bin/mkarchiso
+++ /usr/bin/mkarchiso
@@ -1227,6 +1227,10 @@
if [[ -v cert_list ]]; then
_cms_sign_artifact "${airootfs_image_filename}"
fi
if [[ -v cert_list ]]; then
_cms_sign_artifact "${airootfs_image_filename}"
fi
+
+ _msg_info 'Removing the pacstrap directory...'
+ rm -rf -- "${pacstrap_dir:?}/"
+ _msg_info 'Done!'
}
# export build artifacts for netboot
}
# export build artifacts for netboot
EOF
# Build image
Expand Down

0 comments on commit 3beb033

Please sign in to comment.