Closed Bug 1197756 Opened 9 years ago Closed 9 years ago

Don't clone emulator kernel into all repositories

Categories

(Firefox OS Graveyard :: Emulator, defect)

Unspecified
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
FxOS-S8 (02Oct)

People

(Reporter: tzimmermann, Assigned: tzimmermann)

References

Details

Attachments

(2 files, 1 obsolete file)

Prebuilt emulator kernels are currently cloned into all targets for JB and later. We only actually need them on the emulator targets.
Attached file Github pull request
Attachment #8651724 - Flags: review?(seinlin.maung+bugs)
This should save ~150 MiB of disk space for any target that is not an emulator. :)
Did you test this? I remember the build system depended on some file on here, emulator or not.
Arrg! Yeah, fails on flame-kk. :/

The dependency is hard-code, but it's only a single text file. [1] Can we create a branch with just this file?

[1] https://www.codeaurora.org/cgit/external/gigabyte/platform/build/tree/core/Makefile?h=caf/LA.AF.1.1.1#n645
Flags: needinfo?(mwu)
You could, but git downloads whole repositories so the download size would be unchanged. Creating a repo with just that file would do the trick. Alternately, you could try moving the file into platform_build.
Flags: needinfo?(mwu)
Comment on attachment 8651724 [details] [review]
Github pull request

Looks good to me. As mwu suggested, a patch in platform_build[1] is needed to fix flame-kk build error.

[1] https://github.com/mozilla-b2g/platform_build/tree/b2g-4.4.2_r1
Attachment #8651724 - Flags: review?(seinlin.maung+bugs) → review+
Named fake-qemu-kernel, in the tradition of fake-dalvik.
Attachment #8652758 - Flags: review?(mwu)
Comment on attachment 8652758 [details]
Github tree for qemu-kernel replacement

Flame-kk builds with this repository.
Comment on attachment 8651724 [details] [review]
Github pull request

Reopening this for review, as the pull request changed significantly.
Attachment #8651724 - Flags: review+ → review?(mwu)
Attachment #8652758 - Flags: review?(mwu) → review+
Comment on attachment 8651724 [details] [review]
Github pull request

Some of these are pointing to b2g-* branches, which don't exist in your fake-qemu-kernel tree. I think we can just point everything to the master branch though, so r=me with that. Alternately, make additional branches.
Attachment #8651724 - Flags: review?(mwu) → review+
Michael,

could you please create 'mozilla-b2g/fake-qemu-kernel'? I don't have the necessary permission.
Flags: needinfo?(mwu)
Equivalent to previous Github tree, but now points to mozilla-b2g; r=mwu
Attachment #8652758 - Attachment is obsolete: true
Attachment #8664290 - Flags: review+
Depends on: 1207217
Flags: needinfo?(mwu)
https://github.com/mozilla-b2g/b2g-manifest/commit/04f2e29fc408b434256fa8cda76de2d78ac15798
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S8 (02Oct)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: