From a55cd97b80aed7a1fc5e37095ce6ff10f55ad573 Mon Sep 17 00:00:00 2001 From: yuk7 Date: Mon, 6 May 2024 15:11:21 +0900 Subject: [PATCH] support install tar.zst and tar.xz --- src/install/install.go | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/install/install.go b/src/install/install.go index 6402f5c..b75367f 100644 --- a/src/install/install.go +++ b/src/install/install.go @@ -18,7 +18,20 @@ import ( ) var ( - defaultRootFiles = []string{"install.tar", "install.tar.gz", "rootfs.tar", "rootfs.tar.gz", "install.ext4.vhdx", "install.ext4.vhdx.gz"} + defaultRootFiles = []string{ + "install.tar", + "install.tar.gz", + "install.tgz", + "install.tar.zst", + "install.tar.xz", + "rootfs.tar", + "rootfs.tar.gz", + "rootfs.tgz", + "rootfs.tar.zst", + "rootfs.tar.xz", + "install.ext4.vhdx", + "install.ext4.vhdx.gz", + } ) //Install installs distribution with default rootfs file names