aboutsummaryrefslogtreecommitdiff
path: root/scripts/tar-pfx.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tar-pfx.sh')
-rw-r--r--scripts/tar-pfx.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/tar-pfx.sh b/scripts/tar-pfx.sh
new file mode 100644
index 0000000..b395764
--- /dev/null
+++ b/scripts/tar-pfx.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+. ./.vars
+
+bsdtar \
+ --numeric-owner \
+ --owner=root \
+ --group=root \
+ -C pfx \
+ -cvf - . \
+ | xz -9 -T0 -vc > pfx.txz