Jump to content

Clover General discussion


ErmaC
29,866 posts in this topic

Recommended Posts

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 by vector sigma
typo
Link to comment
Share on other sites

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 :D

 

 image.thumb.png.263205805a9e826481a61038dbfe333f.png
 

Link to comment
Share on other sites

Just now, Andres ZeroCross said:

You're right,, i need to sudo xcode-select --switch xcodepath.

Trying again :D

this usually happen when Xcode is w/o the command line tools installed, i.e when Xcode was never opened once :lol:

ok tell me if you can compile :)

Link to comment
Share on other sites

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 :lol:


I have compiled AppleALC.kext before run "buildme" :D

I have Build Clover r5015 with this. I don't know why...

Link to comment
Share on other sites

17 minutes ago, Andres ZeroCross said:

Missing AptioMemoryFix??

Is this the first time you ask this? :P 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 by vector sigma
  • Like 1
Link to comment
Share on other sites

12 minutes ago, vector sigma said:

Is this the first time you ask this? :P 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

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 by chris1111
  • Thanks 1
Link to comment
Share on other sites

30 minutes ago, vector sigma said:

Is this the first time you ask this? :P 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 :D
image.png.3d64d717f4e43136acd7a9cefe2345f4.png

Link to comment
Share on other sites

37 minutes ago, vector sigma said:

Is this the first time you ask this? :P 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

 

image.png.c95c0298629a1b1bc490c625810e6e23.png

  • Like 1
Link to comment
Share on other sites

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 by stevezheng
  • Like 1
Link to comment
Share on other sites

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

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

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 by Matgen84
Link to comment
Share on other sites

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 by PMheart
Fixed a severe typo.
  • Like 2
  • Thanks 1
Link to comment
Share on other sites

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 :D

Edited by Andres ZeroCross
  • Haha 1
Link to comment
Share on other sites

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

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

  • Like 1
Link to comment
Share on other sites

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. 

  • Sad 1
Link to comment
Share on other sites

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?

  • Thanks 3
Link to comment
Share on other sites

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

  • Like 2
Link to comment
Share on other sites

@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

×
×
  • Create New...