Closed
Bug 1141191
Opened 9 years ago
Closed 9 years ago
[Build] Write a script to pre-build lightsaber and overwrite B2G's gaia
Categories
(Firefox OS Graveyard :: Gaia, defect, P1)
Firefox OS Graveyard
Gaia
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: drs, Assigned: drs)
References
Details
(Whiteboard: [spark])
Attachments
(1 file)
Assignee | ||
Comment 1•9 years ago
|
||
Wander, I think this is all you'll need. You'll need to write a small shim script just to clone and run this. It would look like this: ```shell #!/bin/bash # Assume that B2G is already cloned any synced, but not built yet. git clone git@github.com:fxos/lightsaber cd lightsaber # Change this path if it's somewhere else B2G_PATH=../B2G ./replace-B2G.sh cd ../B2G ./build.sh ``` Could you try this and let me know what happens?
Flags: needinfo?(wcosta)
Comment 2•9 years ago
|
||
(In reply to Doug Sherk (:drs) (use needinfo?) from comment #1) > Created attachment 8574775 [details] > Add script to overwrite B2G repo with shallow-built lightsaber Gaia. > > Wander, I think this is all you'll need. You'll need to write a small shim > script just to clone and run this. It would look like this: > > ```shell > #!/bin/bash > > # Assume that B2G is already cloned any synced, but not built yet. > > git clone git@github.com:fxos/lightsaber > cd lightsaber > # Change this path if it's somewhere else > B2G_PATH=../B2G ./replace-B2G.sh > cd ../B2G > ./build.sh > ``` > > Could you try this and let me know what happens? When I run make shallow, I get an error [1]. What could be wrong? [1] https://pastebin.mozilla.org/8824970
Flags: needinfo?(wcosta) → needinfo?(drs.bugzilla)
Assignee | ||
Comment 3•9 years ago
|
||
Answered via IRC. Basically, you have to follow these instructions: https://github.com/fxos/lightsaber#quick-setup
Flags: needinfo?(drs.bugzilla)
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8574775 [details]
Add script to overwrite B2G repo with shallow-built lightsaber Gaia.
Wander told me over IRC that this works.
Attachment #8574775 -
Flags: review?(kgrandon)
Comment 5•9 years ago
|
||
Comment on attachment 8574775 [details]
Add script to overwrite B2G repo with shallow-built lightsaber Gaia.
lgtm.
Attachment #8574775 -
Flags: review?(kgrandon) → review+
Assignee | ||
Comment 6•9 years ago
|
||
https://github.com/fxos/lightsaber/commit/cda832be319e7cb3410050f1db4d9d2e08e5d03b
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Whiteboard: [lightsaber] → [ignite]
Updated•9 years ago
|
Whiteboard: [ignite] → [spark]
Assignee | ||
Updated•9 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•