add tools

This commit is contained in:
2023-04-27 08:14:01 -04:00
parent de78cc1793
commit 6ddccbc833
5 changed files with 220 additions and 0 deletions

12
tools/mkimg Executable file
View File

@@ -0,0 +1,12 @@
#!/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