Jump to content

Build_Clover.command, another Script to build standard Clover (or customized)


Micky1979
2,126 posts in this topic

Recommended Posts

make: Leaving directory '/home/matthew/src/edk2/Clover/BootHFS'
Done!

doSomething: "--run-script" option require you to add a "/home/matthew/CloverPatches/Linux/distribution" script..

===============================================================================
build started at:
Wed Sep 28 12:10:47 EDT 2016
finished at
Wed Sep 28 12:11:19 EDT 2016

Done!
                          <----------------------------------------------------
matthew@Linux:~/Desktop$ 

I can build Clover, but not make a package in Ubuntu.  Any thoughts?

Link to comment
Share on other sites

make: Leaving directory '/home/matthew/src/edk2/Clover/BootHFS'
Done!

doSomething: "--run-script" option require you to add a "/home/matthew/CloverPatches/Linux/distribution" script..

===============================================================================
build started at:
Wed Sep 28 12:10:47 EDT 2016
finished at
Wed Sep 28 12:11:19 EDT 2016

Done!
                          <----------------------------------------------------
matthew@Linux:~/Desktop$ 

I can build Clover, but not make a package in Ubuntu.  Any thoughts?

 

post 432 and 433

Link to comment
Share on other sites

make: Leaving directory '/home/matthew/src/edk2/Clover/BootHFS'
Done!

doSomething: "--run-script" option require you to add a "/home/matthew/CloverPatches/Linux/distribution" script..

===============================================================================
build started at:
Wed Sep 28 12:10:47 EDT 2016
finished at
Wed Sep 28 12:11:19 EDT 2016

Done!
                          <----------------------------------------------------
matthew@Linux:~/Desktop$ 

I can build Clover, but not make a package in Ubuntu.  Any thoughts?

 

One have to invent an installer for Linux.

  • Like 1
Link to comment
Share on other sites

Guys, update yor script:

Please enter your choice: 
 1) update Build_Clover.command
  • Recursively upgrade working copy (modded funct).
  • Added missing packages for edk2 (list is read online).
  • Now edk2 get updated only if some pkg are missing or not at the specified revision.
  • Custom macros enabled in Ubuntu.
  • Default language invoked on all command lines.
  • Fixed uuid-dev and subversion installation in Linux.
  • Autoupdate function now execute the new script ($MODE is taken from the old script and set in the new one).
  • Like 6
Link to comment
Share on other sites

That's great
Work is optimized  :thumbsup_anim:

 

===============================================================================
Build_Clover script v4.0.7
<----------------------------------------------------
===============================================================================
By Micky1979 based on Slice, Zenith432, STLVNUB, JrCs, cecekpawon, Needy,
cvad, Rehabman, philip_petev

Supported OSes: macOS X, Ubuntu 16.04
<----------------------------------------------------
Remote revision: 3773 Local revision: 3773
<----------------------------------------------------
Please enter your choice:
1) update Build_Clover.command
2) update Clover only (no building)
3) update & build Clover
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.12
<----------------------------------------------------
===============================================================================
Xcode 8.0
Build version 8A218a
<----------------------------------------------------

===============================================================================
Updating edk2
<----------------------------------------------------
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 592 0 592 0 0 779 0 --:--:-- --:--:-- --:--:-- 779
edk2 appear to be up to date, skipping ...
checking..available, continuing..

===============================================================================
Updating Clover
<----------------------------------------------------
Updating '.':
Restored 'CloverPackage/CloverV2/drivers-Off/drivers32'
Restored 'CloverPackage/CloverV2/drivers-Off/drivers32UEFI'
At revision 3773.
===============================================================================
Apply Edk2 patches
<----------------------------------------------------

Remote revision: 3773 Local revision: 3773
<----------------------------------------------------
Please enter your choice:
1) update Build_Clover.command
2) update Clover only (no building)
3) update & build Clover
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
#?

 

  • Like 1
Link to comment
Share on other sites

hello Unable to get it again   :(

attachicon.gif Build_Clover.txt

 

me too same error message

/Users/deepak/src/edk2/Clover/CloverPackage/package/../../../../opt/local
Updating 'en' strings file for CloverUpdater... done
Updating 'en' strings file for Clover Preference Panel... done
Updating strings file for Clover Preference Panel... done
Error: 'msgmerge -U /var/folders/r9/vlxv5kmj3x77_why5cvr6wm00000gn/T/po.NvzypF3J/tr.po /var/folders/r9/vlxv5kmj3x77_why5cvr6wm00000gn/T/po.NvzypF3J/clover.pot --lang=tr --previous --width=79 --previous --backup=none' exited with value 1.

make: *** [pkg] Error 1

you should report this to Slice about Turkish translation.

Link to comment
Share on other sites

@Slice, I see that in 3775 you delete sv.po translation, but you should then remove the same language from the Xib for both CloverPrefpane and CloverUpdater otherwise the package wont compile.

Is intentionally? if yes attached the modded projects w/o sv locale.

CloverPrefpane.zip

CloverUpdater.zip

  • Like 1
Link to comment
Share on other sites

BuildClover_4.0.7, Clover3780 +( Upd CloverPrefpane, Upd CloverUpdater  )            #476            

MAKE PKG
                          <----------------------------------------------------

========= Translating Resources ========
/Users/boris/src/edk2/Clover/CloverPackage/package/../../../../opt/local
Updating 'en' strings file for CloverUpdater... done
Updating 'en' strings file for Clover Preference Panel... done
Updating strings file for Clover Preference Panel... done
 (160 entries)
Building CloverUpdater application...
[XCODE]
Building CloverPrefpane preference...
[XCODE]
================= Making all in fdisk440 =================
	[MKDIR] /Users/boris/src/edk2/Clover/CloverPackage/sym/build/fdisk440
	[CC32] auto.c
	[CC32] cmd.c

Thank you! CloverUpdater building successfully.

BuildClover407_Clover3780.txt

  • Like 1
Link to comment
Share on other sites

Thanks all Dev

 

Building process complete!

 --------------------------

 

 Build info.

 ===========

  Package name: Clover_v2.3k_r3781.pkg

  MD5:          47f757a8f0669671cc9fc109b5d77915

  Version:      v2.3k

  Stage:        v2.3k

  Date/Time:    2016-10-01 18:29:04

  Built by:     pico

  Copyright     2012-2016

  • Like 1
Link to comment
Share on other sites

Thanks :) 

 

 --------------------------

 Building process complete!

 --------------------------

 

 Build info.

 ===========

  Package name: Clover_v2.3k_r3781.pkg

  MD5:          38c874a8954e11ab1c7edba0593059f2

  Version:      v2.3k

  Stage:        v2.3k

  Date/Time:    2016-10-01 17:47:56

  Built by:     deepak

  Copyright     2012-2016

 

 

wow :thumbsup_anim:  :thumbsup_anim:  Installer size is reduced to 12 MB  from 27MB , good decision to add CloverThemeManager  :yes:

Thank you @slice 

Link to comment
Share on other sites

Script works nicely... Adding to the installer the ability to install the theme manager is cool, but why delete existing themes and change config>gui>theme to embedded? So every time you upgrade you have edit config.plist and reinstall your theme? Surely I'm missing something here.

Link to comment
Share on other sites

Work on MacOS/Xcode 8 with command version 4.0.7  :thumbsup_anim:  :w00t:

 

 

 

[bUILD] BiosBoot

===================== Utils ============================

[bUILD] Utils

===================== EFI folder =======================

[bUILD] EFIFolder

===================== BootLoaders ======================

[bUILD] AltBoot

[bUILD] bootNo

[bUILD] boot0af

[bUILD] boot0ss

====================== CloverEFI =======================

[bUILD] cloverEFI.64.blockio2

======================== Themes ========================

[bUILD] BGM

[bUILD] metal

[bUILD] CloverThemeManager

===================== RC Scripts =======================

[bUILD] rc.scripts.on.target

[bUILD] rc.scripts.on.all.volumes

[bUILD] rc.scripts.core

================= Optional RC Scripts ==================

[bUILD] disable_sleep_proxy_client

==================== Clover Prefpane ===================

[bUILD] CloverPrefpane

================= Post =================

[bUILD] Post

 

 --------------------------

 Building process complete!

 --------------------------

 

 Build info.

 ===========

  Package name: Clover_v2.3k_r3786.pkg

  MD5:          6b931b5bfe02dc9f4477032226e9630f

  Version:      v2.3k

  Stage:        v2.3k

  Date/Time:    2016-10-04 03:08:33

  Built by:     trungvu

  Copyright     2012-2016

  • Like 1
Link to comment
Share on other sites

better to use version 4.0.8?

...update your script using option 1)  

 

Slice synced with edk2 r22731 ;)


Script works nicely... Adding to the installer the ability to install the theme manager is cool, but why delete existing themes and change config>gui>theme to embedded? So every time you upgrade you have edit config.plist and reinstall your theme? Surely I'm missing something here.

Sorry, now I realized re-reading your post you were asking something different. I guess your config.plist is not overwritten by the installer, so no problems.

Link to comment
Share on other sites

×
×
  • Create New...