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 }