From 806c09e3f06c58567bd53c8f19f08adaf6f20837 Mon Sep 17 00:00:00 2001 From: SergeySlice Date: Thu, 18 Aug 2022 19:59:24 +0300 Subject: [PATCH] exclude embedded drivers from release Signed-off-by: SergeySlice --- ebuild.sh | 20 ++++++++++---------- hebuild.sh | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/ebuild.sh b/ebuild.sh index be61ef20f8..eda6b9ca95 100755 --- a/ebuild.sh +++ b/ebuild.sh @@ -805,11 +805,11 @@ MainPostBuildScript() { copyBin "$BUILD_DIR_ARCH"/$efi.efi "$CLOVER_PKG_DIR"/EFI/CLOVER/drivers/$DRIVERS_LEGACY/$efi.efi done - binArray=( AppleImageCodec AppleKeyAggregator ) - for efi in "${binArray[@]}" - do - copyBin "$BUILD_DIR_ARCH"/$efi.efi "$CLOVER_PKG_DIR"/EFI/CLOVER/drivers/$DRIVERS_OFF/$DRIVERS_LEGACY/FileVault2/$efi.efi - done +# binArray=( AppleImageCodec AppleKeyAggregator ) +# for efi in "${binArray[@]}" +# do +# copyBin "$BUILD_DIR_ARCH"/$efi.efi "$CLOVER_PKG_DIR"/EFI/CLOVER/drivers/$DRIVERS_OFF/$DRIVERS_LEGACY/FileVault2/$efi.efi +# done binArray=( ApfsDriverLoader FSInject ) for efi in "${binArray[@]}" @@ -829,11 +829,11 @@ MainPostBuildScript() { copyBin "$BUILD_DIR_ARCH"/$efi.efi "$CLOVER_PKG_DIR"/EFI/CLOVER/drivers/$DRIVERS_UEFI/$efi.efi done - binArray=( AppleImageCodec AppleKeyAggregator ) - for efi in "${binArray[@]}" - do - copyBin "$BUILD_DIR_ARCH"/$efi.efi "$CLOVER_PKG_DIR"/EFI/CLOVER/drivers/$DRIVERS_OFF/$DRIVERS_UEFI/FileVault2/$efi.efi - done +# binArray=( AppleImageCodec AppleKeyAggregator ) +# for efi in "${binArray[@]}" +# do +# copyBin "$BUILD_DIR_ARCH"/$efi.efi "$CLOVER_PKG_DIR"/EFI/CLOVER/drivers/$DRIVERS_OFF/$DRIVERS_UEFI/FileVault2/$efi.efi +# done if [[ $M_NOGRUB -eq 0 ]]; then binArray=( GrubEXFAT GrubISO9660 GrubNTFS GrubUDF ) diff --git a/hebuild.sh b/hebuild.sh index cf8d3f3cb1..985b6d196a 100755 --- a/hebuild.sh +++ b/hebuild.sh @@ -781,11 +781,11 @@ MainPostBuildScript() { copyBin "$BUILD_DIR_ARCH"/$efi.efi "$CLOVER_PKG_DIR"/EFI/CLOVER/drivers/$DRIVERS_LEGACY/$efi.efi done - binArray=( AppleImageCodec AppleKeyAggregator ) - for efi in "${binArray[@]}" - do - copyBin "$BUILD_DIR_ARCH"/$efi.efi "$CLOVER_PKG_DIR"/EFI/CLOVER/drivers/$DRIVERS_OFF/$DRIVERS_LEGACY/FileVault2/$efi.efi - done +# binArray=( AppleImageCodec AppleKeyAggregator ) +# for efi in "${binArray[@]}" +# do +# copyBin "$BUILD_DIR_ARCH"/$efi.efi "$CLOVER_PKG_DIR"/EFI/CLOVER/drivers/$DRIVERS_OFF/$DRIVERS_LEGACY/FileVault2/$efi.efi +# done binArray=( ApfsDriverLoader ) for efi in "${binArray[@]}" @@ -804,11 +804,11 @@ MainPostBuildScript() { copyBin "$BUILD_DIR_ARCH"/$efi.efi "$CLOVER_PKG_DIR"/EFI/CLOVER/drivers/$DRIVERS_UEFI/$efi.efi done - binArray=( AppleImageCodec AppleKeyAggregator ) - for efi in "${binArray[@]}" - do - copyBin "$BUILD_DIR_ARCH"/$efi.efi "$CLOVER_PKG_DIR"/EFI/CLOVER/drivers/$DRIVERS_OFF/$DRIVERS_UEFI/FileVault2/$efi.efi - done +# binArray=( AppleImageCodec AppleKeyAggregator ) +# for efi in "${binArray[@]}" +# do +# copyBin "$BUILD_DIR_ARCH"/$efi.efi "$CLOVER_PKG_DIR"/EFI/CLOVER/drivers/$DRIVERS_OFF/$DRIVERS_UEFI/FileVault2/$efi.efi +# done if [[ $M_NOGRUB -eq 0 ]]; then binArray=( GrubEXFAT GrubISO9660 GrubNTFS GrubUDF )