Skip to content

Commit 3c9e3ea

Browse files
authored
Merge pull request #156 from lool/consolidate-board-support
Consolidate board specific files
2 parents 3e8ce39 + 9554158 commit 3c9e3ea

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

.github/workflows/debos.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,18 +132,15 @@ jobs:
132132
cp -av dtbs.tar.gz "${dir}"
133133
cp -av disk-ufs.img.gz "${dir}"
134134
cp -av disk-sdcard.img.gz "${dir}"
135-
# TODO: separate flash_* directories between UFS and eMMC
135+
# create tarballs with support for all UFS and all eMMC boards
136136
tar -cvf "${dir}"/flash-ufs.tar.gz \
137137
disk-ufs.img1 \
138138
disk-ufs.img2 \
139-
flash_qcs615-* \
140-
flash_qcs6490-* \
141-
flash_qcs8300-* \
142-
flash_qcs9100-*
139+
$(dirname flash_*/flash-ufs)
143140
tar -cvf "${dir}"/flash-emmc.tar.gz \
144141
disk-sdcard.img1 \
145142
disk-sdcard.img2 \
146-
flash_qrb2210-*
143+
$(dirname flash_*/flash-emmc)
147144
148145
- name: Upload private artifacts
149146
uses: qualcomm-linux/upload-private-artifact-action@v1

debos-recipes/qualcomm-linux-debian-rootfs.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -340,12 +340,12 @@ actions:
340340
# only in that new kernel, so use the latest dtbs
341341
latest_kernel="$(
342342
ls -d "$ROOTDIR"/usr/lib/linux-image-* | sort -V | tail -1)"
343-
tar -C "${latest_kernel}" -cvzf "$ARTIFACTDIR/dtbs.tar.gz" \
344-
qcom/qcs615-ride.dtb \
345-
qcom/qcs6490-rb3gen2.dtb \
346-
qcom/qcs8300-ride.dtb \
347-
qcom/qcs9100-ride-r3.dtb \
348-
qcom/qrb2210-rb1.dtb
343+
# transform pathnames to strip the leading ./
344+
tar \
345+
-C "${latest_kernel}" \
346+
--transform='s|^\./||' \
347+
-cvzf "$ARTIFACTDIR/dtbs.tar.gz" \
348+
.
349349
350350
- action: pack
351351
description: Create root filesystem tarball

0 commit comments

Comments
 (0)