35 lines
854 B
Bash
Executable File
35 lines
854 B
Bash
Executable File
#!/bin/bash
|
|
DESKTOP="cinnamon"
|
|
echo "========================="
|
|
echo "| ${DESKTOP} VOID x86_64 |"
|
|
echo " ------------------------"
|
|
CURRENT=https://alpha.de.repo.voidlinux.org/current
|
|
MUTILIB=https://alpha.de.repo.voidlinux.org/current/multilib
|
|
#NONFREE=https://repo.voidlinux.eu/current/nonfree
|
|
FILENAME="void-live-${DESKTOP}-unofficial"
|
|
DATE=$(date +%Y%m%d)
|
|
KERNEL=$(uname -r)
|
|
BUILDDIR="$(pwd)/build"
|
|
|
|
#shift $((OPTIND - 1))
|
|
|
|
#: ${ARCH:=$(uname -m)}
|
|
|
|
sudo ./mklive.sh \
|
|
-a x86_64 \
|
|
-r ${CURRENT} \
|
|
-r ${MUTILIB} \
|
|
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
|
-T "Void Linux ${DESKTOP} Unofficial" \
|
|
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
|
|
|
|
|
|
|
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
|
|
|
if [ ! -d "${BUILDDIR}" ];then
|
|
mkdir ${BUILDDIR}
|
|
fi
|
|
|
|
mv ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso build
|