Skip to content

Commit 17a50ff

Browse files
committed
qcom-base.inc: enable tarballs as additional image format
Upstream OE changed the defaults, so the original stanza prevented all types of tarballs. Enable `tar.gz` to be able to populate external media like microSD cards a bit easier. Gzip has been picked over xz because of its speed, both in compression as in decompression. With `pigz` installed it scales linearly with the number of CPU cores, removing it as the bottleneck. Signed-off-by: Koen Kooi <[email protected]>
1 parent 20d656b commit 17a50ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

conf/distro/include/qcom-base.inc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ IMAGE_FSTYPES += "qcomflash"
2828
PACKAGE_CLASSES = "package_ipk"
2929

3030
# Avoid to duplicate the rootfs tarball by generating both tar.gz/tar.xz
31-
IMAGE_FSTYPES:remove = "tar.gz"
31+
IMAGE_FSTYPES:remove = "tar.xz"
32+
IMAGE_FSTYPES:append = " tar.gz"
3233

3334
# Pull in the initrd image by default
3435
INITRAMFS_IMAGE_BUNDLE ?= "1"

0 commit comments

Comments
 (0)