add installKernelTarball.sh

This commit is contained in:
layman 2019-05-04 14:54:39 +02:00
parent 53bfb53da7
commit 6f58727102

11
installKernelTarball.sh Normal file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
TARBALL="$(realpath "$1")"
if [[ ! -f "$TARBALL" ]] ; then
echo "$TARBALL" is not a file!
exit 2
fi
tar --keep-directory-symlink -xf "$TARBALL" -C /