Sherlocks Posted September 8, 2019 Share Posted September 8, 2019 Just now, vector sigma said: I'll add to github as a separate repo. You can install them to /usr/local/bin and just write their name to call buildme and or to checkout them. easy! thank you Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689250 Share on other sites More sharing options...
LockDown Posted September 9, 2019 Share Posted September 9, 2019 @vector sigma Please enter your choice: 1 [CHECK XCODE] Status: gettext-0.20.1.tar.xz not found. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9127k 100 9127k 0 0 382k 0 0:00:23 0:00:23 --:--:-- 615k - Creating new RAM disk Initialized /dev/rdisk1 as a 300 MB case-insensitive HFS Plus volume - gettext-0.20.1 extract... - gettext-0.20.1 configure... - gettext-0.20.1 make... - gettext-0.20.1 installing... - gettext-0.20.1 installed in /Users/ellaosx/src/opt/local - Ejecting RAM disk "disk1" unmounted. "disk1" ejected. [BUILD CLOVER] TOOLCHAIN_DIR: /Users/ellaosx/src/opt/local MTOC_PREFIX: /usr/local/bin/ Status: nasm-2.14.02.tar.xz not found. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 808k 100 808k 0 0 108k 0 0:00:07 0:00:07 --:--:-- 163k - Creating new RAM disk Initialized /dev/rdisk1 as a 300 MB case-insensitive HFS Plus volume - nasm-2.14.02 extract... - nasm-2.14.02 configure... - nasm-2.14.02 make... - nasm-2.14.02 installing... - nasm-2.14.02 installed in /Users/ellaosx/src/opt/local - Ejecting RAM disk "disk1" unmounted. "disk1" ejected. NASM_PREFIX: /Users/ellaosx/src/opt/local/bin/ NASM_VER: 2.14.02 Building from: /Users/ellaosx/src/CloverBootloader ./ebuild.sh: line 544: EDK_TOOLS_PATH: unbound variable iMac:~ ellaosx$ Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689330 Share on other sites More sharing options...
MakAsrock Posted September 9, 2019 Share Posted September 9, 2019 (edited) 1 hour ago, ellaosx said: @vector sigma Please enter your choice: 1 [CHECK XCODE] Status: gettext-0.20.1.tar.xz not found. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9127k 100 9127k 0 0 382k 0 0:00:23 0:00:23 --:--:-- 615k - Creating new RAM disk Initialized /dev/rdisk1 as a 300 MB case-insensitive HFS Plus volume - gettext-0.20.1 extract... - gettext-0.20.1 configure... - gettext-0.20.1 make... - gettext-0.20.1 installing... - gettext-0.20.1 installed in /Users/ellaosx/src/opt/local - Ejecting RAM disk "disk1" unmounted. "disk1" ejected. [BUILD CLOVER] TOOLCHAIN_DIR: /Users/ellaosx/src/opt/local MTOC_PREFIX: /usr/local/bin/ Status: nasm-2.14.02.tar.xz not found. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 808k 100 808k 0 0 108k 0 0:00:07 0:00:07 --:--:-- 163k - Creating new RAM disk Initialized /dev/rdisk1 as a 300 MB case-insensitive HFS Plus volume - nasm-2.14.02 extract... - nasm-2.14.02 configure... - nasm-2.14.02 make... - nasm-2.14.02 installing... - nasm-2.14.02 installed in /Users/ellaosx/src/opt/local - Ejecting RAM disk "disk1" unmounted. "disk1" ejected. NASM_PREFIX: /Users/ellaosx/src/opt/local/bin/ NASM_VER: 2.14.02 Building from: /Users/ellaosx/src/CloverBootloader ./ebuild.sh: line 544: EDK_TOOLS_PATH: unbound variable iMac:~ ellaosx$ Just need to fix the line: export WORKSPACE="$PWD" to: export WORKSPACE=${WORKSPACE:-} ebuild.sh.zip Edited September 9, 2019 by MakAsus Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689340 Share on other sites More sharing options...
Slice Posted September 9, 2019 Share Posted September 9, 2019 WORKSPACE in this case will be imported from previous build. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689343 Share on other sites More sharing options...
Matgen84 Posted September 9, 2019 Share Posted September 9, 2019 Hi @vector sigma Can you make a change in your great script to backup user local Build script before update from source (SourceForge and Github version). It will very useful for those who add 'aptiomemoryfix R27' or others things... like personal theme for example. Thanks a lot Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689349 Share on other sites More sharing options...
vector sigma Posted September 9, 2019 Share Posted September 9, 2019 46 minutes ago, Slice said: WORKSPACE in this case will be imported from previous build. Hi, changes to ebuild.sh prevent the compilation of BaseTools in a fresh workspace (if WORKSPACE is already defined), i.e. there's no need to manually call make on it as it will be done automatically. 29 minutes ago, Matgen84 said: Hi @vector sigma Can you make a change in your great script to backup user local Build script before update from source (SourceForge and Github version). It will very useful for those who add 'aptiomemoryfix R27' or others things... like personal theme for example. Thanks a lot How? Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689353 Share on other sites More sharing options...
arsradu Posted September 9, 2019 Share Posted September 9, 2019 Hi guys, I guess I'm still missing something, cause I got the same error again... Not sure why. Yesterday it worked fine... Now it's back at: build.py... : error C0DE: Unknown fatal error when processing [/Users/jimmy/src/edk2/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf] This is what I'm using to build: cd ~ mkdir src cd src git clone https://github.com/CloverHackyColor/edk2.git --depth 1 cd edk2 svn co https://svn.code.sf.net/p/cloverefiboot/code/ Clover make -C BaseTools/Source/C source edksetup.sh cd Clover ./buildgettext.sh ./buildmtoc.sh ./buildnasm.sh ./ebuild.sh -fr cd CloverPackage ./makepkg 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689354 Share on other sites More sharing options...
Matgen84 Posted September 9, 2019 Share Posted September 9, 2019 12 minutes ago, vector sigma said: How? I don't known unfortunately Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689355 Share on other sites More sharing options...
Slice Posted September 9, 2019 Share Posted September 9, 2019 43 minutes ago, vector sigma said: Hi, changes to ebuild.sh prevent the compilation of BaseTools in a fresh workspace (if WORKSPACE is already defined), i.e. there's no need to manually call make on it as it will be done automatically. I encounter a problem that I was compiled Clover from ~/src/EDK2/Clover. There is WORKSPACE=Edk2. Then I switched to CloverBootloader from github and I can't compile because WORKSPACE is already defined to Edk2. How it can be resolved? O! Different bash windows for different projects! Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689362 Share on other sites More sharing options...
Matgen84 Posted September 9, 2019 Share Posted September 9, 2019 2 minutes ago, Badruzeus said: Plz refer to @fusion71au post here (to summarize): .. hmmb, I don't think https://github.com/CloverHackyColor/edk2.git is exist #btw And, not sure why `svn co` is executed later #LOL. I meant, yeah.. we have 2 repos on 2 diff locations #atm (which previously, was also confusing me.. though, seems normal on migration progress). Thanks. Hi @Badruzeus What do you mean: "I don't think https://github.com/CloverHackyColor/edk2.git is exist". I don't understand: I use it both SF script and Github script (replacing svn co by git checkout of course). I've made a mistake. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689369 Share on other sites More sharing options...
Badruzeus Posted September 9, 2019 Share Posted September 9, 2019 (edited) Hello. Haiku (BeOS) is EFI capable since Beta 1 last year. Any idea how to load this OS via Clover? Plz correct me if I'm wrong; BFS driver from grub has been exist since ancient Chameleon era with Legacy. With UEFI, I tried placing bfs_x64.efi from here onto \efi\clover\drivers\uefi.. but once I chainload \efi\boot\bootx64.efi (Haiku Bootloader from separated ESP) via Clover, the machine got frozen. Guessing, I missed something. Is there any special EFI FS which is Clover compatible or is not? Or, you may wanna take a look BFS efi driver from this repo? Thanks. Edited September 9, 2019 by Badruzeus 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689371 Share on other sites More sharing options...
arsradu Posted September 9, 2019 Share Posted September 9, 2019 (edited) 26 minutes ago, Badruzeus said: Plz refer to @fusion71au post here (to summarize): .. hmmb, I don't think https://github.com/CloverHackyColor/edk2.git is exist #btw And, not sure why `svn co` is executed later #LOL. I meant, yeah.. we have 2 repos on 2 diff locations #atm (which previously, was also confusing me.. though, seems normal on migration progress). Thanks. Hi Badruzeus! Thanks for the link. I'll check it out. https://github.com/CloverHackyColor/edk2.git definitely does exist. But I guess we shouldn't mix and match the new CloverHackyColor GIT repo with the old Clover SVN repo. Or if we do, as fusion said, we should probably use a specific edk2 revision from tianocore (with patches later on). I'll try using "git clone https://github.com/CloverHackyColor/CloverBootloader.git" though and see if that works. Funny thing is that, despite of that error, the build is actually completed successfully, and it works ok, for as far as I can tell. :)) Anyway, once again, thanks for the link. Edited September 9, 2019 by arsradu 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689374 Share on other sites More sharing options...
Badruzeus Posted September 9, 2019 Share Posted September 9, 2019 (edited) 19 minutes ago, Matgen84 said: Hi @Badruzeus What do you mean: "I don't think https://github.com/CloverHackyColor/edk2.git is exist". I don't understand: I use it both SF script and Github script (replacing svn co by git checkout of course). I've made a mistake. @arsradu @Matgen84 Oh my bad, it was mistake. Sorry for wrong comment; I thought he wanna clone CloverBootloader repo from github #LOL.. now I just realized it was EDKII. I have to correct that https://github.com/CloverHackyColor/edk2.git is exist. I deleted prev. confusing reply. Thanks anyway. #EDIT: Though, not sure since when this EDKII was exist #LMAO. Edited September 9, 2019 by Badruzeus 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689375 Share on other sites More sharing options...
Matgen84 Posted September 9, 2019 Share Posted September 9, 2019 6 minutes ago, arsradu said: Hi Badruzeus! Thanks for the link. I'll check it out. https://github.com/CloverHackyColor/edk2.git definitely does exist. But I guess we shouldn't mix and match the new CloverHackyColor GIT repo with the old Clover SVN repo. Or if we do, as fusion said, we should probably use a specific edk2 revision from tianocore (with patches later on). I'll try using "git clone https://github.com/CloverHackyColor/CloverBootloader.git" though and see if that works. Funny thing is that, despite of that error, the build is actually completed successfully, and it works ok, for as far as I can tell. :)) Anyway, once again, thanks for the link. @Slice said: same EDK2 is already patched in the two repo, I think. Why re-patch? I use two script: one for SF repo and one for Github repo to avoid confusing specially with svn: all works fine. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689377 Share on other sites More sharing options...
Slice Posted September 9, 2019 Share Posted September 9, 2019 https://github.com/CloverHackyColor/CloverBootloader to use without EDK2 https://sourceforge.net/p/cloverefiboot/code/ to use with tiano-EDK2 with Patches_for_EDK2 or https://sourceforge.net/p/cloverefiboot/code/ to use with https://github.com/CloverHackyColor/edk2 without Patches_for_EDK2 3 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689378 Share on other sites More sharing options...
arsradu Posted September 9, 2019 Share Posted September 9, 2019 (edited) 1 hour ago, Matgen84 said: @Slice said: same EDK2 is already patched in the two repo, I think. Why re-patch? I use two script: one for SF repo and one for Github repo to avoid confusing specially with svn: all works fine. No, no. No need to rep-patch. But as Slice said above, and as I was trying to say myself (not successfully apparently :)), this only applies when using tianocore's EDK2. So not with CloverHackyColor. I'll try using CloverBootloader on its own...see how that works. That didn't quite work for me... I'm getting this: [XCODE] ================= Making all in boot1-install ================= [XCODE] boot1-install ================= Making all in partutil ================= [XCODE] partutil ================= Making all in bdmesg ================= [XCODE] bdmesg ================= Making all in clover-genconfig ================= [XCODE] clover-genconfig ================= Making all in espfinder ================= [XCODE] espfinder sed: package/../../Version.h: No such file or directory Failed conversion of ``'' using format ``%Y-%m-%d %H:%M:%S'' date: illegal time format usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format] Edited September 9, 2019 by arsradu Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689381 Share on other sites More sharing options...
Matgen84 Posted September 9, 2019 Share Posted September 9, 2019 (edited) 1 hour ago, arsradu said: No, no. No need to rep-patch. But as Slice said above, and as I was trying to say myself (not successfully apparently :)), this only applies when using tianocore's EDK2. So not with CloverHackyColor. I'll try using CloverBootloader on its own...see how that works. That didn't quite work for me... I'm getting this: [XCODE] ================= Making all in boot1-install ================= [XCODE] boot1-install ================= Making all in partutil ================= [XCODE] partutil ================= Making all in bdmesg ================= [XCODE] bdmesg ================= Making all in clover-genconfig ================= [XCODE] clover-genconfig ================= Making all in espfinder ================= [XCODE] espfinder sed: package/../../Version.h: No such file or directory Failed conversion of ``'' using format ``%Y-%m-%d %H:%M:%S'' date: illegal time format usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format] You can use Vector Sigma's build script from Clover directory. He make two pre-script: one for SF and one for Github (files in attachment) for create structure and launch his script. Clean install of course. clovergit cloversvn Edited September 9, 2019 by Matgen84 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689385 Share on other sites More sharing options...
arsradu Posted September 9, 2019 Share Posted September 9, 2019 (edited) 58 minutes ago, Matgen84 said: You can use Vector Sigma's build script from Clover directory. He make two pre-script: one for SF and one for Github (files in attachment) for create structure and launch his script. Clean install of course. clovergit cloversvn Hmm... clovergit script shows an error in ebuild.sh. Building from: /Users/jimmy/src/CloverBootloader ./ebuild.sh: line 544: EDK_TOOLS_PATH: unbound variable I see ellaosx had the exact same issue. Worked with the ebuild.sh provided by MakAsus. Edited September 9, 2019 by arsradu Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689397 Share on other sites More sharing options...
Matgen84 Posted September 9, 2019 Share Posted September 9, 2019 29 minutes ago, arsradu said: Hmm... clovergit script shows an error in ebuild.sh. Building from: /Users/jimmy/src/CloverBootloader ./ebuild.sh: line 544: EDK_TOOLS_PATH: unbound variable I see ellaosx had the exact same issue. Worked with the ebuild.sh provided by MakAsus. Can you post ebuild.sh provided by MakAsus, please. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689400 Share on other sites More sharing options...
arsradu Posted September 9, 2019 Share Posted September 9, 2019 16 minutes ago, Matgen84 said: Can you post ebuild.sh provided by MakAsus, please. Sure! Here you go. Also, link to MakAsus' post here. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689403 Share on other sites More sharing options...
Matgen84 Posted September 9, 2019 Share Posted September 9, 2019 Hi @vector sigma I've new option in Buildme after I try to update Clover from script (there are no present in repo): <<<<<<< Updated upstream and >>>>>>> Stashed changes. Syntax errors. The script is broken in Terminal. I don't understand why Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689404 Share on other sites More sharing options...
vector sigma Posted September 9, 2019 Share Posted September 9, 2019 (edited) 6 hours ago, Slice said: O! Different bash windows for different projects! Yep, a lot of enviroment variables are exported, not sure as I haven't tried but probably doing that (using the same terminal session) will causes 'make pkg' to build the package from the wrong and unexpected workspace as well. So I can revert the changes made? Edited September 9, 2019 by vector sigma typo Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689408 Share on other sites More sharing options...
vector sigma Posted September 9, 2019 Share Posted September 9, 2019 58 minutes ago, Matgen84 said: Hi @vector sigma I've new option in Buildme after I try to update Clover from script (there are no present in repo): <<<<<<< Updated upstream and >>>>>>> Stashed changes. Syntax errors. The script is broken in Terminal. I don't understand why Not sure you can commit changes, so why not to not try to create a stash? 2 hours ago, arsradu said: Hmm... clovergit script shows an error in ebuild.sh. Building from: /Users/jimmy/src/CloverBootloader ./ebuild.sh: line 544: EDK_TOOLS_PATH: unbound variable I see ellaosx had the exact same issue. Worked with the ebuild.sh provided by MakAsus. caused by this commit. Waiting Slice if He wants to revert changes to ebuild.sh Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689412 Share on other sites More sharing options...
Slice Posted September 9, 2019 Share Posted September 9, 2019 5 minutes ago, vector sigma said: Not sure you can commit changes, so why not to not try to create a stash? caused by this commit. Waiting Slice if He wants to revert changes to ebuild.sh Everybody can commit changes to his local repo. He just can't push changes to github. I don't know if I want to revert ebuild.sh. Both versions are wrong. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689414 Share on other sites More sharing options...
vector sigma Posted September 9, 2019 Share Posted September 9, 2019 (edited) 39 minutes ago, Slice said: Everybody can commit changes to his local repo. He just can't push changes to github. right, but I made it to pull keeping my changes. I'll remove that option as I can do it just by hand. 39 minutes ago, Slice said: I don't know if I want to revert ebuild.sh. Both versions are wrong. exporting WORKSPACE from ebuild.sh, from the gith version firstly, will cause $WORKSPACE to be the same in git if or when you will switch to the svn one from the same Terminal session. Unless you want to totally override Conf/BuildEnv.sh, but then you have to export EDK_TOOLS_PATH adding also Darwin-x86_64 to $PATH. Edited September 9, 2019 by vector sigma Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/801/#findComment-2689417 Share on other sites More sharing options...
Recommended Posts