From 85bb38be582dc0fde12fcc6f7162c22925444d48 Mon Sep 17 00:00:00 2001 From: ZHANG Yuntian <95260730+RadxaYuntian@users.noreply.github.com> Date: Wed, 10 Jul 2024 03:02:51 +0000 Subject: [PATCH] fix: use xz for seed.tar --- src/share/rsdk/build/rootfs.jsonnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/rsdk/build/rootfs.jsonnet b/src/share/rsdk/build/rootfs.jsonnet index 7cdd048..fe53236 100644 --- a/src/share/rsdk/build/rootfs.jsonnet +++ b/src/share/rsdk/build/rootfs.jsonnet @@ -56,7 +56,7 @@ function( mkdir -p "%(output_dir)s/seed" cp "$1/etc/radxa_image_fingerprint" "%(output_dir)s/seed" cp "$1/etc/rsdk/"* "%(output_dir)s/seed" - tar zvcf "%(output_dir)s/seed.tar.gz" -C "%(output_dir)s/seed" . + tar Jvcf "%(output_dir)s/seed.tar.xz" -C "%(output_dir)s/seed" . rm -rf "%(output_dir)s/seed" ||| % { output_dir: output_dir }, ]