intel / intel/linux-kernel-overlay

Download of Source takes a long time

Offen
#1 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Shell
Sterne
59
Forks
22
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

The `build.sh` clones the entire repo and then immediately switches to a single branch:
https://github.com/intel/linux-kernel-overlay/blob/02bedab64a4a4e80a524015ab02bf252f2c1068e/build.sh#L57C2-L60

This could be streamlined by downloading a single branch, with something like:

``` shell
git clone $KSRC_REPO --branch $KSRC_UPSTREAM_TAG --single-branch $BUILD_DIR
```

and remove the push / pop.

This downloads a smaller subset and is much faster.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with build.sh at lines 57-60, where the repository is cloned and then switched to a single branch. Verify the clone uses the requested branch directly and that the push/pop operations are no longer needed. Run the build script to confirm it downloads and builds the expected source successfully.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
build-system
Issue-Typ
Refactoring
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.