"Prefered" way to build from git

Asked by Víctor Gonzalo

I'm trying to get grub2 compiled from git://git.launchpad.net/ubuntu/+source/grub2 as close as possible to the ubuntu way.
Is there any standard way to do it, from "git clone" to grub.efi?
I've try finding Documentation but the files there are the gnu's. I can build it, i just want to make sure i'm choosing the same options for testing only my changes.

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub2 Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Bernard Stafford (bernard010) said :
#1
Revision history for this message
Víctor Gonzalo (vic.thor) said :
#2

I know how to clone the git repo, thanks.
I'm looking for any documentation how to compile it in the very same way it is compiled on a release.
Also I have the strong feeling there must be a way to compile only one architecture to test a quick fix and not all of them ;)

Revision history for this message
Bernard Stafford (bernard010) said :
#3
Revision history for this message
Víctor Gonzalo (vic.thor) said :
#4

None of the links are related to my question.

Revision history for this message
Bernard Stafford (bernard010) said :
#5
Revision history for this message
Víctor Gonzalo (vic.thor) said :
#6

So I have to click "I Still Need an Answer" (with those capitals ;) ) everytime the same user gives me a random "answer"?

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#7

Maybe you are looking for instructions like https://packaging.ubuntu.com/html/fixing-a-bug.html
When skipping all steps related to bug fixing, you should get a result that is very similar to the original package.

Note: "git clone" is not mentioned at all in the document.

Revision history for this message
Víctor Gonzalo (vic.thor) said :
#8

Thanks, I didn't understand the ubuntu way. The git advertised here was misleading for me.

Revision history for this message
Víctor Gonzalo (vic.thor) said :
#9

Thanks Manfred Hampl, that solved my question.