Files
sisungo 01490efee1 initial commit
Signed-off-by: sisungo <[email protected]>
2026-10-09 09:09:41 +00:00

9 lines
230 B
Bash

create_tarball() {
if [ "$(uname -s)" -eq "Linux" ]; then
unshare -U \
tar -cvvzf "$(realpath ${OUTPUT})" --numeric-owner --acls --xattrs -C "$1/root" .
else
echo "Unsupported kernel."
fi
}