diff --git a/.github/workflows/build-iso-cuda.yml b/.github/workflows/build-iso-cuda.yml index 8957198..bb82b7a 100644 --- a/.github/workflows/build-iso-cuda.yml +++ b/.github/workflows/build-iso-cuda.yml @@ -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