everest-build-tools/tools/mkimg
2023-04-27 08:14:01 -04:00

13 lines
235 B
Bash
Executable File

#!/bin/sh
RELEASE_FILE=$(pwd)/everest-distinfo
if [ -f ${RELEASE_FILE} ]; then
source ${RELEASE_FILE}
else
printf "${RELEASE_FILE} does not exist.\n"
exit 1
fi
tar Jcfv ${1}
mv ${1}.tar.xz everestlinux-${VER}-${TARGET}-img.tar.xz