Skip to content

Exclude .empty and .DS_Store files in makeV2 and buildpkg #739

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 27, 2025

Conversation

stevezhengshiqi
Copy link
Contributor

@stevezhengshiqi stevezhengshiqi commented Jun 25, 2025

This PR will keep .empty where they are and only exclude them during zip.

Currently, makeV2 will zip the CloverV2 folder that includes .empty under CloverV2/EFI/BOOT and many other folders, resulting sym/CloverV2.zip including all these files

./CloverPackage/sym/CloverV2/EFI/CLOVER/misc/.empty
./CloverPackage/sym/CloverV2/EFI/CLOVER/ACPI/origin/.empty
./CloverPackage/sym/CloverV2/EFI/CLOVER/ACPI/WINDOWS/.empty
./CloverPackage/sym/CloverV2/EFI/CLOVER/ACPI/patched/.empty
./CloverPackage/sym/CloverV2/EFI/CLOVER/kexts/10.11/.empty
./CloverPackage/sym/CloverV2/EFI/CLOVER/kexts/Other/.empty
./CloverPackage/sym/CloverV2/EFI/CLOVER/kexts/11/.empty
./CloverPackage/sym/CloverV2/EFI/CLOVER/kexts/10.14/.empty
./CloverPackage/sym/CloverV2/EFI/CLOVER/kexts/10.13/.empty
./CloverPackage/sym/CloverV2/EFI/CLOVER/kexts/10.12/.empty
./CloverPackage/sym/CloverV2/EFI/CLOVER/kexts/10.15/.empty
./CloverPackage/sym/CloverV2/EFI/CLOVER/kexts/12/.empty
./CloverPackage/sym/CloverV2/EFI/CLOVER/kexts/13/.empty
./CloverPackage/sym/CloverV2/EFI/CLOVER/kexts/14/.empty
./CloverPackage/sym/CloverV2/EFI/CLOVER/kexts/Off/.empty
./CloverPackage/sym/CloverV2/EFI/CLOVER/ROM/.empty

Similarly, .DS_Store files have to be cleaned.
Clover_DS_Store

@stevezhengshiqi stevezhengshiqi changed the title makeV2: Exclude all .empty and .DS_Store files when zip CloverV2 Exclude .empty and .DS_Store files in makeV2 and buildpkg Jun 27, 2025
@chris1111 chris1111 merged commit dcf909f into CloverHackyColor:master Jun 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants