zstd
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
2c38d8ec86
commit
c3fbf5bdd1
|
@ -1,12 +1,12 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
workdir="$HOME/public/rootfs"
|
workdir="$HOME/public/rootfs"
|
||||||
filename="spark-x86_64-$(date '+%Y%m%d').tar.xz"
|
filename="spark-x86_64-$(date '+%Y%m%d').tar.zst"
|
||||||
|
|
||||||
cd "$workdir"
|
cd "$workdir"
|
||||||
|
|
||||||
podman create --name spark-rootfs localhost/spark:latest bash
|
podman create --name spark-rootfs localhost/spark:latest bash
|
||||||
podman export spark-rootfs | xz > ".$filename.part"
|
podman export spark-rootfs | zstd > ".$filename.part"
|
||||||
podman rm spark-rootfs
|
podman rm spark-rootfs
|
||||||
|
|
||||||
mv ".$filename.part" "$filename"
|
mv ".$filename.part" "$filename"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user