Micky1979 Posted October 30, 2016 Author Share Posted October 30, 2016 Never used caja, but you can make it conditional based on the presence of one of the two (caja or nautilus) and report back with the correct syntax? For curl there's a problem using apt? That means that also wget is not present. Can you take a look and locate the problem? .. should be nice fixing compilation on another Linux distro! Thanks EDIT, about the pkg or the iso in linux. .. I don't know. May be possible to build both, but also runnable? Link to comment Share on other sites More sharing options...
Micky1979 Posted October 30, 2016 Author Share Posted October 30, 2016 ha ha, look: 4 Link to comment Share on other sites More sharing options...
droples Posted October 30, 2016 Share Posted October 30, 2016 Hi Guys, Slice seem to use edk2 r22865... so update your script.. Build_Clover.command V4.1.5 update to V4.1.6 (edk2 r22865) Clover3884 - compilation succeeds, but with these #679 changes. LogBClover416.txt.zip 1 Link to comment Share on other sites More sharing options...
Micky1979 Posted October 30, 2016 Author Share Posted October 30, 2016 thanks droples! ..all is good ! Link to comment Share on other sites More sharing options...
insanelyDeepak Posted October 30, 2016 Share Posted October 30, 2016 hello Micky one suggestion : when user select to create symlink then you should use (or make copy) script from SRC or Build_Clover/SRC folder instead script is placed somewhere this will won't be issue when script is deleted and can use terminal to trigger BTW build 3884 is fine with modified buildpkg.sh Link to comment Share on other sites More sharing options...
Slice Posted October 30, 2016 Share Posted October 30, 2016 I installed clean Sierra. To compile Clover it asked for xcode command line tool. Did this, OK. Next step: download binary NASM and install into /usr/local/bin. Thats all! I can compile Clover here. What about gettext? Link to comment Share on other sites More sharing options...
Fabio1971 Posted October 30, 2016 Share Posted October 30, 2016 Hello Micky update Build Clover.command 4.1.6 + Clover 3884 I get an error Error can't add choice 'HashServiceFix-64': a choice with same name already exists. make: *** [pkg] Error 1 Fabio Output di Terminale .zip Link to comment Share on other sites More sharing options...
Fljagd Posted October 30, 2016 Share Posted October 30, 2016 Effective, thank Build_Clover.command V4.1.5 update to V4.1.6 (edk2 r22865) Clover3884 -compilation succeeds, but with these #679 changes. 1 Link to comment Share on other sites More sharing options...
Philip Petev Posted October 30, 2016 Share Posted October 30, 2016 Hello Micky update Build Clover.command 4.1.6 + Clover 3884 I get an error Error can't add choice 'HashServiceFix-64': a choice with same name already exists. make: *** [pkg] Error 1 Fabio Same here. I think something with the package definitions is messed up. The macOS packages framework doesn't allow two or more subpackages with one and the same internal descriptor. Link to comment Share on other sites More sharing options...
FredWst Posted October 30, 2016 Share Posted October 30, 2016 see post #679 Fred 1 Link to comment Share on other sites More sharing options...
Micky1979 Posted October 30, 2016 Author Share Posted October 30, 2016 hello Micky one suggestion : when user select to create symlink then you should use (or make copy) script from SRC or Build_Clover/SRC folder instead script is placed somewhere this will won't be issue when script is deleted and can use terminal to trigger BTW build 3884 is fine with modified buildpkg.sh naah, when you create the symlink in /usr/local/bin is usefull if you have multiple accounts so that you can run it easily w/o make multiple copies of it. But what should do the script if you call it from another src... make another copy of itself on the new src? Instead use the MODE=R and all the repositories are downloaded inside the folder that contains Build_Clover.command, then when you create the symlink it just refear to that source regardless of which OS or partition you are calling him (or it). I installed clean Sierra. To compile Clover it asked for xcode command line tool. Did this, OK. Next step: download binary NASM and install into /usr/local/bin. Thats all! I can compile Clover here. What about gettext? For me is ok, me and STLVNUB we where talking about if you use the 'developer mode' option... that as expected did not install gettext or any other stuff. Hello Micky update Build Clover.command 4.1.6 + Clover 3884 I get an error Error can't add choice 'HashServiceFix-64': a choice with same name already exists. make: *** [pkg] Error 1 Fabio Same here. I think something with the package definitions is messed up. The macOS packages framework doesn't allow two or more subpackages with one and the same internal descriptor. Yep see here. Is not clear to me if new drivers (HashServiceFix-64 and UsbkbDxe-64) can be used with CloverEFI, but buildpkg.sh does not allow duplicate choices in the Distribution file (yep, not really the script, but is OSX that will not allow this later). So the modded buildpkg.sh I made allow those two drivers to be embedded by adding a suffix (not on the driver, but on a new .pkg file) and being compilable so that you can installa it in drivers64UEFI or also in drivers64. If that is not correct, Slice should remove them in ebuild.sh otherwise a copy is made and buildpkg.sh will always try to build a duplicate choice that is not allowed. Excuse my dumb ass question, but what is the flag that makes boot6/7 450KB in size? With OLD SCHOOL legacy iso build to work here, the size should be 483KB... I use USB legacy to boot virgin RETAIL DVD's and the 450KB boot (boot7) file does not show the DVD's, and thats if it boots to GUI. so evey time I compile new version I must copy an OLDER 483KB (boot6) file to the USB. Pardon my OT. edit: Snow Leopard does not boot with 450KB file, kernel panic, with 483KB all good on HP 6910P the lto flag was eradicate by Slice in toolsdef.txt for the XCODE5 tool chain because of some problem leaving it enabled with newer Xcode 8. It's still available if you build with gcc or you are in linux. If you refear to this. Link to comment Share on other sites More sharing options...
Micky1979 Posted October 30, 2016 Author Share Posted October 30, 2016 450kb is ok for El Torito boot (no? ), but.. if you need 483... can you tell me if that attached is ok? is padded with zeros and is 483000 bytes exactly. boot7.zip Link to comment Share on other sites More sharing options...
Micky1979 Posted October 30, 2016 Author Share Posted October 30, 2016 here we go.. boot6.zip Link to comment Share on other sites More sharing options...
Fabio1971 Posted October 30, 2016 Share Posted October 30, 2016 Yep see here. Is not clear to me if new drivers (HashServiceFix-64 and UsbkbDxe-64) can be used with CloverEFI, but buildpkg.sh does not allow duplicate choices in the Distribution file (yep, not really the script, but is OSX that will not allow this later). So the modded buildpkg.sh I made allow those two drivers to be embedded by adding a suffix (not on the driver, but on a new .pkg file) and being compilable so that you can installa it in drivers64UEFI or also in drivers64. If that is not correct, Slice should remove them in ebuild.sh otherwise a copy is made and buildpkg.sh will always try to build a duplicate choice that is not allowed. Following the signs, no problem with version 4.1.6 and built Clover r 3884 Fabio Output di Terminal Clover 3884.zip 1 Link to comment Share on other sites More sharing options...
Slice Posted October 31, 2016 Share Posted October 31, 2016 Excuse my dumb ass question, but what is the flag that makes boot6/7 450KB in size? With OLD SCHOOL legacy iso build to work here, the size should be 483KB... I use USB legacy to boot virgin RETAIL DVD's and the 450KB boot (boot7) file does not show the DVD's, and thats if it boots to GUI. so evey time I compile new version I must copy an OLDER 483KB (boot6) file to the USB. Pardon my OT. edit: Snow Leopard does not boot with 450KB file, kernel panic, with 483KB all good on HP 6910P The flag will be ./ebuild.sh --std-ebda to create 483kb file. But I think the problem is not here.. See also choice Boot7 for MCP79. 2 Link to comment Share on other sites More sharing options...
Micky1979 Posted November 1, 2016 Author Share Posted November 1, 2016 You will be able to test next version by editing the current last version at line 252 by adding 'USE_LOW_EBDA': # additional macro to compile Clover EFI macros=( USE_APPLE_HFSPLUS_DRIVER USE_BIOS_BLOCKIO DISABLE_USB_SUPPORT NO_GRUB_DRIVERS NO_GRUB_DRIVERS_EMBEDDED ONLY_SATA_0 DISABLE_UDMA_SUPPORT ENABLE_VBIOS_PATCH_CLOVEREFI ENABLE_PS2MOUSE_LEGACYBOOT DEBUG_ON_SERIAL_PORT ENABLE_SECURE_BOOT USE_ION DISABLE_USB_MASS_STORAGE ENABLE_USB_OHCI ENABLE_USB_XHCI REAL_NVRAM CHECK_FLAGS USE_LOW_EBDA ) ..then add what you need using "build existing revision with custom macros enabled". Please test 1 Link to comment Share on other sites More sharing options...
Sherlocks Posted November 1, 2016 Share Posted November 1, 2016 hello mickey i updated 4.1.6 script and i build latest clover. but fail here is log my enviroment 10.2.2 beta sierra, xcode8.1 ===================== drivers64 ======================== [bUILD] GrubEXFAT-64 [bUILD] GrubISO9660-64 [bUILD] GrubNTFS-64 [bUILD] GrubUDF-64 [bUILD] HashServiceFix-64 [bUILD] NvmExpressDxe-64 [bUILD] Ps2MouseDxe-64 [bUILD] UsbKbDxe-64 [bUILD] UsbMouseDxe-64 [bUILD] VBoxExt2-64 [bUILD] VBoxExt4-64 [bUILD] VBoxIso9600-64 [bUILD] XhciDxe-64 =============== drivers64 UEFI mandatory =============== [bUILD] AppleImageCodec-64.UEFI [bUILD] AppleKeyAggregator-64.UEFI [bUILD] AppleUITheme-64.UEFI [bUILD] DataHubDxe-64.UEFI [bUILD] FirmwareVolume-64.UEFI [bUILD] FSInject-64.UEFI [bUILD] OsxFatBinaryDrv-64.UEFI [bUILD] SMCHelper-64.UEFI [bUILD] VBoxHfs-64.UEFI =================== drivers64 UEFI ===================== [bUILD] CsmVideoDxe-64 [bUILD] EmuVariableUefi-64 [bUILD] HashServiceFix-64 Error can't add choice 'HashServiceFix-64': a choice with same name already exists. make: *** [pkg] Error 1 =============================================================================== build started at: Tue Nov 1 15:44:08 KST 2016 finished at Tue Nov 1 15:49:33 KST 2016 Done! thank you 1 Link to comment Share on other sites More sharing options...
LockDown Posted November 1, 2016 Share Posted November 1, 2016 STLVNUB what KP were you getting in Snow if using 450KB? Link to comment Share on other sites More sharing options...
regs1980 Posted November 1, 2016 Share Posted November 1, 2016 the same problem my enviroment 10.11.6, xcode8.1 1 Link to comment Share on other sites More sharing options...
pico joe Posted November 1, 2016 Share Posted November 1, 2016 Not about the script .. I can build Clover_v2.3k_r3893.pkg with Build_Clover script v4.1.6 =========== Package name: Clover_v2.3k_r3893.pkg MD5: 471ebbf8476da954ba7fa14edc6da017 Version: v2.3k Stage: v2.3k Date/Time: 2016-11-01 14:33:00 Built by: pico Copyright 2012-2016 maybe rollback the edk2 can solve your problem 2 Link to comment Share on other sites More sharing options...
Fljagd Posted November 1, 2016 Share Posted November 1, 2016 hello mickey i updated 4.1.6 script and i build latest clover. but fail here is log my enviroment 10.2.2 beta sierra, xcode8.1 thank you Look http://www.insanelymac.com/forum/topic/313240-build-clovercommand-another-script-to-build-standard-clover-or-customized/?p=2308950 1 Link to comment Share on other sites More sharing options...
LAbyOne Posted November 1, 2016 Share Posted November 1, 2016 uild_Clover script v4.1.6 is the latest version avaiable <---------------------------------------------------- =============================================================================== By Micky1979 based on Slice, Zenith432, STLVNUB, JrCs, cecekpawon, Needy, cvad, Rehabman, philip_petev, ErmaC Supported OSes: macOS X, Ubuntu 16.04/16.10, Debian Jessie 8.6 <---------------------------------------------------- Remote revision: 3894 Local revision: 3892 <---------------------------------------------------- Please enter your choice: 1) add "buildclover" symlink to /usr/local/bin 2) update Clover only (no building) 3) update Clover + force edk2 update (no building) 4) run my script on the source 5) build existing revision (no update, for testing only) 6) build existing revision for release (no update, standard build) 7) build existing revision with custom macros enabled 8) info and limitations about this script 9) enter Developers mode (only for devs) 10) Exit ? 2 =============================================================================== Running from: 10.11.6 <---------------------------------------------------- =============================================================================== Xcode 8.1 Build version 8B62 <---------------------------------------------------- Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/c++/4.2.1 Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin15.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin =============================================================================== <---------------------------------------------------- =============================================================================== Updating edk2 <---------------------------------------------------- % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 592 0 592 0 0 675 0 --:--:-- --:--:-- --:--:-- 675 edk2 appear to be up to date, skipping ... checking..available, continuing.. =============================================================================== Updating Clover <---------------------------------------------------- Updating '.': U CloverPackage/package/Scripts.templates/EFIFolder/MountESP U rEFIt_UEFI/Platform/Settings.c U rEFIt_UEFI/Platform/Platform.h U rEFIt_UEFI/Platform/hda.c U rEFIt_UEFI/Platform/hda.h Updated to revision 3894. =============================================================================== Apply Edk2 patches <---------------------------------------------------- Remote revision: 3894 Local revision: 3894 <---------------------------------------------------- Please enter your choice: .......... total 75464 drwxr-xr-x 13 labyone staff 442 Nov 1 10:38 . drwxr-xr-x 15 labyone staff 510 Nov 1 10:38 .. drwxr-xr-x 5 labyone staff 170 Nov 1 10:38 CloverCD drwxr-xr-x 4 labyone staff 136 Nov 1 10:38 CloverISO-3894 -rw-r--r-- 1 labyone staff 6768864 Nov 1 10:38 CloverISO-3894.tar.lzma -rw-r--r--@ 1 labyone staff 15788001 Nov 1 10:37 Clover_v2.3k_r3894.pkg -rw-r--r-- 1 labyone staff 68 Nov 1 10:38 Clover_v2.3k_r3894.pkg.md5 -rw-r--r-- 1 labyone staff 15689400 Nov 1 10:38 Clover_v2.3k_r3894.zip drwxr-xr-x 3 labyone staff 102 Nov 1 10:37 Resources drwxr-xr-x 7 labyone staff 238 Nov 1 10:37 build drwxr-xr-x 4 labyone staff 136 Nov 1 10:38 i386 drwxr-xr-x 3 labyone staff 102 Nov 1 10:38 package drwxr-xr-x 7 labyone staff 238 Nov 1 10:37 utils build started at: Tue Nov 1 10:35:03 CET 2016 finished at Tue Nov 1 10:38:09 CET 2016 Done! it woks fine here build with no problem Link to comment Share on other sites More sharing options...
regs1980 Posted November 1, 2016 Share Posted November 1, 2016 Thanks for the tip Replace ~/src/edk2/Clover/CloverPackage/package/buildpkg.sh with this: buildpkg.sh.zip Link to comment Share on other sites More sharing options...
Micky1979 Posted November 1, 2016 Author Share Posted November 1, 2016 Ok also if compiling in Linux, IF gcc=6.2.1 use GCC53 else GCC49 etc in ebuild.sh USE_LOW_EBDA=1 450KB USE_LOW_EBDA=0 483KB ha ha ok, is enabled by default. correct. So that need just "--std-ebda" as arg. Ok will add an opt in dev mode "build CloverEFI with --std-ebda" Link to comment Share on other sites More sharing options...
Micky1979 Posted November 1, 2016 Author Share Posted November 1, 2016 done, v4.1.7 has a new option under dev mode: 6) build boot6/7 with -fr --std-ebda tested and working. 2 Link to comment Share on other sites More sharing options...
Recommended Posts