Skip to content

Commit

Permalink
Merge pull request #143 from grische/feature/legacy-merger-factory-files
Browse files Browse the repository at this point in the history
firmware-legacy-merger: merge non-sysupgrade files
  • Loading branch information
awlx authored Nov 27, 2023
2 parents 17922cb + 3904a53 commit 1f99f2b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions github-downloader/firmware-legacy-merger
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,8 @@ rm -r "$TEMP_DIR"
merge_sysupgrade_files "${FIRMWARE_DIR_LEGACY}" "${FIRMWARE_DIR_STABLE}" "${FIRMWARE_DIR_MERGED}"

echo "Finishing merging sysupgrade folders of ${LEGACY_VERSION} and ${STABLE_VERSION} in ${FIRMWARE_DIR_MERGED}"

# Hardlink all other folders as well
shopt -s extglob
cp -lR "${FIRMWARE_DIR_STABLE}"/!(sysupgrade) "${FIRMWARE_DIR_MERGED}/"
shopt -u extglob # disable extglob to avoid inintentional globbing further down

0 comments on commit 1f99f2b

Please sign in to comment.