|
64 | 64 | - name: Build rootfs with debos |
65 | 65 | run: | |
66 | 66 | set -ux |
67 | | - debos -t xfcedesktop:true -t localdebs:local-debs/ \ |
68 | | - debos-recipes/qualcomm-linux-debian-rootfs.yaml |
69 | | -
|
70 | | - - name: Build UFS and SD card images with debos |
71 | | - run: | |
72 | | - set -ux |
73 | | - # debos tries KVM and UML as backends, and falls back to |
74 | | - # building directly on the host, but that requires loop |
75 | | - # devices; use qemu backend explicitly even if it's slower; |
76 | | - # qemu backend also requires to set scratchsize, otherwise the |
77 | | - # whole build is done from memory and the out of memory killer |
78 | | - # gets triggered |
79 | | - debos -b qemu --scratchsize 4GiB -t imagetype:ufs \ |
80 | | - debos-recipes/qualcomm-linux-debian-image.yaml |
81 | | - debos -b qemu --scratchsize 4GiB -t imagetype:sdcard \ |
82 | | - debos-recipes/qualcomm-linux-debian-image.yaml |
83 | | -
|
84 | | - - name: Build flashable files with debos |
85 | | - run: | |
86 | | - set -ux |
87 | | - debos -t u_boot_rb1:rb1-boot.img \ |
88 | | - debos-recipes/qualcomm-linux-debian-flash.yaml |
| 67 | + debos -t xfcedesktop:false -t localdebs:local-debs/ \ |
| 68 | + debos-recipes/qualcomm-linux-debian-rootfs.yaml |
89 | 69 |
|
90 | 70 | - name: Stage debos artifacts for publishing |
91 | 71 | run: | |
|
95 | 75 | mkdir -vp "${BUILD_DIR}" |
96 | 76 | # copy output files |
97 | 77 | cp -av rootfs.tar.gz "${BUILD_DIR}" |
98 | | - cp -av dtbs.tar.gz "${BUILD_DIR}" |
99 | | - cp -av disk-ufs.img.gz "${BUILD_DIR}" |
100 | | - cp -av disk-sdcard.img.gz "${BUILD_DIR}" |
101 | | - # TODO: separate flash_* directories between UFS and eMMC |
102 | | - tar -cvf "${BUILD_DIR}"/flash-ufs.tar.gz \ |
103 | | - disk-ufs.img1 \ |
104 | | - disk-ufs.img2 \ |
105 | | - flash_rb3* |
106 | | - tar -cvf "${BUILD_DIR}"/flash-emmc.tar.gz \ |
107 | | - disk-sdcard.img1 \ |
108 | | - disk-sdcard.img2 \ |
109 | | - flash_rb1* |
110 | 78 |
|
111 | 79 | - name: Upload private artifacts |
112 | 80 | uses: qualcomm-linux/upload-private-artifact-action@v1 |
|
0 commit comments