diff --git a/makedist.sh b/makedist.sh new file mode 100755 index 00000000000000..44f6cb4f4ade0e --- /dev/null +++ b/makedist.sh @@ -0,0 +1,11 @@ +#!/bin/bash +set -x +name=linux +version=5.19.0 +tarballs=$name-$version-`date +%Y%m%d`.tar.xz + +git archive --format=tar.xz --prefix=$name-$version/ -o $tarballs HEAD + +if mountpoint /archlinux/ >/dev/null 2>&1;then + cp $tarballs /archlinux/sources +fi