Closed Bug 1673825 Opened 4 years ago Closed 4 years ago

Speed up generating the Boot2Gecko sysroot script

Categories

(Core :: Hardware Abstraction Layer (HAL), enhancement)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: gsvelto, Assigned: gsvelto)

References

Details

Attachments

(1 file)

The create-b2g-sysroot.sh we use to extract the libraries and headers that go into the Boot2Gecko sysroot calls rsync and cp a zillion times. It should be possible to cut that down to just a couple of rsync calls by reading the file names from a file (possibly after filtering it via sed to ensure directory contents are copied rather than the directories themselves).

Assignee: nobody → gsvelto
Status: NEW → ASSIGNED

This cuts down rsync invocations to just two by letting it read inputs
from a (generated) file and giving it the appropriate flags. It also
simplifies the file lists by placing every entry on a separate line
and removes redundant files that were already present.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: