initial commit

This commit is contained in:
mollusk 2019-02-09 20:42:33 -07:00
commit 35903ca109
23 changed files with 1349 additions and 0 deletions

25
base-x64.packages Normal file
View File

@ -0,0 +1,25 @@
#GRUB
grub-i386-efi
grub-x86_64-efi
#BASE PKGS
dialog
cryptsetup
lvm2
mdadm
ConsoleKit2
#USERLAND PACKAGES
NetworkManager
nano
vim
bash-completion
git
xterm
htop
tuxc
ntp
void-repo-multilib
ntfs-3g

47
base-x64.sh Executable file
View File

@ -0,0 +1,47 @@
#!/bin/bash
echo "========================="
echo "| BASE VOID x86_64 |"
echo " ------------------------"
CURRENT=https://alpha.de.repo.voidlinux.org/current
MUTILIB=https://alpha.de.repo.voidlinux.org/current
#NONFREE=https://repo.voidlinux.eu/current/nonfree
FILENAME="void-live-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 '^[^#].' base-x64.packages)" \
-T "Void Linux Unofficial" \
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
if [ ! -f sha256sums.txt ];then
echo "Missing checksum file, aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
if [ ! -d "${BUILDDIR}" ];then
mkdir ${BUILDDIR}
fi
mv ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso build

291
build-images.sh Executable file
View File

@ -0,0 +1,291 @@
#!/bin/bash
HTMLDIR="/var/www/voidbuilds.xyz/public"
FILENAME="status.html"
ISODIR="download"
echo "refreshing repo cache"
xbps-install -S
mvImages(){
PKGLISTDIR="package_lists"
if [ ! -f sha256sums.txt ];then
echo "checksum file not found, aborting!"
exit 1
fi
if [ -d "${HTMLDIR}" ];then
rm ${HTMLDIR}/${ISODIR}/*.iso
rm ${HTMLDIR}/${ISODIR}/*.txt
rm ${HTMLDIR}/${ISODIR}/*.sig
mv sha256sums.txt build
mv sha256sums.txt.sig build
mv build/* ${HTMLDIR}/${ISODIR}
else
echo "${HTMLDIR}/${ISODIR} does not exist"
fi
if [ ! -d "${PKGLISTDIR}" ];then
mkdir "${PKGLISTDIR}"
fi
rm ${PKGLISTDIR}/*
cp base-x64.packages ${PKGLISTDIR}/base-x64.packages.txt
cp cinnamon-x64.packages ${PKGLISTDIR}/cinnamon-x64.packages.txt
cp e17-x64.packages ${PKGLISTDIR}/e17-x64.packages.txt
cp mate-x64.packages ${PKGLISTDIR}/mate-x64.packages.txt
cp lxde-x64.packages ${PKGLISTDIR}/lxde-x64.packages.txt
cp lxqt-x64.packages ${PKGLISTDIR}/lxqt-x64.packages.txt
cp i3-x64.packages ${PKGLISTDIR}/i3-x64.packages.txt
#cp kde-x64.packages ${PKGLISTDIR}/kde-x64.packages.txt
#cp gnome-x64.packages ${PKGLISTDIR}/gnome-x64.packages.txt
cp xfce-x64.packages ${PKGLISTDIR}/xfce-x64.packages.txt
cp -r ${PKGLISTDIR} ${HTMLDIR}
return
}
runBuilds(){
TOTAL="8"
ERR_FILE="error-status.txt"
if [ -f "${ERR_FILE}" ];then
echo "removing error file"
rm ${ERR_FILE}
fi
if [ ! -z "$(ls -A build)" ];then
rm build/*
fi
echo "0/${TOTAL} completed at $(date +%T)</br></br>" >> ${HTMLDIR}/${FILENAME}
echo "Building Image: Base</br>" >> ${HTMLDIR}/${FILENAME}
echo "Building: Base Image..."
sleep 1
./base-x64.sh
if [ $(cat ${ERR_FILE}) = "ERR=1" ];then
echo "<b style="color:red">Build failed for image: 'base', trying again at 00:00 MST</b></br>" >> ${HTMLDIR}/${FILENAME}
rm ${ERR_FILE}
${0} -bl
else
echo "1/${TOTAL} completed at $(date +%T)</br></br>" >> ${HTMLDIR}/${FILENAME}
fi
echo "Building Image: Cinnamon</br>" >> ${HTMLDIR}/${FILENAME}
echo " Building: Cinnamon Image..."
sleep 1
./cinnamon-x64.sh
if [ $(cat ${ERR_FILE}) = "ERR=1" ];then
echo "<b style="color:red">Build failed for image: 'Cinnamon', trying again at 00:00 MST</b></br>" >> ${HTMLDIR}/${FILENAME}
rm ${ERR_FILE}
${0} -bl
else
echo "2/${TOTAL} completed at $(date +%T)</br></br>" >> ${HTMLDIR}/${FILENAME}
fi
#echo "Building Image: GNOME</br>" >> ${HTMLDIR}/${FILENAME}
#echo " Building: Gnome Image..."
#sleep 1
#./gnome-x64.sh
echo "Building Image: i3</br>" >> ${HTMLDIR}/${FILENAME}
echo "Building: i3 image..."
sleep 1
./i3-x64.sh
if [ $(cat ${ERR_FILE}) = "ERR=1" ];then
echo "<b style="color:red">Build failed for image: 'i3', trying again at 00:00 MST</b></br>" >> ${HTMLDIR}/${FILENAME}
rm ${ERR_FILE}
${0} -bl
else
echo "3/${TOTAL} completed at $(date +%T)</br></br>" >> ${HTMLDIR}/${FILENAME}
fi
echo "Building Image: Enlightenment</br>" >> ${HTMLDIR}/${FILENAME}
echo "Building: enlightenment image..."
sleep 1
./e17-x64.sh
if [ $(cat ${ERR_FILE}) = "ERR=1" ];then
echo "<b style="color:red">Build failed for image: 'i3', trying again at 00:00 MST</b></br>" >> ${HTMLDIR}/${FILENAME}
rm ${ERR_FILE}
${0} -bl
else
echo "4/${TOTAL} completed at $(date +%T)</br></br>" >> ${HTMLDIR}/${FILENAME}
fi
#echo "Building Image: KDE</br>" >> ${HTMLDIR}/${FILENAME}
#echo "Building: Kde image..."
#sleep 1
#./kde-x64.sh
echo "Building Image: LXDE</br>" >> ${HTMLDIR}/${FILENAME}
echo "Building: Lxde Image..."
sleep 1
./lxde-x64.sh
if [ $(cat ${ERR_FILE}) = "ERR=1" ];then
echo "<b style="color:red">Build failed for image: 'LXDE', trying again at 00:00 MST</b></br>" >> ${HTMLDIR}/${FILENAME}
rm ${ERR_FILE}
${0} -bl
else
echo "5/${TOTAL} completed at $(date +%T)</br></br>" >> ${HTMLDIR}/${FILENAME}
fi
echo "Building Image: LXQT</br>" >> ${HTMLDIR}/${FILENAME}
echo "Building: Lxqt Image..."
sleep 1
./lxqt-x64.sh
if [ $(cat ${ERR_FILE}) = "ERR=1" ];then
echo "<b style="color:red">Build failed for image: 'LXQT', trying again at 00:00 MST</b></br>" >> ${HTMLDIR}/${FILENAME}
rm ${ERR_FILE}
${0} -bl
else
echo "6/${TOTAL} completed at $(date +%T)</br></br>" >> ${HTMLDIR}/${FILENAME}
fi
echo "Building Image: MATE</br>" >> ${HTMLDIR}/${FILENAME}
echo "Building: Mate Image..."
sleep 1
./mate-x64.sh
if [ "$(cat ${ERR_FILE})" = "ERR=1" ];then
echo "<b style="color:red">Build failed for image: 'MATE', trying again at 00:00 MST</b></br>" >> ${HTMLDIR}/${FILENAME}
rm ${ERR_FILE}
${0} -bl
else
echo "7/${TOTAL} completed at $(date +%T)</br></br>" >> ${HTMLDIR}/${FILENAME}
fi
echo "Building Image: XFCE</br>" >> ${HTMLDIR}/${FILENAME}
echo "Building: Xfce Image..."
sleep 1
./xfce-x64.sh
if [ "$(cat ${ERR_FILE})" = "ERR=1" ];then
echo "<b style="color:red">Build failed for image: 'XFCE', trying again at 00:00 MST</b></br>" >> ${HTMLDIR}/${FILENAME}
rm ${ERR_FILE}
${0} -bl
else
echo "8/${TOTAL} completed at $(date +%T) </br></br>" >> ${HTMLDIR}/${FILENAME}
fi
if [ ! -f sha256sums.txt ];then
echo "sha manifest does not exist!"
else
echo "Signing checksum file</br>" >> ${HTMLDIR}/${FILENAME}
./sign-file.sh -f sha256sums.txt
mvImages
fi
echo "Done!"
return
}
genHtml(){
FILENAME="status.html"
echo "<DOCTYPE! html>" > ${HTMLDIR}/${FILENAME}
echo "<html>" >> ${HTMLDIR}/${FILENAME}
echo "<head>" >> ${HTMLDIR}/${FILENAME}
echo '<script type="text/javascript">' >> ${HTMLDIR}/${FILENAME}
echo 'function timedRefresh(timeoutPeriod) {' >> ${HTMLDIR}/${FILENAME}
echo 'setTimeout("location.reload(true);",timeoutPeriod);' >> ${HTMLDIR}/${FILENAME}
echo '}' >> ${HTMLDIR}/${FILENAME}
echo 'window.onload = timedRefresh(10000);' >> ${HTMLDIR}/${FILENAME}
echo "</script>" >> ${HTMLDIR}/${FILENAME}
echo "<style>" >> ${HTMLDIR}/${FILENAME}
echo "body {" >> ${HTMLDIR}/${FILENAME}
echo "color: black;" ${HTMLDIR}/${FILENAME}
echo "}" >> ${HTMLDIR}/${FILENAME}
echo "h1 {" ${HTMLDIR}/${FILENAME}
echo "color: #FFFFFF;" >> ${HTMLDIR}/${FILENAME}
echo "}" >> ${HTMLDIR}/${FILENAME}
echo "</style>" >> ${HTMLDIR}/${FILENAME}
echo "</head>" >> ${HTMLDIR}/${FILENAME}
echo '<body text=white style="background-color: black">' >> ${HTMLDIR}/${FILENAME}
echo "<H5>This page will refresh every 10 seconds</H5></br>" >> ${HTMLDIR}/${FILENAME}
echo "<H4 style="color:cyan">Build process initiated at:</H4> $(date +%R) MST ($(date -u +%R) UTC) on $(date +%D)" >> ${HTMLDIR}/${FILENAME}
echo "<H4 style="color:cyan">ETA: 2 hours from initiation time</H4></br>" >> ${HTMLDIR}/${FILENAME}
echo '<H4 style="color:lightgreen">System Specs</H4>' >> ${HTMLDIR}/${FILENAME}
echo "CPU Cores: 1</br>" >> ${HTMLDIR}/${FILENAME}
echo "Disk Size: $(df -h| tr -s ' ' $'\t' | grep vda1 | cut -f2)</br>" >> ${HTMLDIR}/${FILENAME}
echo "Disk Space Used: $(df | tr -s ' ' $'\t' | grep vda1 | cut -f5)</br>" >> ${HTMLDIR}/${FILENAME}
echo "Memory Size: $(free -m| tr -s ' ' $'\t' | grep Mem: | cut -f2) Mb</br>" >> ${HTMLDIR}/${FILENAME}
echo "Memory Free: $(free -m| tr -s ' ' $'\t' | grep Mem: | cut -f4) Mb</br>" >> ${HTMLDIR}/${FILENAME}
echo "Swap Size: $(free -m| tr -s ' ' $'\t' | grep Swap: | cut -f2) Mb</br>" >> ${HTMLDIR}/${FILENAME}
echo "Swap Used: $(free -m| tr -s ' ' $'\t' | grep Swap: | cut -f3) Mb</br></br>" >> ${HTMLDIR}/${FILENAME}
echo "<H4 style="color:lightgreen">Live Image Specs</H4>" >> ${HTMLDIR}/${FILENAME}
echo "<h5>System</h5>"
echo "Kernel Version: $(xbps-query -S linux| grep pkgver | sed 's/pkgver://') series</br>" >> ${HTMLDIR}/${FILENAME}
echo "GlibC Version: $(xbps-query -S glibc| grep pkgver | sed 's/pkgver://')</br></br>" >> ${HTMLDIR}/${FILENAME}
echo "AMDGPU Version: $(xbps-query -S xf86-video-amdgpu| grep pkgver | sed 's/pkgver://')</br></br>" >> ${HTMLDIR}/${FILENAME}
echo "<hr>" >> ${HTMLDIR}/${FILENAME}
#cat ${HTMLDIR}/${FILENAME}
echo "<H3 style="color:orange">Status</H3>" >> ${HTMLDIR}/${FILENAME}
runBuilds
echo "Disk Space Used: $(df | tr -s ' ' $'\t' | grep vda1 | cut -f5)</br>" >> ${HTMLDIR}/${FILENAME}
echo "All images were completed at $(date +%R) MST ($(date -u +%R) UTC)</br>" >> ${HTMLDIR}/${FILENAME}
echo "Next build round in 24 hours</b>" >> ${HTMLDIR}/${FILENAME}
echo '<a href="https://voidbuilds.xyz/landing.html">Return to landing page</a>' >> ${HTMLDIR}/${FILENAME}
echo "</body>" >> ${HTMLDIR}/${FILENAME}
echo "</html>" >> ${HTMLDIR}/${FILENAME}
return
}
case ${1} in
-bl|--build-later)
while true;do
snooze -v genHtml
done
;;
-bn|--build-now)
while true;do
genHtml && snooze -v genHtml
done
;;
*)
echo -e "\nusage: ${0} [-bn, -bl]\n"
echo -e "\n-bn run builds now, snooze after\n"
echo -e "-bl snooze now, run builds after\n\n"
;;
esac

53
cinnamon-x64.packages Normal file
View File

@ -0,0 +1,53 @@
#GRUB
grub-i386-efi
grub-x86_64-efi
#BASE PKGS
dialog
cryptsetup
lvm2
mdadm
ConsoleKit2
# X PACKAGES
xorg-minimal
xorg-input-drivers
xorg-video-drivers
intel-ucode
setxkbmap
xauth
font-misc-misc
terminus-font
dejavu-fonts-ttf
alsa-plugins-pulseaudio
#USERLAND PACKAGES
lxdm
pm-utils
nano
xdg-utils
git
vim
bash-completion
cinnamon
xrandr
colord
gnome-terminal
alsa-utils
pavucontrol
xterm
htop
tuxc
ntp
octoxbps
gksu
void-repo-multilib
gvfs-afc
gvfs-mtp
gvfs-smb
udisks2
ntfs-3g
gnome-keyring
network-manager-applet
firefox

44
cinnamon-x64.sh Executable file
View File

@ -0,0 +1,44 @@
#!/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
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
if [ ! -f sha256sums.txt ];then
echo "Missing checksum file, aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
if [ ! -d "${BUILDDIR}" ];then
mkdir ${BUILDDIR}
fi
mv ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso build

61
e17-x64.packages Normal file
View File

@ -0,0 +1,61 @@
#GRUB
grub-i386-efi
grub-x86_64-efi
#BASE PKGS
dialog
cryptsetup
lvm2
mdadm
ConsoleKit2
# X PACKAGES
xorg-minimal
xorg-input-drivers
xorg-video-drivers
xrandr
intel-ucode
setxkbmap
xauth
font-misc-misc
terminus-font
dejavu-fonts-ttf
alsa-plugins-pulseaudio
#USERLAND PACKAGES
lxdm
enlightenment
terminology
econnman
xdg-utils
zenity
bash-completion
pm-utils
nano
xdg-utils
vim
git
alsa-utils
paprefs
pasystray
pavucontrol
xterm
htop
tuxc
ntp
void-repo-multilib
void-repo-nonfree
octoxbps
gksu
gvfs-afc
gvfs-mtp
gvfs-smb
udisks2
ntfs-3g
gnome-keyring
network-manager-applet
firefox
Adapta
papirus-icon-theme
gnome-themes-standard

44
e17-x64.sh Executable file
View File

@ -0,0 +1,44 @@
#!/bin/bash
DESKTOP="e17"
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
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
if [ ! -f sha256sums.txt ];then
echo "Missing checksum file, aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
if [ ! -d "${BUILDDIR}" ];then
mkdir ${BUILDDIR}
fi
mv ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso build

62
gnome-x64.packages Normal file
View File

@ -0,0 +1,62 @@
#GRUB
grub-i386-efi
grub-x86_64-efi
#BASE PKGS
dialog
cryptsetup
lvm2
mdadm
ConsoleKit2
dbus
avahi
avahi-utils
# X PACKAGES
xorg-minimal
xorg-input-drivers
xorg-video-drivers
intel-ucode
setxkbmap
xauth
xrandr
font-misc-misc
terminus-font
dejavu-fonts-ttf
alsa-plugins-pulseaudio
#USERLAND PACKAGES
gdm
pm-utils
bash-completion
nano
git
vim
alsa-utils
paprefs
xdg-utils
pasystray
pavucontrol
xterm
htop
tuxc
ntp
void-repo-multilib
void-repo-nonfree
octoxbps
gksu
gvfs-afc
gvfs-mtp
gvfs-smb
udisks2
ntfs-3g
gnome-keyring
network-manager-applet
firefox
gnome
gnome-apps
Adapta
papirus-icon-theme
gnome-themes-standard

44
gnome-x64.sh Executable file
View File

@ -0,0 +1,44 @@
#!/bin/bash
DESKTOP="gnome"
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
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
if [ ! -f sha256sums.txt ];then
echo "Missing checksum file, aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
if [ ! -d "${BUILDDIR}" ];then
mkdir ${BUILDDIR}
fi
mv ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso build

55
i3-x64.packages Normal file
View File

@ -0,0 +1,55 @@
#GRUB
grub-i386-efi
grub-x86_64-efi
#BASE PKGS
dialog
cryptsetup
lvm2
mdadm
ConsoleKit2
# X PACKAGES
xorg-minimal
xorg-input-drivers
xorg-video-drivers
intel-ucode
setxkbmap
xauth
xrandr
font-misc-misc
terminus-font
dejavu-fonts-ttf
alsa-plugins-pulseaudio
#USERLAND PACKAGES
lxdm
pm-utils
nano
xdg-utils
git
vim
bash-completion
i3-gaps
i3blocks
i3status
alsa-utils
pulsemixer
pasystray
xterm
mc
htop
tuxc
ntp
dmenu
sakura
void-repo-multilib
gvfs-afc
gvfs-mtp
gvfs-smb
udisks2
ntfs-3g
gnome-keyring
network-manager-applet
qutebrowser

44
i3-x64.sh Executable file
View File

@ -0,0 +1,44 @@
#!/bin/bash
DESKTOP="i3"
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
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
if [ ! -f sha256sums.txt ];then
echo "Missing checksum file, aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
if [ ! -d "${BUILDDIR}" ];then
mkdir ${BUILDDIR}
fi
mv ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso build

66
kde-x64.packages Normal file
View File

@ -0,0 +1,66 @@
#GRUB
grub-i386-efi
grub-x86_64-efi
#BASE PKGS
dialog
cryptsetup
lvm2
mdadm
ConsoleKit2
# X PACKAGES
xorg
xorg-input-drivers
xorg-video-drivers
intel-ucode
setxkbmap
xauth
xrandr
font-misc-misc
terminus-font
dejavu-fonts-ttf
alsa-plugins-pulseaudio
#USERLAND PACKAGES
sddm
konsole
bash-completion
pm-utils
nano
git
vim
xdg-utils
alsa-utils
alsa-plugins-pulseaudio
plasma-pa
paprefs
pavucontrol
inetutils
usbutils
wget
curl
xterm
htop
tuxc
keepassxc
octoxbps
ntp
void-repo-multilib
void-repo-nonfree
octoxbps
kdesu
gvfs-afc
gvfs-mtp
gvfs-smb
udisks2
ntfs-3g
gnome-keyring
NetworkManager
plasma-nm
firefox
kde5
dolphin
adapta-kde
papirus-icon-theme

44
kde-x64.sh Executable file
View File

@ -0,0 +1,44 @@
#!/bin/bash
DESKTOP="kde"
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
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
if [ ! -f sha256sums.txt ];then
echo "Missing checksum file, aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
if [ ! -d "${BUILDDIR}" ];then
mkdir ${BUILDDIR}
fi
mv ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso build

52
lxde-x64.packages Normal file
View File

@ -0,0 +1,52 @@
#GRUB
grub-i386-efi
grub-x86_64-efi
#BASE PKGS
dialog
cryptsetup
lvm2
mdadm
ConsoleKit2
# X PACKAGES
xorg-minimal
xorg-input-drivers
xorg-video-drivers
intel-ucode
setxkbmap
xrandr
xauth
font-misc-misc
terminus-font
dejavu-fonts-ttf
alsa-plugins-pulseaudio
#USERLAND PACKAGES
lxdm
pm-utils
bash-completion
nano
git
vim
lxde
xdg-utils
gnome-terminal
alsa-utils
pavucontrol
xterm
htop
tuxc
ntp
octoxbps
gksu
void-repo-multilib
gvfs-afc
gvfs-mtp
gvfs-smb
udisks2
ntfs-3g
gnome-keyring
network-manager-applet
falkon

44
lxde-x64.sh Executable file
View File

@ -0,0 +1,44 @@
#!/bin/bash
DESKTOP="lxde"
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
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
if [ ! -f sha256sums.txt ];then
echo "Missing checksum file, aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
if [ ! -d "${BUILDDIR}" ];then
mkdir ${BUILDDIR}
fi
mv ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso build

53
lxqt-x64.packages Normal file
View File

@ -0,0 +1,53 @@
#GRUB
grub-i386-efi
grub-x86_64-efi
#BASE PKGS
dialog
cryptsetup
lvm2
mdadm
ConsoleKit2
# X PACKAGES
xorg-minimal
xorg-input-drivers
xorg-video-drivers
xrandr
intel-ucode
setxkbmap
xauth
font-misc-misc
terminus-font
dejavu-fonts-ttf
alsa-plugins-pulseaudio
#USERLAND PACKAGES
qt5-plugin-sqlite
pm-utils
nano
bash-completion
git
xdg-utils
vim
lxdm
lxqt
lxterminal
alsa-utils
pavucontrol
xterm
htop
tuxc
ntp
octoxbps
gksu
void-repo-multilib
gvfs-afc
gvfs-mtp
gvfs-smb
udisks2
ntfs-3g
gnome-keyring
network-manager-applet
falkon

45
lxqt-x64.sh Executable file
View File

@ -0,0 +1,45 @@
#!/bin/bash
DESKTOP="lxqt"
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
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
if [ ! -f sha256sums.txt ];then
echo "Missing checksum file, aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
if [ ! -d "${BUILDDIR}" ];then
mkdir ${BUILDDIR}
fi
mv ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso build

50
mate-x64.packages Normal file
View File

@ -0,0 +1,50 @@
#GRUB
grub-i386-efi
grub-x86_64-efi
#BASE PKGS
dialog
cryptsetup
lvm2
mdadm
ConsoleKit2
# X PACKAGES
xorg-minimal
xorg-input-drivers
xorg-video-drivers
intel-ucode
setxkbmap
xauth
xrandr
font-misc-misc
terminus-font
dejavu-fonts-ttf
alsa-plugins-pulseaudio
#USERLAND PACKAGES
lxdm
mate
mate-extra
bash-completion
caja-extensions
alsa-utils
xdg-utils
pavucontrol
alsa-plugins-pulseaudio
xterm
htop
tuxc
ntp
octoxbps
gksu
void-repo-multilib
gvfs-afc
gvfs-mtp
gvfs-smb
udisks2
ntfs-3g
gnome-keyring
network-manager-applet
firefox

47
mate-x64.sh Executable file
View File

@ -0,0 +1,47 @@
#!/bin/bash
DESKTOP="mate"
echo "========================="
echo "| MATE 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)}
./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
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
if [ ! -f sha256sums.txt ];then
echo "Missing checksum file, aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
if [ ! -d "${BUILDDIR}" ];then
mkdir ${BUILDDIR}
fi
mv ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso build

23
sign-file.sh Executable file
View File

@ -0,0 +1,23 @@
#!/bin/bash
case ${1} in
-f)
if [ ! -f "${2}" ];then
echo "File '${2}' does not exist!"
else
if [ ! -f /usr/bin/gpg ];then
gpg2 --output "${2}.sig" --detach-sig ${2}
else
gpg --output "${2}.sig" --detach-sig ${2}
fi
if [ ! -f "${2}.sig" ];then
echo "Error creating file: ${2}.sig"
else
echo "File ${2}.sig created!"
fi
fi
;;
esac

51
silvernode.asc Normal file
View File

@ -0,0 +1,51 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBFsL/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BaTn+l4qr4/FElg/PtqksAzCOp
PW5LG3R+cLvDvmsSnuatISfsb4J5JHVbJGMap/faygZgJWCp2jKOJf+G2HaKPlaL
NpcV/YgsjuG+vRH3OSdY653xFRc8s54nd9S1V8VVltFNPDaqJMi0c66tv12kjcup
FVyZ21HP4CcAEQEAAYkCHwQYAQIACQUCWwv+YwIbDAAKCRAv7ar2tqz64K7KD/9J
rSEBuj9ds6juzHgQknmEEp77+yHtQaBeijHafrhR9NwqLLGiBshD7FTh+prgJdSf
gDIYL7Yhl758W0MDp4Hk1tTw8dKqxe7DYxyBawxJcNyc+Y85YKOVEq+f6JcjouA+
pjS8bp9QH3ewMJ4dp+SDrwqhiDN1M84HpDjZw9mWkv5sDsiFN8hmDYNgFUczDOUI
bNkDOJcoCQfcZr+pwBdgFxY9hM5NZpuJ+AKcokzcvgBILTshMJqbwT72x6lVEqxv
c8cHOMS4Xvw7BIBaZslG613oRmXSdDR21W/Nu8H9W82bq3czpO9rDc6FDPL6bVSB
9Fuc1FUTddz+g9mngFgUB902dcLPcMwa88tEkGkGQpoNXOp+RDtTL4dti4n+8mAn
j2lvUL5wkQGR4ow73wdrHqF/dKJVQb/9Kr2FfpCD3fCfuhZOWDEdDPs4XJI7/6OG
/tCkNphJsGP4O/duZkcz/RxO8gUFH120DFi4MDPa6HhRPHhr6NBXObnXPC3SVB6Y
l255bwWEE42ewIBGTk0jotKtYdgiyoiAQGeANKwSySMZ3uGuXYyZQL2kZtrlapK5
KHXYXOfE6pRh+uxW8AAnJt88SwlDHsTVMb3z1XU8HszHhPDKgtIiGODj+0UciEdH
3eOH+XSRCZkuPC0R+ASUS3e4aap6VvSA+6lDBxJq4w==
=ejo/
-----END PGP PUBLIC KEY BLOCK-----

60
xfce-x64.packages Normal file
View File

@ -0,0 +1,60 @@
#GRUB
grub-i386-efi
grub-x86_64-efi
#BASE PKGS
dialog
cryptsetup
lvm2
mdadm
ConsoleKit2
# X PACKAGES
xorg-minimal
xorg-input-drivers
xorg-video-drivers
xrandr
intel-ucode
setxkbmap
xauth
font-misc-misc
terminus-font
dejavu-fonts-ttf
alsa-plugins-pulseaudio
#USERLAND PACKAGES
lxdm
xdg-utils
zenity
bash-completion
pm-utils
nano
xdg-utils
vim
git
alsa-utils
paprefs
pasystray
pavucontrol
xterm
htop
tuxc
ntp
void-repo-multilib
void-repo-nonfree
octoxbps
gksu
gvfs-afc
gvfs-mtp
gvfs-smb
udisks2
ntfs-3g
gnome-keyring
network-manager-applet
firefox
xfce4
xfce4-plugins
Adapta
papirus-icon-theme
gnome-themes-standard

44
xfce-x64.sh Executable file
View File

@ -0,0 +1,44 @@
#!/bin/bash
DESKTOP="xfce"
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
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
if [ ! -f sha256sums.txt ];then
echo "Missing checksum file, aborting!"
echo "ERR=1" > error-status.txt
exit 1
fi
if [ ! -d "${BUILDDIR}" ];then
mkdir ${BUILDDIR}
fi
mv ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso build