vector sigma Posted July 15, 2019 Share Posted July 15, 2019 (edited) 29 minutes ago, Andres ZeroCross said: after run BuildMe,,, i type 5. After finish i type 1 and enter,, result as below Ha ha, stdio.h it is a very common header inside Xcode's sdk. what's the result of /usr/bin/xcodebuild -version && xcode-select --print-path ? Edited July 15, 2019 by vector sigma typo Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted July 15, 2019 Share Posted July 15, 2019 2 minutes ago, vector sigma said: Ha ha, stdio.h it is a very common header inside Xcode's sdk. wath's the result of /usr/bin/xcodebuild -version && xcode-select --print-path You're right,, i need to sudo xcode-select --switch xcodepath. Trying again Link to comment Share on other sites More sharing options...
vector sigma Posted July 15, 2019 Share Posted July 15, 2019 Just now, Andres ZeroCross said: You're right,, i need to sudo xcode-select --switch xcodepath. Trying again this usually happen when Xcode is w/o the command line tools installed, i.e when Xcode was never opened once ok tell me if you can compile Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted July 15, 2019 Share Posted July 15, 2019 Just now, vector sigma said: this usually happen when Xcode is w/o the command line tools installed, i.e when Xcode was never opened once I have compiled AppleALC.kext before run "buildme" I have Build Clover r5015 with this. I don't know why... Link to comment Share on other sites More sharing options...
vector sigma Posted July 15, 2019 Share Posted July 15, 2019 2 minutes ago, Andres ZeroCross said: I have Build Clover r5015 with this. I don't know why... "update Clover" doesn't work? Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted July 15, 2019 Share Posted July 15, 2019 5 minutes ago, vector sigma said: this usually happen when Xcode is w/o the command line tools installed, i.e when Xcode was never opened once ok tell me if you can compile Done 1 Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted July 15, 2019 Share Posted July 15, 2019 20 minutes ago, vector sigma said: "update Clover" doesn't work? Missing AptioMemoryFix?? Link to comment Share on other sites More sharing options...
vector sigma Posted July 15, 2019 Share Posted July 15, 2019 (edited) 17 minutes ago, Andres ZeroCross said: Missing AptioMemoryFix?? Is this the first time you ask this? joke. Anyway just before make the package copy any desired driver in the appropriate sub directory at: src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI in this case inside 'MemoryFix'. See the result. Edited July 15, 2019 by vector sigma 1 Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted July 15, 2019 Share Posted July 15, 2019 12 minutes ago, vector sigma said: Is this the first time you ask this? joke. Anyway just before make the package copy any desired driver in the appropriate sub directory at: src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI in this case inside 'MemoryFix'. See the result. Yes, this is my first time. I always use Clover from Official release, or from Did Clobber in Github. Will try it, thanks very much Link to comment Share on other sites More sharing options...
chris1111 Posted July 15, 2019 Share Posted July 15, 2019 (edited) 7 minutes ago, Andres ZeroCross said: Yes, this is my first time. I always use Clover from Official release, or from Did Clobber in Github. Will try it, thanks very much curl -L https://github.com/acidanthera/AptioFixPkg/releases/download/R26/AptioFix-R26-RELEASE.zip -o /tmp/AptioFix-R26-RELEASE.zip cd /tmp unzip AptioFix-R26-RELEASE.zip cp -r /tmp/Drivers/AptioInputFix.efi $HOME/Desktop/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI/MemoryFix cp -r /tmp/Drivers/AptioMemoryFix.efi $HOME/Desktop/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI/MemoryFix Edited July 15, 2019 by chris1111 1 Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted July 15, 2019 Share Posted July 15, 2019 30 minutes ago, vector sigma said: Is this the first time you ask this? joke. Anyway just before make the package copy any desired driver in the appropriate sub directory at: src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI in this case inside 'MemoryFix'. See the result. 12 minutes ago, chris1111 said: curl -L https://github.com/acidanthera/AptioFixPkg/releases/download/R26/AptioFix-R26-RELEASE.zip -o /tmp/AptioFix-R26-RELEASE.zip cd /tmp unzip AptioFix-R26-RELEASE.zip cp -r /tmp/Drivers/AptioInputFix.efi $HOME/Desktop/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI/MemoryFix cp -r /tmp/Drivers/AptioMemoryFix.efi $HOME/Desktop/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI/MemoryFix Thanks all Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted July 15, 2019 Share Posted July 15, 2019 37 minutes ago, vector sigma said: Is this the first time you ask this? joke. Anyway just before make the package copy any desired driver in the appropriate sub directory at: src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI in this case inside 'MemoryFix'. See the result. Just for the input, how about change this menu to this 1. Update Edk2 2. Update Clover 3. Build Clover 4. Make Pkg 5. Make ISO 6. Quit 1 Link to comment Share on other sites More sharing options...
stevezheng Posted July 15, 2019 Share Posted July 15, 2019 (edited) 28 minutes ago, chris1111 said: curl -L https://github.com/acidanthera/AptioFixPkg/releases/download/R26/AptioFix-R26-RELEASE.zip -o /tmp/AptioFix-R26-RELEASE.zip cd /tmp unzip AptioFix-R26-RELEASE.zip cp -r /tmp/Drivers/AptioInputFix.efi $HOME/Desktop/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI/MemoryFix cp -r /tmp/Drivers/AptioMemoryFix.efi $HOME/Desktop/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI/MemoryFix Hi, I have a question here: Is there a compatibility issue between AptioFix-R27-RELEASE.zip and Clover r5017, so that we have to use AptioFix-R26-RELEASE.zip? Edited July 15, 2019 by stevezheng 1 Link to comment Share on other sites More sharing options...
chris1111 Posted July 16, 2019 Share Posted July 16, 2019 44 minutes ago, stevezheng said: Hi, I have a question here: Is there a compatibility issue between AptioFix-R27-RELEASE.zip and Clover r5017, so that we have to use AptioFix-R26-RELEASE.zip? No you can use latest R27 I did not even check the R27 release 1 1 Link to comment Share on other sites More sharing options...
Matgen84 Posted July 16, 2019 Share Posted July 16, 2019 (edited) 8 hours ago, chris1111 said: curl -L https://github.com/acidanthera/AptioFixPkg/releases/download/R26/AptioFix-R26-RELEASE.zip -o /tmp/AptioFix-R26-RELEASE.zip cd /tmp unzip AptioFix-R26-RELEASE.zip cp -r /tmp/Drivers/AptioInputFix.efi $HOME/Desktop/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI/MemoryFix cp -r /tmp/Drivers/AptioMemoryFix.efi $HOME/Desktop/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers/off/UEFI/MemoryFix Great job, thanks The script must be modified for each AptioFix Release: how to check and download the latest version without changing the script. EDIT: AptioInputFix.efi wouldn't be in EFI/CLOVER/drivers/off/UEFI/MemoryFix, I think. But in EFI/CLOVER/drivers/off/UEFI/FileVault2. Just my opinion. Edited July 16, 2019 by Matgen84 Link to comment Share on other sites More sharing options...
Matgen84 Posted July 16, 2019 Share Posted July 16, 2019 Hi I download Buildme from Sourceforge: it's a DMS file, can"t extract. How do you do it. Please Link to comment Share on other sites More sharing options...
PMheart Posted July 16, 2019 Share Posted July 16, 2019 (edited) function abort() { echo "ERROR: ${1}" 1>&2 exit 1 } # # Get the latest release tag on GitHub. # # @param author Name of user/organization on GitHub # @param repo Repository belonging to the author # # @return latest tag of author/repo # function getGitHubLatestReleaseTag() { local author="$1" local repo="$2" if [ -z "${author}" ] || [ -z "${repo}" ]; then echo 'Author or repository is null!' 1>&2 exit 1 fi local url="https://api.github.com/repos/${author}/${repo}/releases" local tag="$(curl --silent "${url}" | grep 'tag_name' | head -n 1 | awk -F ":" '{print $2}' | tr -d '"' | tr -d ',' | tr -d ' ')" if [ -z "${tag}" ]; then abort "WARNING: Failed to retrieve latest tag of release from ${author}/${repo}." 1>&2 fi echo "${tag}" } # # Download a file from release page of author/repo. # # @param author Name of user/organization on GitHub # @param repo Repository belonging to the given author # @param tag Tag to search for, or null for latest # @param fileName Asset of the tag # function downloadGitHubRelease() { local author="$1" local repo="$2" local tag="$3" local fileName="$4" if [ -z "${author}" ] || [ -z "${repo}" ] || [ -z "${fileName}" ]; then abort 'Author/repository/file name is null!' fi if [ -z "${tag}" ]; then tag="$(getGitHubLatestReleaseTag "${author}" "${repo}")" fi local url="https://github.com/${author}/${repo}/releases/download/${tag}/${fileName}" curl --silent -L "${url}" -o "${fileName}" || abort "Failed to download ${fileName}!" } Tiny functions extracted from one of my scripts for download from GitHub release page. For this specific case, let's abstract it based on tag and fileName: - tag is Rxx, which can be retrieved by getGitHubLatestReleaseTag() - fileName, generally RELEASE is grabbed, then it would be "AptioFix-${tag}-RELEASE.zip" Edited July 17, 2019 by PMheart Fixed a severe typo. 2 1 Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted July 16, 2019 Share Posted July 16, 2019 (edited) Hi, @vector sigma How about chnage readme.md in Clover Source forge about ManualBuild Clover with your script or another script???https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/Readme.md Honestly,, for who want to start build clover will get some trouble to build if don't read some pages of this thread Edited July 16, 2019 by Andres ZeroCross 1 Link to comment Share on other sites More sharing options...
Badruzeus Posted July 16, 2019 Share Posted July 16, 2019 14 hours ago, vector sigma said: By the way can I ask why there's a need to use hfs instead of apfs? It is not clear to me if this is allowed.. Forget about Clover installation failure on Catalina with HFS+.. But the "javascript" error also occurred on 10.11.6 and 10.12.6 (which has no APFS support CMIIW). Plus, 10.13.6.. that I use daily. Does clover installer now only support APFS and drop 10.6 up to 10.12? But installer said HFS is supported either. Thanks. Link to comment Share on other sites More sharing options...
Andres ZeroCross Posted July 16, 2019 Share Posted July 16, 2019 1 minute ago, Badruzeus said: Forget about Clover installation failure on Catalina with HFS+.. But the "javascript" error also occurred on 10.11.6 and 10.12.6 (which has no APFS support CMIIW). Plus, 10.13.6.. that I use daily. Does clover installer now only support APFS and drop 10.6 up to 10.12? But installer said HFS is supported either. Thanks. Don't worry clover still support 10.16 -> 10.12,, let get a glass of coffee. LoL 1 Link to comment Share on other sites More sharing options...
Badruzeus Posted July 16, 2019 Share Posted July 16, 2019 1 minute ago, Andres ZeroCross said: Don't worry clover still support 10.16 -> 10.12,, let get a glass of coffee. LoL Not talking about Clover, but the installer package only. Though, I have say thanks to Chris1111, vector sigma for that javascript. I can only test and report, am unable to reproduce the problem.. and I believe no one asked me doing so #LOL. Just curious; filesystem restriction is Catalina problem (could be Beta bug either), why Clover even bother about it? I have no worry as rarely install Clover from *.pkg. But last time could not check my id.po translation on installer bcoz bloated javascript prevents it. 1 Link to comment Share on other sites More sharing options...
vector sigma Posted July 16, 2019 Share Posted July 16, 2019 2 hours ago, Badruzeus said: Forget about Clover installation failure on Catalina with HFS+.. But the "javascript" error also occurred on 10.11.6 and 10.12.6 (which has no APFS support CMIIW). Plus, 10.13.6.. that I use daily. Does clover installer now only support APFS and drop 10.6 up to 10.12? But installer said HFS is supported either. Thanks. Sorry but I've saw a post that you already figured out how to not run the problematic script, which is supposed to compare the system version of the boot volume to be not less of 10.14.9 to return true. I've answerd you that I'll fix it and later that I have a family and a job which mean that I have no time . Since nobody gave better indications how to solve the problem and to avoid further questions to which I have already given answers, the installer is back to normal, i.e. require users to make the file system read write before run the pkg. Hope no one will ask why until a proper fix will be made or why Installer.app will say to you to use "sudo mount -uw /" because has detected that we are going to install to the System partition... because is just true. I'll take a better look on it when I have time and hardware to test with. 5 hours ago, Matgen84 said: Hi I download Buildme from Sourceforge: it's a DMS file, can"t extract. How do you do it. Please It's inside Clover, so why don't you update Clover firstly? 3 Link to comment Share on other sites More sharing options...
vector sigma Posted July 16, 2019 Share Posted July 16, 2019 11 hours ago, Andres ZeroCross said: 1. Update Edk2 2. Update Clover 3. Build Clover 4. Make Pkg 5. Make ISO 6. Quit I like it to be "raw". Also when you call make (i.e. the make file) you have to write "make pkg" or "make iso" ... Make have no sense 2 Link to comment Share on other sites More sharing options...
Badruzeus Posted July 16, 2019 Share Posted July 16, 2019 @vector sigma Yeah absolutely, thanks.. Sorry I was bit confusing LoL. Anyway, ebuild.sh -d is debug version right? I tried uncomment it from script then rebuild but.. it looks like, debug.log & preboot.log from debug compared to those from release version are similar or.. was I missing something such as special boot-arg, etc? Another question: Are "-mc and --x64-mcp" same? Thanks again. Link to comment Share on other sites More sharing options...
Slice Posted July 16, 2019 Share Posted July 16, 2019 yes --mc is the same as --x64-mcp. Debug version is not supported for a while. We produce Release version with own debug abilities. 1 Link to comment Share on other sites More sharing options...
Recommended Posts