Compare commits
20 Commits
5fc8085523
...
5937bc493f
Author | SHA1 | Date | |
---|---|---|---|
5937bc493f | |||
4bc0cdf4f0 | |||
|
da9626bf54 | ||
|
37c9885ae2 | ||
|
fc40e50ff9 | ||
|
9aac388193 | ||
|
31df80c341 | ||
|
865a99cbdb | ||
|
d2969a7708 | ||
|
557be33ae7 | ||
|
529c48e54a | ||
|
707943982b | ||
|
4861b7619d | ||
|
a7a20d50d3 | ||
|
9b0805471a | ||
|
cc93f013b0 | ||
|
2b1aa4f45d | ||
|
3c12c74de0 | ||
|
4ffa689706 | ||
|
95e305c461 |
5
Dockerfile
Normal file → Executable file
5
Dockerfile
Normal file → Executable file
@@ -1,5 +1,5 @@
|
|||||||
# 1) use alpine to generate a void environment
|
# 1) use alpine to generate a void environment
|
||||||
FROM alpine:3.9 as stage0
|
FROM alpine:3.12 as stage0
|
||||||
ARG REPOSITORY=https://alpha.de.repo.voidlinux.org
|
ARG REPOSITORY=https://alpha.de.repo.voidlinux.org
|
||||||
ARG ARCH=x86_64
|
ARG ARCH=x86_64
|
||||||
COPY keys/* /target/var/db/xbps/keys/
|
COPY keys/* /target/var/db/xbps/keys/
|
||||||
@@ -17,7 +17,6 @@ FROM scratch as stage1
|
|||||||
ARG REPOSITORY=https://alpha.de.repo.voidlinux.org
|
ARG REPOSITORY=https://alpha.de.repo.voidlinux.org
|
||||||
ARG ARCH=x86_64
|
ARG ARCH=x86_64
|
||||||
ARG BASEPKG=base-minimal
|
ARG BASEPKG=base-minimal
|
||||||
ARG ADDINS=
|
|
||||||
COPY --from=stage0 /target /
|
COPY --from=stage0 /target /
|
||||||
COPY keys/* /target/var/db/xbps/keys/
|
COPY keys/* /target/var/db/xbps/keys/
|
||||||
RUN xbps-reconfigure -a && \
|
RUN xbps-reconfigure -a && \
|
||||||
@@ -26,7 +25,7 @@ RUN xbps-reconfigure -a && \
|
|||||||
--repository=${REPOSITORY}/current \
|
--repository=${REPOSITORY}/current \
|
||||||
--repository=${REPOSITORY}/current/musl \
|
--repository=${REPOSITORY}/current/musl \
|
||||||
-r /target \
|
-r /target \
|
||||||
${BASEPKG} ${ADDINS}
|
${BASEPKG}
|
||||||
|
|
||||||
# 3) configure and clean up the final image
|
# 3) configure and clean up the final image
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
4
Makefile
Normal file → Executable file
4
Makefile
Normal file → Executable file
@@ -41,7 +41,7 @@ COMPRESSOR_THREADS=2
|
|||||||
all: $(SCRIPTS)
|
all: $(SCRIPTS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -v *.sh
|
-rm -f *.sh
|
||||||
|
|
||||||
distdir-$(DATECODE):
|
distdir-$(DATECODE):
|
||||||
mkdir -p distdir-$(DATECODE)
|
mkdir -p distdir-$(DATECODE)
|
||||||
@@ -99,6 +99,6 @@ masterdir-all-print:
|
|||||||
masterdir-all: $(ALL_MASTERDIRS)
|
masterdir-all: $(ALL_MASTERDIRS)
|
||||||
|
|
||||||
masterdir-%:
|
masterdir-%:
|
||||||
$(SUDO) docker build --build-arg REPOSITORY=$(XBPS_REPOSITORY) --build-arg ARCH=$* --build-arg ADDINS=spdx-licenses-list -t voidlinux/masterdir-$*:$(DATECODE) .
|
$(SUDO) docker build --build-arg REPOSITORY=$(XBPS_REPOSITORY) --build-arg ARCH=$* -t voidlinux/masterdir-$*:$(DATECODE) .
|
||||||
|
|
||||||
.PHONY: clean dist rootfs-all-print rootfs-all platformfs-all-print platformfs-all pxe-all-print pxe-all masterdir-all-print masterdir-all masterdir-push-all
|
.PHONY: clean dist rootfs-all-print rootfs-all platformfs-all-print platformfs-all pxe-all-print pxe-all masterdir-all-print masterdir-all masterdir-push-all
|
||||||
|
6
README.md
Normal file → Executable file
6
README.md
Normal file → Executable file
@@ -46,9 +46,3 @@ Build an x86\_64 musl live image with packages stored in a local repository:
|
|||||||
# ./mklive.sh -a x86_64-musl -r /path/to/host/binpkgs
|
# ./mklive.sh -a x86_64-musl -r /path/to/host/binpkgs
|
||||||
|
|
||||||
See the usage output for more information :-)
|
See the usage output for more information :-)
|
||||||
|
|
||||||
|
|
||||||
These scripts are in flux, if you want to build a duplicate of a
|
|
||||||
production image, its not a bad idea to ping maldridge on IRC. This
|
|
||||||
message will be removed when this readme is replaced with complete
|
|
||||||
documentation.
|
|
||||||
|
3
base-x64.packages
Normal file → Executable file
3
base-x64.packages
Normal file → Executable file
@@ -11,6 +11,9 @@ mdadm
|
|||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
exfat-utils
|
||||||
|
fuse-exfat
|
||||||
|
wget
|
||||||
NetworkManager
|
NetworkManager
|
||||||
nano
|
nano
|
||||||
vim
|
vim
|
||||||
|
47
base-x64.sh
47
base-x64.sh
@@ -2,46 +2,57 @@
|
|||||||
echo "========================="
|
echo "========================="
|
||||||
echo "| BASE VOID x86_64 |"
|
echo "| BASE VOID x86_64 |"
|
||||||
echo " ------------------------"
|
echo " ------------------------"
|
||||||
CURRENT=https://alpha.de.repo.voidlinux.org/current
|
CURRENT=https://mirrors.servercentral.com/voidlinux/current
|
||||||
MUTILIB=https://alpha.de.repo.voidlinux.org/current
|
MUTILIB=https://mirrors.servercentral.com/voidlinux/current/multilib
|
||||||
#NONFREE=https://repo.voidlinux.eu/current/nonfree
|
NONFREE=https://mirrors.servercentral.com/voidlinux/current/nonfree
|
||||||
|
|
||||||
FILENAME="void-live-unofficial"
|
FILENAME="void-live-unofficial"
|
||||||
DATE=$(date +%Y%m%d)
|
DATE=$(date +%Y%m%d)
|
||||||
KERNEL=$(uname -r)
|
KERNEL=$(uname -r)
|
||||||
BUILDDIR="$(pwd)/build"
|
BUILDDIR="$(pwd)/build"
|
||||||
|
|
||||||
#shift $((OPTIND - 1))
|
retry=0
|
||||||
|
# Run mklive command with set architechure, repos and package list
|
||||||
|
until [ -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];do
|
||||||
|
|
||||||
#: ${ARCH:=$(uname -m)}
|
((retry++))
|
||||||
|
if [[ $retry -eq 2 ]];then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
|
||||||
sudo ./mklive.sh \
|
sudo ./mklive.sh \
|
||||||
-a x86_64 \
|
-a x86_64 \
|
||||||
-r ${CURRENT} \
|
-r "${CURRENT}" \
|
||||||
-r ${MUTILIB} \
|
-r "${MULTILIB}" \
|
||||||
-p "$(grep '^[^#].' base-x64.packages)" \
|
-p "$(grep '^[^#].' base-x64.packages)" \
|
||||||
-T "Void Linux Unofficial" \
|
-T "${DESKTOP}" \
|
||||||
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
||||||
|
|
||||||
|
done
|
||||||
|
|
||||||
|
# Make sure resulting ISO exists and sent error to webpage if not
|
||||||
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
||||||
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
|
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
|
||||||
echo "ERR=1" > error-status.txt
|
echo "ERR=1" > error-status.txt
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Add iso file to checksum list
|
||||||
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Check if checksum file exists, send error to webpage if not
|
||||||
if [ ! -f sha256sums.txt ];then
|
if [ ! -f sha256sums.txt ];then
|
||||||
echo "Missing checksum file, aborting!"
|
echo "Missing checksum file, aborting!"
|
||||||
echo "ERR=1" > error-status.txt
|
echo "ERR=1" > error-status.txt
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# make sure build directory exists and create it if not
|
||||||
if [ ! -d "${BUILDDIR}" ];then
|
if [ ! -d "${BUILDDIR}" ];then
|
||||||
mkdir ${BUILDDIR}
|
mkdir ${BUILDDIR}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Move the iso file to the build directory
|
||||||
mv ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso build
|
mv ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso build
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
clear
|
||||||
HTMLDIR="/var/www/voidbuilds.xyz/public"
|
HTMLDIR="/var/www/voidbuilds.xyz/public"
|
||||||
FILENAME="status.html"
|
FILENAME="status.html"
|
||||||
ISODIR="download"
|
ISODIR="download"
|
||||||
@@ -39,10 +39,10 @@ mvImages(){
|
|||||||
cp cinnamon-x64.packages ${PKGLISTDIR}/cinnamon-x64.packages.txt
|
cp cinnamon-x64.packages ${PKGLISTDIR}/cinnamon-x64.packages.txt
|
||||||
cp e17-x64.packages ${PKGLISTDIR}/e17-x64.packages.txt
|
cp e17-x64.packages ${PKGLISTDIR}/e17-x64.packages.txt
|
||||||
cp mate-x64.packages ${PKGLISTDIR}/mate-x64.packages.txt
|
cp mate-x64.packages ${PKGLISTDIR}/mate-x64.packages.txt
|
||||||
cp lxde-x64.packages ${PKGLISTDIR}/lxde-x64.packages.txt
|
# cp lxde-x64.packages ${PKGLISTDIR}/lxde-x64.packages.txt
|
||||||
cp lxqt-x64.packages ${PKGLISTDIR}/lxqt-x64.packages.txt
|
cp lxqt-x64.packages ${PKGLISTDIR}/lxqt-x64.packages.txt
|
||||||
cp i3-x64.packages ${PKGLISTDIR}/i3-x64.packages.txt
|
cp i3-x64.packages ${PKGLISTDIR}/i3-x64.packages.txt
|
||||||
#cp kde-x64.packages ${PKGLISTDIR}/kde-x64.packages.txt
|
cp kde-x64.packages ${PKGLISTDIR}/kde-x64.packages.txt
|
||||||
#cp gnome-x64.packages ${PKGLISTDIR}/gnome-x64.packages.txt
|
#cp gnome-x64.packages ${PKGLISTDIR}/gnome-x64.packages.txt
|
||||||
cp xfce-x64.packages ${PKGLISTDIR}/xfce-x64.packages.txt
|
cp xfce-x64.packages ${PKGLISTDIR}/xfce-x64.packages.txt
|
||||||
|
|
||||||
@@ -240,6 +240,7 @@ genSpecs(){
|
|||||||
echo "AMDGPU Version: $(xbps-query -R xf86-video-amdgpu| grep pkgver | sed 's/pkgver://')</br></br>" >> ${HTMLDIR}/${FILENAME}
|
echo "AMDGPU Version: $(xbps-query -R xf86-video-amdgpu| grep pkgver | sed 's/pkgver://')</br></br>" >> ${HTMLDIR}/${FILENAME}
|
||||||
echo "</html>" >> ${HTMLDIR}/${FILENAME}
|
echo "</html>" >> ${HTMLDIR}/${FILENAME}
|
||||||
}
|
}
|
||||||
|
|
||||||
genHtml(){
|
genHtml(){
|
||||||
FILENAME="status.html"
|
FILENAME="status.html"
|
||||||
|
|
||||||
@@ -333,6 +334,9 @@ case ${1} in
|
|||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
-c|-clean)
|
||||||
|
cleanUp
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
echo -e "\nusage: ${0} [-bn, -bl]\n"
|
echo -e "\nusage: ${0} [-bn, -bl]\n"
|
||||||
|
2
build-x86-images.sh.in
Normal file → Executable file
2
build-x86-images.sh.in
Normal file → Executable file
@@ -29,7 +29,7 @@ readonly LXQT_IMG=void-live-${ARCH}-${DATE}-lxqt.iso
|
|||||||
readonly GRUB="grub-i386-efi grub-x86_64-efi"
|
readonly GRUB="grub-i386-efi grub-x86_64-efi"
|
||||||
|
|
||||||
readonly BASE_PKGS="dialog cryptsetup lvm2 mdadm $GRUB"
|
readonly BASE_PKGS="dialog cryptsetup lvm2 mdadm $GRUB"
|
||||||
readonly X_PKGS="$BASE_PKGS xorg-minimal xorg-input-drivers xorg-video-drivers setxkbmap xauth font-misc-misc terminus-font dejavu-fonts-ttf alsa-plugins-pulseaudio intel-ucode"
|
readonly X_PKGS="$BASE_PKGS xorg-minimal xorg-input-drivers xorg-video-drivers setxkbmap xauth font-misc-misc terminus-font dejavu-fonts-ttf alsa-plugins-pulseaudio"
|
||||||
readonly E_PKGS="$X_PKGS lxdm enlightenment terminology econnman udisks2 firefox-esr"
|
readonly E_PKGS="$X_PKGS lxdm enlightenment terminology econnman udisks2 firefox-esr"
|
||||||
readonly XFCE_PKGS="$X_PKGS lxdm xfce4 gnome-themes-standard gnome-keyring network-manager-applet gvfs-afc gvfs-mtp gvfs-smb udisks2 firefox-esr"
|
readonly XFCE_PKGS="$X_PKGS lxdm xfce4 gnome-themes-standard gnome-keyring network-manager-applet gvfs-afc gvfs-mtp gvfs-smb udisks2 firefox-esr"
|
||||||
readonly MATE_PKGS="$X_PKGS lxdm mate mate-extra gnome-keyring network-manager-applet gvfs-afc gvfs-mtp gvfs-smb udisks2 firefox-esr"
|
readonly MATE_PKGS="$X_PKGS lxdm mate mate-extra gnome-keyring network-manager-applet gvfs-afc gvfs-mtp gvfs-smb udisks2 firefox-esr"
|
||||||
|
10
cinnamon-x64.packages
Normal file → Executable file
10
cinnamon-x64.packages
Normal file → Executable file
@@ -12,7 +12,7 @@ mdadm
|
|||||||
xorg-minimal
|
xorg-minimal
|
||||||
xorg-input-drivers
|
xorg-input-drivers
|
||||||
xorg-video-drivers
|
xorg-video-drivers
|
||||||
intel-ucode
|
#intel-ucode
|
||||||
setxkbmap
|
setxkbmap
|
||||||
xauth
|
xauth
|
||||||
font-misc-misc
|
font-misc-misc
|
||||||
@@ -22,8 +22,11 @@ alsa-plugins-pulseaudio
|
|||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
elogind
|
||||||
|
exfat-utils
|
||||||
|
fuse-exfat
|
||||||
|
wget
|
||||||
lxdm
|
lxdm
|
||||||
pm-utils
|
|
||||||
nano
|
nano
|
||||||
xdg-utils
|
xdg-utils
|
||||||
xdg-desktop-portal
|
xdg-desktop-portal
|
||||||
@@ -44,7 +47,7 @@ vim
|
|||||||
dtrx
|
dtrx
|
||||||
unzip
|
unzip
|
||||||
p7zip
|
p7zip
|
||||||
unrar
|
#unrar
|
||||||
bash-completion
|
bash-completion
|
||||||
cinnamon
|
cinnamon
|
||||||
xrandr
|
xrandr
|
||||||
@@ -68,3 +71,4 @@ ntfs-3g
|
|||||||
gnome-keyring
|
gnome-keyring
|
||||||
network-manager-applet
|
network-manager-applet
|
||||||
firefox
|
firefox
|
||||||
|
papirus-icon-theme
|
||||||
|
@@ -3,31 +3,45 @@ DESKTOP="cinnamon"
|
|||||||
echo "========================="
|
echo "========================="
|
||||||
echo "| ${DESKTOP} VOID x86_64 |"
|
echo "| ${DESKTOP} VOID x86_64 |"
|
||||||
echo " ------------------------"
|
echo " ------------------------"
|
||||||
CURRENT=https://alpha.de.repo.voidlinux.org/current
|
CURRENT=https://mirrors.servercentral.com/voidlinux/current
|
||||||
MUTILIB=https://alpha.de.repo.voidlinux.org/current/multilib
|
MUTILIB=https://mirrors.servercentral.com/voidlinux/current/multilib
|
||||||
NONFREE=https://alpha.de.repo.voidlinux.org/current/nonfree
|
NONFREE=https://mirrors.servercentral.com/voidlinux/current/nonfree
|
||||||
FILENAME="void-live-${DESKTOP}-unofficial"
|
FILENAME="void-live-${DESKTOP}-unofficial"
|
||||||
DATE=$(date +%Y%m%d)
|
DATE=$(date +%Y%m%d)
|
||||||
KERNEL=$(uname -r)
|
KERNEL=$(uname -r)
|
||||||
BUILDDIR="$(pwd)/build"
|
BUILDDIR="$(pwd)/build"
|
||||||
|
|
||||||
#shift $((OPTIND - 1))
|
retry=0
|
||||||
|
|
||||||
#: ${ARCH:=$(uname -m)}
|
until [ -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];do
|
||||||
|
|
||||||
sudo ./mklive.sh \
|
((retry++))
|
||||||
-a x86_64 \
|
if [[ $retry -gt 2 ]];then
|
||||||
-r ${CURRENT} \
|
break
|
||||||
-r ${MUTILIB} \
|
fi
|
||||||
-r ${NONFREE} \
|
|
||||||
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
sudo ./mklive.sh \
|
||||||
-T "Void Linux ${DESKTOP} Unofficial" \
|
-a x86_64 \
|
||||||
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
-r "${CURRENT}" \
|
||||||
|
-r "${MULTILIB}" \
|
||||||
|
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
||||||
|
-T "Void Linux ${DESKTOP} Unofficial" \
|
||||||
|
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
||||||
|
done
|
||||||
|
|
||||||
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
||||||
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
|
retries=${1}
|
||||||
echo "ERR=1" > error-status.txt
|
until [[ $retries -gt 2 ]];do
|
||||||
exit 1
|
echo "Retrying build ${retries}"
|
||||||
|
((retries++))
|
||||||
|
bash ${0} ${retries}
|
||||||
|
|
||||||
|
done
|
||||||
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
||||||
|
0
data/issue
Normal file → Executable file
0
data/issue
Normal file → Executable file
BIN
data/splash.png
Normal file → Executable file
BIN
data/splash.png
Normal file → Executable file
Binary file not shown.
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 25 KiB |
0
data/void-vpkgs.conf
Normal file → Executable file
0
data/void-vpkgs.conf
Normal file → Executable file
0
dracut/autoinstaller/autoinstall.cfg
Normal file → Executable file
0
dracut/autoinstaller/autoinstall.cfg
Normal file → Executable file
0
dracut/autoinstaller/module-setup.sh
Normal file → Executable file
0
dracut/autoinstaller/module-setup.sh
Normal file → Executable file
0
dracut/netmenu/module-setup.sh
Normal file → Executable file
0
dracut/netmenu/module-setup.sh
Normal file → Executable file
0
dracut/vmklive/59-mtd.rules
Normal file → Executable file
0
dracut/vmklive/59-mtd.rules
Normal file → Executable file
0
dracut/vmklive/61-mtd.rules
Normal file → Executable file
0
dracut/vmklive/61-mtd.rules
Normal file → Executable file
0
dracut/vmklive/adduser.sh
Normal file → Executable file
0
dracut/vmklive/adduser.sh
Normal file → Executable file
0
dracut/vmklive/display-manager-autologin.sh
Normal file → Executable file
0
dracut/vmklive/display-manager-autologin.sh
Normal file → Executable file
0
dracut/vmklive/locale.sh
Normal file → Executable file
0
dracut/vmklive/locale.sh
Normal file → Executable file
0
dracut/vmklive/module-setup.sh
Normal file → Executable file
0
dracut/vmklive/module-setup.sh
Normal file → Executable file
0
dracut/vmklive/services.sh
Normal file → Executable file
0
dracut/vmklive/services.sh
Normal file → Executable file
9
e17-x64.packages
Normal file → Executable file
9
e17-x64.packages
Normal file → Executable file
@@ -13,7 +13,6 @@ xorg-minimal
|
|||||||
xorg-input-drivers
|
xorg-input-drivers
|
||||||
xorg-video-drivers
|
xorg-video-drivers
|
||||||
xrandr
|
xrandr
|
||||||
intel-ucode
|
|
||||||
setxkbmap
|
setxkbmap
|
||||||
xauth
|
xauth
|
||||||
font-misc-misc
|
font-misc-misc
|
||||||
@@ -23,6 +22,10 @@ alsa-plugins-pulseaudio
|
|||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
elogind
|
||||||
|
exfat-utils
|
||||||
|
fuse-exfat
|
||||||
|
wget
|
||||||
lxdm
|
lxdm
|
||||||
enlightenment
|
enlightenment
|
||||||
terminology
|
terminology
|
||||||
@@ -44,7 +47,6 @@ upower
|
|||||||
flatpak
|
flatpak
|
||||||
zenity
|
zenity
|
||||||
bash-completion
|
bash-completion
|
||||||
pm-utils
|
|
||||||
nano
|
nano
|
||||||
xdg-utils
|
xdg-utils
|
||||||
vim
|
vim
|
||||||
@@ -56,6 +58,8 @@ pavucontrol
|
|||||||
xterm
|
xterm
|
||||||
htop
|
htop
|
||||||
tuxc
|
tuxc
|
||||||
|
dtrx
|
||||||
|
p7zip
|
||||||
topgrade
|
topgrade
|
||||||
ntp
|
ntp
|
||||||
void-repo-multilib
|
void-repo-multilib
|
||||||
@@ -70,6 +74,5 @@ ntfs-3g
|
|||||||
gnome-keyring
|
gnome-keyring
|
||||||
network-manager-applet
|
network-manager-applet
|
||||||
firefox
|
firefox
|
||||||
Adapta
|
|
||||||
papirus-icon-theme
|
papirus-icon-theme
|
||||||
gnome-themes-standard
|
gnome-themes-standard
|
||||||
|
5
gnome-x64.packages
Normal file → Executable file
5
gnome-x64.packages
Normal file → Executable file
@@ -27,8 +27,11 @@ alsa-plugins-pulseaudio
|
|||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
elogind
|
||||||
|
exfat-utils
|
||||||
|
fuse-exfat
|
||||||
|
wget
|
||||||
gdm
|
gdm
|
||||||
pm-utils
|
|
||||||
bash-completion
|
bash-completion
|
||||||
nano
|
nano
|
||||||
git
|
git
|
||||||
|
46
gnome-x64.sh
46
gnome-x64.sh
@@ -3,30 +3,42 @@ DESKTOP="gnome"
|
|||||||
echo "========================="
|
echo "========================="
|
||||||
echo "| ${DESKTOP} VOID x86_64 |"
|
echo "| ${DESKTOP} VOID x86_64 |"
|
||||||
echo " ------------------------"
|
echo " ------------------------"
|
||||||
CURRENT=https://alpha.de.repo.voidlinux.org/current
|
CURRENT=https://mirrors.servercentral.com/voidlinux/current
|
||||||
MUTILIB=https://alpha.de.repo.voidlinux.org/current/multilib
|
MUTILIB=https://mirrors.servercentral.com/voidlinux/current/multilib
|
||||||
#NONFREE=https://repo.voidlinux.eu/current/nonfree
|
#NONFREE=https://mirrors.servercentral.com/voidlinux/current/nonfree
|
||||||
FILENAME="void-live-${DESKTOP}-unofficial"
|
FILENAME="void-live-${DESKTOP}-unofficial"
|
||||||
DATE=$(date +%Y%m%d)
|
DATE=$(date +%Y%m%d)
|
||||||
KERNEL=$(uname -r)
|
KERNEL=$(uname -r)
|
||||||
BUILDDIR="$(pwd)/build"
|
BUILDDIR="$(pwd)/build"
|
||||||
|
|
||||||
#shift $((OPTIND - 1))
|
retry=0
|
||||||
|
until [ -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];do
|
||||||
#: ${ARCH:=$(uname -m)}
|
((retry++))
|
||||||
|
if [[ $retry -gt 2 ]];then
|
||||||
sudo ./mklive.sh \
|
break
|
||||||
-a x86_64 \
|
fi
|
||||||
-r ${CURRENT} \
|
sudo ./mklive.sh \
|
||||||
-r ${MUTILIB} \
|
-a x86_64 \
|
||||||
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
-r "${CURRENT}" \
|
||||||
-T "Void Linux ${DESKTOP} Unofficial" \
|
-r "${MULTILIB}" \
|
||||||
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
||||||
|
-T "Void Linux ${DESKTOP} Unofficial" \
|
||||||
|
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
||||||
|
done
|
||||||
|
|
||||||
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
||||||
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
|
retries=${1}
|
||||||
echo "ERR=1" > error-status.txt
|
until [[ $retries -gt 2 ]];do
|
||||||
exit 1
|
echo "Retrying build ${retries}"
|
||||||
|
((retries++))
|
||||||
|
bash ${0} ${retries}
|
||||||
|
|
||||||
|
done
|
||||||
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
||||||
|
0
grub/grub.cfg
Normal file → Executable file
0
grub/grub.cfg
Normal file → Executable file
0
grub/grub_void.cfg.in
Normal file → Executable file
0
grub/grub_void.cfg.in
Normal file → Executable file
0
hooks/README.md
Normal file → Executable file
0
hooks/README.md
Normal file → Executable file
8
i3-x64.packages
Normal file → Executable file
8
i3-x64.packages
Normal file → Executable file
@@ -9,10 +9,12 @@ lvm2
|
|||||||
mdadm
|
mdadm
|
||||||
|
|
||||||
# X PACKAGES
|
# X PACKAGES
|
||||||
|
elogind
|
||||||
|
exfat-utils
|
||||||
|
fuse-exfat
|
||||||
xorg-minimal
|
xorg-minimal
|
||||||
xorg-input-drivers
|
xorg-input-drivers
|
||||||
xorg-video-drivers
|
xorg-video-drivers
|
||||||
intel-ucode
|
|
||||||
setxkbmap
|
setxkbmap
|
||||||
xauth
|
xauth
|
||||||
xrandr
|
xrandr
|
||||||
@@ -23,8 +25,8 @@ alsa-plugins-pulseaudio
|
|||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
wget
|
||||||
lxdm
|
lxdm
|
||||||
pm-utils
|
|
||||||
nano
|
nano
|
||||||
xdg-utils
|
xdg-utils
|
||||||
xdg-desktop-portal
|
xdg-desktop-portal
|
||||||
@@ -54,6 +56,8 @@ xterm
|
|||||||
mc
|
mc
|
||||||
htop
|
htop
|
||||||
tuxc
|
tuxc
|
||||||
|
dtrx
|
||||||
|
p7zip
|
||||||
topgrade
|
topgrade
|
||||||
ntp
|
ntp
|
||||||
dmenu
|
dmenu
|
||||||
|
45
i3-x64.sh
45
i3-x64.sh
@@ -3,31 +3,44 @@ DESKTOP="i3"
|
|||||||
echo "========================="
|
echo "========================="
|
||||||
echo "| ${DESKTOP} VOID x86_64 |"
|
echo "| ${DESKTOP} VOID x86_64 |"
|
||||||
echo " ------------------------"
|
echo " ------------------------"
|
||||||
CURRENT=https://alpha.de.repo.voidlinux.org/current
|
CURRENT=https://mirrors.servercentral.com/voidlinux/current
|
||||||
MUTILIB=https://alpha.de.repo.voidlinux.org/current/multilib
|
MUTILIB=https://mirrors.servercentral.com/voidlinux/current/multilib
|
||||||
NONFREE=https://alpha.de.repo.voidlinux.org/current/nonfree
|
NONFREE=https://mirrors.servercentral.com/voidlinux/current/nonfree
|
||||||
FILENAME="void-live-${DESKTOP}-unofficial"
|
FILENAME="void-live-${DESKTOP}-unofficial"
|
||||||
DATE=$(date +%Y%m%d)
|
DATE=$(date +%Y%m%d)
|
||||||
KERNEL=$(uname -r)
|
KERNEL=$(uname -r)
|
||||||
BUILDDIR="$(pwd)/build"
|
BUILDDIR="$(pwd)/build"
|
||||||
|
|
||||||
#shift $((OPTIND - 1))
|
retry=0
|
||||||
|
|
||||||
#: ${ARCH:=$(uname -m)}
|
until [ -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];do
|
||||||
|
((retry++))
|
||||||
|
if [[ $retry -gt 2 ]];then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
|
||||||
sudo ./mklive.sh \
|
sudo ./mklive.sh \
|
||||||
-a x86_64 \
|
-a x86_64 \
|
||||||
-r ${CURRENT} \
|
-r "${CURRENT}" \
|
||||||
-r ${MUTILIB} \
|
-r "${MULTILIB}" \
|
||||||
-r ${NONFREE} \
|
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
||||||
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
-T "Void Linux ${DESKTOP} Unofficial" \
|
||||||
-T "Void Linux ${DESKTOP} Unofficial" \
|
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
||||||
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
done
|
||||||
|
|
||||||
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
||||||
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
|
retries=${1}
|
||||||
echo "ERR=1" > error-status.txt
|
until [[ $retries -gt 2 ]];do
|
||||||
exit 1
|
echo "Retrying build ${retries}"
|
||||||
|
((retries++))
|
||||||
|
bash ${0} ${retries}
|
||||||
|
|
||||||
|
done
|
||||||
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
||||||
|
0
image_contents/base-x64.packages.txt
Normal file → Executable file
0
image_contents/base-x64.packages.txt
Normal file → Executable file
0
image_contents/cinnamon-x64.packages.txt
Normal file → Executable file
0
image_contents/cinnamon-x64.packages.txt
Normal file → Executable file
0
image_contents/i3-x64.packages.txt
Normal file → Executable file
0
image_contents/i3-x64.packages.txt
Normal file → Executable file
0
image_contents/lxde-x64.packages.txt
Normal file → Executable file
0
image_contents/lxde-x64.packages.txt
Normal file → Executable file
0
image_contents/lxqt-x64.packages.txt
Normal file → Executable file
0
image_contents/lxqt-x64.packages.txt
Normal file → Executable file
0
image_contents/mate-x64.packages.txt
Normal file → Executable file
0
image_contents/mate-x64.packages.txt
Normal file → Executable file
0
image_contents/xfce-x64.packages.txt
Normal file → Executable file
0
image_contents/xfce-x64.packages.txt
Normal file → Executable file
26
installer.sh.in
Normal file → Executable file
26
installer.sh.in
Normal file → Executable file
@@ -485,8 +485,15 @@ menu_partitions() {
|
|||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
local device=$(cat $ANSWER)
|
local device=$(cat $ANSWER)
|
||||||
|
|
||||||
DIALOG --title "Modify Partition Table on $device" --msgbox "\n
|
DIALOG --title " Select the software for partitioning " \
|
||||||
${BOLD}cfdisk will be executed in disk $device.${RESET}\n\n
|
--menu "$MENULABEL" ${MENUSIZE} \
|
||||||
|
"cfdisk" "Easy to use" \
|
||||||
|
"fdisk" "More advanced"
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
local software=$(cat $ANSWER)
|
||||||
|
|
||||||
|
DIALOG --title "Modify Partition Table on $device" --msgbox "\n
|
||||||
|
${BOLD}${software} will be executed in disk $device.${RESET}\n\n
|
||||||
For BIOS systems, MBR or GPT partition tables are supported.\n
|
For BIOS systems, MBR or GPT partition tables are supported.\n
|
||||||
To use GPT on PC BIOS systems an empty partition of 1MB must be added\n
|
To use GPT on PC BIOS systems an empty partition of 1MB must be added\n
|
||||||
at the first 2GB of the disk with the TOGGLE \`bios_grub' enabled.\n
|
at the first 2GB of the disk with the TOGGLE \`bios_grub' enabled.\n
|
||||||
@@ -498,13 +505,14 @@ At least 1 partition is required for the rootfs (/).\n
|
|||||||
For swap, RAM*2 must be really enough. For / 600MB are required.\n\n
|
For swap, RAM*2 must be really enough. For / 600MB are required.\n\n
|
||||||
${BOLD}WARNING: /usr is not supported as a separate partition.${RESET}\n
|
${BOLD}WARNING: /usr is not supported as a separate partition.${RESET}\n
|
||||||
${RESET}\n" 18 80
|
${RESET}\n" 18 80
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
while true; do
|
while true; do
|
||||||
clear; cfdisk $device; PARTITIONS_DONE=1
|
clear; $software $device; PARTITIONS_DONE=1
|
||||||
break
|
break
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
0
isolinux/isolinux.cfg.in
Normal file → Executable file
0
isolinux/isolinux.cfg.in
Normal file → Executable file
9
kde-x64.packages
Normal file → Executable file
9
kde-x64.packages
Normal file → Executable file
@@ -22,10 +22,12 @@ alsa-plugins-pulseaudio
|
|||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
elogind
|
||||||
|
exfat-utils
|
||||||
|
fuse-exfat
|
||||||
sddm
|
sddm
|
||||||
konsole
|
konsole
|
||||||
bash-completion
|
bash-completion
|
||||||
pm-utils
|
|
||||||
nano
|
nano
|
||||||
git
|
git
|
||||||
vim
|
vim
|
||||||
@@ -52,11 +54,12 @@ inetutils
|
|||||||
usbutils
|
usbutils
|
||||||
wget
|
wget
|
||||||
curl
|
curl
|
||||||
|
dtrx
|
||||||
|
p7zip
|
||||||
xterm
|
xterm
|
||||||
htop
|
htop
|
||||||
tuxc
|
tuxc
|
||||||
topgrade
|
topgrade
|
||||||
keepassxc
|
|
||||||
octoxbps
|
octoxbps
|
||||||
ntp
|
ntp
|
||||||
void-repo-multilib
|
void-repo-multilib
|
||||||
@@ -78,4 +81,4 @@ kaccounts-integration
|
|||||||
kaccounts-providers
|
kaccounts-providers
|
||||||
dolphin
|
dolphin
|
||||||
adapta-kde
|
adapta-kde
|
||||||
papirus-icon-theme
|
adwaita-icon-theme
|
||||||
|
44
kde-x64.sh
44
kde-x64.sh
@@ -3,9 +3,9 @@ DESKTOP="kde"
|
|||||||
echo "========================="
|
echo "========================="
|
||||||
echo "| ${DESKTOP} VOID x86_64 |"
|
echo "| ${DESKTOP} VOID x86_64 |"
|
||||||
echo " ------------------------"
|
echo " ------------------------"
|
||||||
CURRENT=https://alpha.de.repo.voidlinux.org/current
|
CURRENT=https://mirrors.servercentral.com/voidlinux/current
|
||||||
MUTILIB=https://alpha.de.repo.voidlinux.org/current/multilib
|
MUTILIB=https://mirrors.servercentral.com/voidlinux/current/multilib
|
||||||
#NONFREE=https://repo.voidlinux.eu/current/nonfree
|
NONFREE=https://mirrors.servercentral.com/voidlinux/current/nonfree
|
||||||
FILENAME="void-live-${DESKTOP}-unofficial"
|
FILENAME="void-live-${DESKTOP}-unofficial"
|
||||||
DATE=$(date +%Y%m%d)
|
DATE=$(date +%Y%m%d)
|
||||||
KERNEL=$(uname -r)
|
KERNEL=$(uname -r)
|
||||||
@@ -15,18 +15,36 @@ BUILDDIR="$(pwd)/build"
|
|||||||
|
|
||||||
#: ${ARCH:=$(uname -m)}
|
#: ${ARCH:=$(uname -m)}
|
||||||
|
|
||||||
sudo ./mklive.sh \
|
retry=0
|
||||||
-a x86_64 \
|
|
||||||
-r ${CURRENT} \
|
until [ -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];do
|
||||||
-r ${MUTILIB} \
|
((retry++))
|
||||||
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
if [[ $retry -gt 2 ]];then
|
||||||
-T "Void Linux ${DESKTOP} Unofficial" \
|
break
|
||||||
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
fi
|
||||||
|
|
||||||
|
sudo ./mklive.sh \
|
||||||
|
-a x86_64 \
|
||||||
|
-r "${CURRENT}" \
|
||||||
|
-r "${MULTILIB}" \
|
||||||
|
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
||||||
|
-T "Void Linux ${DESKTOP} Unofficial" \
|
||||||
|
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
||||||
|
done
|
||||||
|
|
||||||
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
||||||
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
|
retries=${1}
|
||||||
echo "ERR=1" > error-status.txt
|
until [[ $retries -gt 2 ]];do
|
||||||
exit 1
|
echo "Retrying build ${retries}"
|
||||||
|
((retries++))
|
||||||
|
bash ${0} ${retries}
|
||||||
|
|
||||||
|
done
|
||||||
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
||||||
|
0
keys/3d:b9:c0:50:41:a7:68:4c:2e:2c:a9:a2:5a:04:b7:3f.plist
Normal file → Executable file
0
keys/3d:b9:c0:50:41:a7:68:4c:2e:2c:a9:a2:5a:04:b7:3f.plist
Normal file → Executable file
0
keys/60:ae:0c:d6:f0:95:17:80:bc:93:46:7a:89:af:a3:2d.plist
Normal file → Executable file
0
keys/60:ae:0c:d6:f0:95:17:80:bc:93:46:7a:89:af:a3:2d.plist
Normal file → Executable file
8
lib.sh.in
Normal file → Executable file
8
lib.sh.in
Normal file → Executable file
@@ -58,6 +58,10 @@ mount_pseudofs() {
|
|||||||
mount -r --bind /$f "$ROOTFS/$f"
|
mount -r --bind /$f "$ROOTFS/$f"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
if ! mountpoint -q "$ROOTFS/tmp" ; then
|
||||||
|
mkdir -p "$ROOTFS/tmp"
|
||||||
|
mount -o mode=0755,nosuid,nodev -t tmpfs tmpfs "$ROOTFS/tmp"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
umount_pseudofs() {
|
umount_pseudofs() {
|
||||||
@@ -71,6 +75,7 @@ umount_pseudofs() {
|
|||||||
umount -f "$ROOTFS/$f" >/dev/null 2>&1
|
umount -f "$ROOTFS/$f" >/dev/null 2>&1
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
umount -f "$ROOTFS/tmp" >/dev/null 2>&1
|
||||||
}
|
}
|
||||||
|
|
||||||
run_cmd_target() {
|
run_cmd_target() {
|
||||||
@@ -237,7 +242,7 @@ register_binfmt() {
|
|||||||
# use the static one always and make sure it shows up at the same
|
# use the static one always and make sure it shows up at the same
|
||||||
# place in the host and the chroot.
|
# place in the host and the chroot.
|
||||||
if [ ! -x "$ROOTFS/usr/bin/$QEMU_BIN" ] ; then
|
if [ ! -x "$ROOTFS/usr/bin/$QEMU_BIN" ] ; then
|
||||||
cp -f "$(which "$QEMU_BIN")" "$ROOTFS/usr/bin" ||
|
install -m755 -D "$(which "$QEMU_BIN")" "$ROOTFS/usr/bin/$QEMU_BIN" ||
|
||||||
die "Could not install $QEMU_BIN to $ROOTFS/usr/bin/"
|
die "Could not install $QEMU_BIN to $ROOTFS/usr/bin/"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@@ -263,6 +268,7 @@ set_target_arch_from_platform() {
|
|||||||
i686*) XBPS_TARGET_ARCH="i686";;
|
i686*) XBPS_TARGET_ARCH="i686";;
|
||||||
x86_64*) XBPS_TARGET_ARCH="x86_64";;
|
x86_64*) XBPS_TARGET_ARCH="x86_64";;
|
||||||
GCP*) XBPS_TARGET_ARCH="x86_64";;
|
GCP*) XBPS_TARGET_ARCH="x86_64";;
|
||||||
|
pinebookpro*) XBPS_TARGET_ARCH="aarch64";;
|
||||||
*) die "$PROGNAME: Unable to compute target architecture from platform";;
|
*) die "$PROGNAME: Unable to compute target architecture from platform";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
4
lxde-x64.packages
Normal file → Executable file
4
lxde-x64.packages
Normal file → Executable file
@@ -24,6 +24,10 @@ alsa-plugins-pulseaudio
|
|||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
elogind
|
||||||
|
exfat-utils
|
||||||
|
fuse-exfat
|
||||||
|
wget
|
||||||
lxdm
|
lxdm
|
||||||
pm-utils
|
pm-utils
|
||||||
bash-completion
|
bash-completion
|
||||||
|
17
lxde-x64.sh
17
lxde-x64.sh
@@ -18,16 +18,25 @@ BUILDDIR="$(pwd)/build"
|
|||||||
sudo ./mklive.sh \
|
sudo ./mklive.sh \
|
||||||
-a x86_64 \
|
-a x86_64 \
|
||||||
-r ${CURRENT} \
|
-r ${CURRENT} \
|
||||||
-r ${MUTILIB} \
|
# -r ${MUTILIB} \
|
||||||
-r ${NONFREE} \
|
-r ${NONFREE} \
|
||||||
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
||||||
-T "Void Linux ${DESKTOP} Unofficial" \
|
-T "Void Linux ${DESKTOP} Unofficial" \
|
||||||
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
||||||
|
|
||||||
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
||||||
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
|
retries=${1}
|
||||||
echo "ERR=1" > error-status.txt
|
until [[ $retries -gt 2 ]];do
|
||||||
exit 1
|
echo "Retrying build ${retries}"
|
||||||
|
((retries++))
|
||||||
|
bash ${0} ${retries}
|
||||||
|
|
||||||
|
done
|
||||||
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
||||||
|
10
lxqt-x64.packages
Normal file → Executable file
10
lxqt-x64.packages
Normal file → Executable file
@@ -7,14 +7,12 @@ dialog
|
|||||||
cryptsetup
|
cryptsetup
|
||||||
lvm2
|
lvm2
|
||||||
mdadm
|
mdadm
|
||||||
ConsoleKit2
|
|
||||||
|
|
||||||
# X PACKAGES
|
# X PACKAGES
|
||||||
xorg-minimal
|
xorg-minimal
|
||||||
xorg-input-drivers
|
xorg-input-drivers
|
||||||
xorg-video-drivers
|
xorg-video-drivers
|
||||||
xrandr
|
xrandr
|
||||||
intel-ucode
|
|
||||||
setxkbmap
|
setxkbmap
|
||||||
xauth
|
xauth
|
||||||
font-misc-misc
|
font-misc-misc
|
||||||
@@ -24,8 +22,11 @@ alsa-plugins-pulseaudio
|
|||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
elogind
|
||||||
|
exfat-utils
|
||||||
|
fuse-exfat
|
||||||
|
wget
|
||||||
qt5-plugin-sqlite
|
qt5-plugin-sqlite
|
||||||
pm-utils
|
|
||||||
nano
|
nano
|
||||||
bash-completion
|
bash-completion
|
||||||
git
|
git
|
||||||
@@ -52,6 +53,8 @@ pavucontrol
|
|||||||
xterm
|
xterm
|
||||||
htop
|
htop
|
||||||
tuxc
|
tuxc
|
||||||
|
dtrx
|
||||||
|
p7zip
|
||||||
topgrade
|
topgrade
|
||||||
ntp
|
ntp
|
||||||
octoxbps
|
octoxbps
|
||||||
@@ -65,3 +68,4 @@ ntfs-3g
|
|||||||
gnome-keyring
|
gnome-keyring
|
||||||
network-manager-applet
|
network-manager-applet
|
||||||
falkon
|
falkon
|
||||||
|
papirus-icon-theme
|
||||||
|
46
lxqt-x64.sh
46
lxqt-x64.sh
@@ -3,32 +3,44 @@ DESKTOP="lxqt"
|
|||||||
echo "========================="
|
echo "========================="
|
||||||
echo "| ${DESKTOP} VOID x86_64 |"
|
echo "| ${DESKTOP} VOID x86_64 |"
|
||||||
echo " ------------------------"
|
echo " ------------------------"
|
||||||
CURRENT=https://alpha.de.repo.voidlinux.org/current
|
CURRENT=https://mirrors.servercentral.com/voidlinux/current
|
||||||
MUTILIB=https://alpha.de.repo.voidlinux.org/current/multilib
|
MUTILIB=https://mirrors.servercentral.com/voidlinux/current/multilib
|
||||||
NONFREE=https://alpha.de.repo.voidlinux.org/current/nonfree
|
NONFREE=https://mirrors.servercentral.com/voidlinux/current/nonfree
|
||||||
FILENAME="void-live-${DESKTOP}-unofficial"
|
FILENAME="void-live-${DESKTOP}-unofficial"
|
||||||
DATE=$(date +%Y%m%d)
|
DATE=$(date +%Y%m%d)
|
||||||
KERNEL=$(uname -r)
|
KERNEL=$(uname -r)
|
||||||
BUILDDIR="$(pwd)/build"
|
BUILDDIR="$(pwd)/build"
|
||||||
|
|
||||||
#shift $((OPTIND - 1))
|
retry=0
|
||||||
|
|
||||||
#: ${ARCH:=$(uname -m)}
|
until [ -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];do
|
||||||
|
((retry++))
|
||||||
sudo ./mklive.sh \
|
if [[ $retry - gt 2 ]];then
|
||||||
-a x86_64 \
|
break
|
||||||
-r ${CURRENT} \
|
fi
|
||||||
-r ${MUTILIB} \
|
|
||||||
-r ${NONFREE} \
|
|
||||||
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
|
||||||
-T "Void Linux ${DESKTOP} Unofficial" \
|
|
||||||
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
|
||||||
|
|
||||||
|
sudo ./mklive.sh \
|
||||||
|
-a x86_64 \
|
||||||
|
-r "${CURRENT}" \
|
||||||
|
-r "${MULTILIB}" \
|
||||||
|
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
||||||
|
-T "Void Linux ${DESKTOP} Unofficial" \
|
||||||
|
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
||||||
|
done
|
||||||
|
|
||||||
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
||||||
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
|
retries=${1}
|
||||||
echo "ERR=1" > error-status.txt
|
until [[ $retries -gt 2 ]];do
|
||||||
exit 1
|
echo "Retrying build ${retries}"
|
||||||
|
((retries++))
|
||||||
|
bash ${0} ${retries}
|
||||||
|
|
||||||
|
done
|
||||||
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
||||||
|
9
mate-x64.packages
Normal file → Executable file
9
mate-x64.packages
Normal file → Executable file
@@ -7,13 +7,11 @@ dialog
|
|||||||
cryptsetup
|
cryptsetup
|
||||||
lvm2
|
lvm2
|
||||||
mdadm
|
mdadm
|
||||||
ConsoleKit2
|
|
||||||
|
|
||||||
# X PACKAGES
|
# X PACKAGES
|
||||||
xorg-minimal
|
xorg-minimal
|
||||||
xorg-input-drivers
|
xorg-input-drivers
|
||||||
xorg-video-drivers
|
xorg-video-drivers
|
||||||
intel-ucode
|
|
||||||
setxkbmap
|
setxkbmap
|
||||||
xauth
|
xauth
|
||||||
xrandr
|
xrandr
|
||||||
@@ -24,6 +22,10 @@ alsa-plugins-pulseaudio
|
|||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
elogind
|
||||||
|
exfat-utils
|
||||||
|
fuse-exfat
|
||||||
|
wget
|
||||||
lxdm
|
lxdm
|
||||||
mate
|
mate
|
||||||
mate-extra
|
mate-extra
|
||||||
@@ -49,6 +51,8 @@ alsa-plugins-pulseaudio
|
|||||||
xterm
|
xterm
|
||||||
htop
|
htop
|
||||||
tuxc
|
tuxc
|
||||||
|
dtrx
|
||||||
|
p7zip
|
||||||
topgrade
|
topgrade
|
||||||
ntp
|
ntp
|
||||||
octoxbps
|
octoxbps
|
||||||
@@ -62,3 +66,4 @@ ntfs-3g
|
|||||||
gnome-keyring
|
gnome-keyring
|
||||||
network-manager-applet
|
network-manager-applet
|
||||||
firefox
|
firefox
|
||||||
|
papirus-icon-theme
|
||||||
|
40
mate-x64.sh
40
mate-x64.sh
@@ -11,24 +11,36 @@ DATE=$(date +%Y%m%d)
|
|||||||
KERNEL=$(uname -r)
|
KERNEL=$(uname -r)
|
||||||
BUILDDIR="$(pwd)/build"
|
BUILDDIR="$(pwd)/build"
|
||||||
|
|
||||||
#shift $((OPTIND - 1))
|
retry=0
|
||||||
|
|
||||||
#: ${ARCH:=$(uname -m)}
|
until [ -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];do
|
||||||
|
((retry++))
|
||||||
./mklive.sh \
|
if [[ $retry -gt 2 ]];then
|
||||||
-a x86_64 \
|
break
|
||||||
-r ${CURRENT} \
|
fi
|
||||||
-r ${MUTILIB} \
|
|
||||||
-r ${NONFREE} \
|
|
||||||
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
|
||||||
-T "Void Linux ${DESKTOP} Unofficial" \
|
|
||||||
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
|
||||||
|
|
||||||
|
sudo ./mklive.sh \
|
||||||
|
-a x86_64 \
|
||||||
|
-r "${CURRENT}" \
|
||||||
|
-r "${MULTILIB}" \
|
||||||
|
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
||||||
|
-T "Void Linux ${DESKTOP} Unofficial" \
|
||||||
|
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
||||||
|
done
|
||||||
|
|
||||||
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
||||||
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
|
retries=${1}
|
||||||
echo "ERR=1" > error-status.txt
|
until [[ $retries -gt 2 ]];do
|
||||||
exit 1
|
echo "Retrying build ${retries}"
|
||||||
|
((retries++))
|
||||||
|
bash ${0} ${retries}
|
||||||
|
|
||||||
|
done
|
||||||
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
||||||
|
27
mkimage.sh.in
Normal file → Executable file
27
mkimage.sh.in
Normal file → Executable file
@@ -143,7 +143,7 @@ fi
|
|||||||
|
|
||||||
# Be absolutely certain the platform is supported before continuing
|
# Be absolutely certain the platform is supported before continuing
|
||||||
case "$PLATFORM" in
|
case "$PLATFORM" in
|
||||||
bananapi|beaglebone|cubieboard2|cubietruck|odroid-c2|odroid-u2|rpi|rpi2|rpi3|usbarmory|GCP|*-musl);;
|
bananapi|beaglebone|cubieboard2|cubietruck|odroid-c2|odroid-u2|rpi|rpi2|rpi3|usbarmory|GCP|pinebookpro|*-musl);;
|
||||||
*) die "The $PLATFORM is not supported, exiting..."
|
*) die "The $PLATFORM is not supported, exiting..."
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -165,6 +165,17 @@ if [ "$BOOT_FSTYPE" = "vfat" ]; then
|
|||||||
_args="-I -F16"
|
_args="-I -F16"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
BOOT_START=2048
|
||||||
|
ROOT_START=
|
||||||
|
case "$PLATFORM" in
|
||||||
|
pinebookpro*)
|
||||||
|
BOOT_START=32768
|
||||||
|
# Without this, sfdisk creates root partition starting at
|
||||||
|
# 2048, overlapping u-boot reserved space and boot partition.
|
||||||
|
ROOT_START=$BOOT_START
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
case "$PLATFORM" in
|
case "$PLATFORM" in
|
||||||
cubieboard2|cubietruck|ci20*|odroid-c2*)
|
cubieboard2|cubietruck|ci20*|odroid-c2*)
|
||||||
# These platforms use a single partition for the entire filesystem.
|
# These platforms use a single partition for the entire filesystem.
|
||||||
@@ -184,8 +195,8 @@ _EOF
|
|||||||
# layout for new platforms.
|
# layout for new platforms.
|
||||||
sfdisk "${FILENAME}" <<_EOF
|
sfdisk "${FILENAME}" <<_EOF
|
||||||
label: dos
|
label: dos
|
||||||
2048,${BOOT_FSSIZE},b,*
|
${BOOT_START},${BOOT_FSSIZE},b,*
|
||||||
,+,L
|
${ROOT_START},+,L
|
||||||
_EOF
|
_EOF
|
||||||
LOOPDEV=$(losetup --show --find --partscan "$FILENAME")
|
LOOPDEV=$(losetup --show --find --partscan "$FILENAME")
|
||||||
# Normally we need to quote to prevent argument splitting, but
|
# Normally we need to quote to prevent argument splitting, but
|
||||||
@@ -247,6 +258,10 @@ if [ -n "$BOOT_UUID" ]; then
|
|||||||
echo "UUID=$BOOT_UUID /boot $BOOT_FSTYPE defaults${fstab_args} 0 2" >> "${ROOTFS}/etc/fstab"
|
echo "UUID=$BOOT_UUID /boot $BOOT_FSTYPE defaults${fstab_args} 0 2" >> "${ROOTFS}/etc/fstab"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Images are shipped with root as the only user by default, so we need to
|
||||||
|
# ensure ssh login is possible for headless setups.
|
||||||
|
sed -i "${ROOTFS}/etc/ssh/sshd_config" -e 's|^#\(PermitRootLogin\) .*|\1 yes|g'
|
||||||
|
|
||||||
# This section does final configuration on the images. In the case of
|
# This section does final configuration on the images. In the case of
|
||||||
# SBCs this writes the bootloader to the image or sets up other
|
# SBCs this writes the bootloader to the image or sets up other
|
||||||
# required binaries to boot. In the case of images destined for a
|
# required binaries to boot. In the case of images destined for a
|
||||||
@@ -278,6 +293,12 @@ ci20*)
|
|||||||
dd if="${ROOTFS}/boot/u-boot-spl.bin" of="${LOOPDEV}" obs=512 seek=1 >/dev/null 2>&1
|
dd if="${ROOTFS}/boot/u-boot-spl.bin" of="${LOOPDEV}" obs=512 seek=1 >/dev/null 2>&1
|
||||||
dd if="${ROOTFS}/boot/u-boot.img" of="${LOOPDEV}" obs=1K seek=14 >/dev/null 2>&1
|
dd if="${ROOTFS}/boot/u-boot.img" of="${LOOPDEV}" obs=1K seek=14 >/dev/null 2>&1
|
||||||
;;
|
;;
|
||||||
|
pinebookpro*)
|
||||||
|
dd if="${ROOTFS}/boot/idbloader.img" of="${LOOPDEV}" seek=64 conv=notrunc,fsync >/dev/null 2>&1
|
||||||
|
dd if="${ROOTFS}/boot/u-boot.itb" of="${LOOPDEV}" seek=16384 conv=notrunc,fsync >/dev/null 2>&1
|
||||||
|
run_cmd_chroot "${ROOTFS}" "xbps-reconfigure -f pinebookpro-kernel"
|
||||||
|
cleanup_chroot
|
||||||
|
;;
|
||||||
GCP*)
|
GCP*)
|
||||||
# Google Cloud Platform image configuration for Google Cloud
|
# Google Cloud Platform image configuration for Google Cloud
|
||||||
# Engine. The steps below are built in reference to the
|
# Engine. The steps below are built in reference to the
|
||||||
|
0
mklive.sh.in
Normal file → Executable file
0
mklive.sh.in
Normal file → Executable file
0
mknet.sh.in
Normal file → Executable file
0
mknet.sh.in
Normal file → Executable file
13
mkplatformfs.sh.in
Normal file → Executable file
13
mkplatformfs.sh.in
Normal file → Executable file
@@ -51,7 +51,7 @@ Usage: $PROGNAME [options] <platform> <base-tarball>
|
|||||||
Supported platforms: i686, x86_64, GCP,
|
Supported platforms: i686, x86_64, GCP,
|
||||||
dockstar, bananapi, beaglebone, cubieboard2, cubietruck,
|
dockstar, bananapi, beaglebone, cubieboard2, cubietruck,
|
||||||
odroid-c2, odroid-u2, rpi, rpi2 (armv7), rpi3 (aarch64),
|
odroid-c2, odroid-u2, rpi, rpi2 (armv7), rpi3 (aarch64),
|
||||||
usbarmory, ci20, pogoplugv4
|
usbarmory, ci20, pogoplugv4, pinebookpro
|
||||||
|
|
||||||
Options
|
Options
|
||||||
-b <syspkg> Set an alternative base-system package (defaults to base-system)
|
-b <syspkg> Set an alternative base-system package (defaults to base-system)
|
||||||
@@ -61,6 +61,7 @@ Options
|
|||||||
-C <file> Full path to the XBPS configuration file
|
-C <file> Full path to the XBPS configuration file
|
||||||
-r <repo> Set XBPS repository (may be set multiple times)
|
-r <repo> Set XBPS repository (may be set multiple times)
|
||||||
-x <num> Use <num> threads to compress the image (dynamic if unset)
|
-x <num> Use <num> threads to compress the image (dynamic if unset)
|
||||||
|
-o <file> Filename to write the PLATFORMFS archive to
|
||||||
-n Do not compress the image, instead print out the rootfs directory
|
-n Do not compress the image, instead print out the rootfs directory
|
||||||
-h Show this help
|
-h Show this help
|
||||||
-V Show version
|
-V Show version
|
||||||
@@ -74,15 +75,16 @@ _EOF
|
|||||||
BASEPKG=base-system
|
BASEPKG=base-system
|
||||||
COMPRESSION="y"
|
COMPRESSION="y"
|
||||||
|
|
||||||
while getopts "b:p:k:c:C:r:x:nhV" opt; do
|
while getopts "b:p:k:c:C:r:x:o:nhV" opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
b) BASEPKG="$OPTARG" ;;
|
b) BASEPKG="$OPTARG" ;;
|
||||||
p) EXTRA_PKGS="$OPTARG" ;;
|
p) EXTRA_PKGS="$OPTARG" ;;
|
||||||
k) POST_CMD="$OPTARG" ;;
|
k) POST_CMD="$OPTARG" ;;
|
||||||
c) XBPS_CACHEDIR="--cachedir=$OPTARG" ;;
|
c) XBPS_CACHEDIR="--cachedir=$OPTARG" ;;
|
||||||
C) XBPS_CONFFILE="-C $OPTARG" ;;
|
C) XBPS_CONFFILE="-C $OPTARG" ;;
|
||||||
r) XBPS_REPOSITORY="$XBPS_REPOSITORY --repository=$OPTARG" ;;
|
r) XBPS_REPOSITORY="--repository=$OPTARG $XBPS_REPOSITORY" ;;
|
||||||
x) COMPRESSOR_THREADS="$OPTARG" ;;
|
x) COMPRESSOR_THREADS="$OPTARG" ;;
|
||||||
|
o) FILENAME="$OPTARG" ;;
|
||||||
n) COMPRESSION="n" ;;
|
n) COMPRESSION="n" ;;
|
||||||
h) usage; exit 0 ;;
|
h) usage; exit 0 ;;
|
||||||
V) echo "$PROGNAME @@MKLIVE_VERSION@@"; exit 0 ;;
|
V) echo "$PROGNAME @@MKLIVE_VERSION@@"; exit 0 ;;
|
||||||
@@ -125,6 +127,7 @@ case "$PLATFORM" in
|
|||||||
i686*) PKGS="$BASEPKG" ;;
|
i686*) PKGS="$BASEPKG" ;;
|
||||||
x86_64*) PKGS="$BASEPKG" ;;
|
x86_64*) PKGS="$BASEPKG" ;;
|
||||||
GCP*) PKGS="$BASEPKG ${PLATFORM%-*}-base" ;;
|
GCP*) PKGS="$BASEPKG ${PLATFORM%-*}-base" ;;
|
||||||
|
pinebookpro*) PKGS="$BASEPKG ${PLATFORM%-*}-base" ;;
|
||||||
*) die "$PROGNAME: invalid platform!";;
|
*) die "$PROGNAME: invalid platform!";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -157,7 +160,7 @@ tar xf "$BASE_TARBALL" -C "$ROOTFS"
|
|||||||
# $PKGS. After this step we will do an xbps-reconfigure -f $PKGS
|
# $PKGS. After this step we will do an xbps-reconfigure -f $PKGS
|
||||||
# under the correct architecture to ensure the system is setup
|
# under the correct architecture to ensure the system is setup
|
||||||
# correctly.
|
# correctly.
|
||||||
run_cmd_target "xbps-install -S $XBPS_CONFFILE $XBPS_CACHEDIR $XBPS_REPOSITORY -r $ROOTFS -y $PKGS"
|
run_cmd_target "xbps-install -SU $XBPS_CONFFILE $XBPS_CACHEDIR $XBPS_REPOSITORY -r $ROOTFS -y $PKGS"
|
||||||
|
|
||||||
# Now that the packages are installed, we need to chroot in and
|
# Now that the packages are installed, we need to chroot in and
|
||||||
# reconfigure. This needs to be done as the right architecture.
|
# reconfigure. This needs to be done as the right architecture.
|
||||||
@@ -222,7 +225,7 @@ fi
|
|||||||
if [ "$COMPRESSION" = "y" ]; then
|
if [ "$COMPRESSION" = "y" ]; then
|
||||||
# Finally we can compress the tarball, the name will include the
|
# Finally we can compress the tarball, the name will include the
|
||||||
# platform and the date on which the tarball was built.
|
# platform and the date on which the tarball was built.
|
||||||
tarball=void-${PLATFORM}-PLATFORMFS-$(date '+%Y%m%d').tar.xz
|
tarball=${FILENAME:-void-${PLATFORM}-PLATFORMFS-$(date '+%Y%m%d').tar.xz}
|
||||||
run_cmd "tar -cp --posix --xattrs -C $ROOTFS . | xz -T${COMPRESSOR_THREADS:-0} -9 > $tarball "
|
run_cmd "tar -cp --posix --xattrs -C $ROOTFS . | xz -T${COMPRESSOR_THREADS:-0} -9 > $tarball "
|
||||||
|
|
||||||
# Now that we have the tarball we don't need the rootfs anymore, so we
|
# Now that we have the tarball we don't need the rootfs anymore, so we
|
||||||
|
8
mkrootfs.sh.in
Normal file → Executable file
8
mkrootfs.sh.in
Normal file → Executable file
@@ -136,15 +136,17 @@ run_cmd_target "xbps-install -S $XBPS_CONFFILE $XBPS_CACHEDIR $XBPS_REPOSITORY -
|
|||||||
# so we set this here.
|
# so we set this here.
|
||||||
chmod 755 "$ROOTFS"
|
chmod 755 "$ROOTFS"
|
||||||
|
|
||||||
# The pseudofs mountpoints are needed for the qemu support in cases
|
# The binfmt setup and pseudofs mountpoints are needed for the qemu
|
||||||
# where we are running things that aren't natively executable.
|
# support in cases where we are running things that aren't natively
|
||||||
|
# executable.
|
||||||
|
register_binfmt
|
||||||
mount_pseudofs
|
mount_pseudofs
|
||||||
|
|
||||||
# With everything setup, we can now run the install to load the
|
# With everything setup, we can now run the install to load the
|
||||||
# system package into the rootfs. This will not produce a
|
# system package into the rootfs. This will not produce a
|
||||||
# bootable system but will instead produce a base component that can
|
# bootable system but will instead produce a base component that can
|
||||||
# be quickly expanded to perform other actions on.
|
# be quickly expanded to perform other actions on.
|
||||||
run_cmd_target "xbps-install -S $XBPS_CONFFILE $XBPS_CACHEDIR $XBPS_REPOSITORY -r $ROOTFS -y $SYSPKG"
|
run_cmd_target "xbps-install -SU $XBPS_CONFFILE $XBPS_CACHEDIR $XBPS_REPOSITORY -r $ROOTFS -y $SYSPKG"
|
||||||
|
|
||||||
# Enable en_US.UTF-8 locale and generate it into the target ROOTFS.
|
# Enable en_US.UTF-8 locale and generate it into the target ROOTFS.
|
||||||
# This is a bit of a hack since some glibc stuff doesn't really work
|
# This is a bit of a hack since some glibc stuff doesn't really work
|
||||||
|
6
package_lists/base-x64.packages.txt
Normal file → Executable file
6
package_lists/base-x64.packages.txt
Normal file → Executable file
@@ -6,12 +6,14 @@ grub-x86_64-efi
|
|||||||
dialog
|
dialog
|
||||||
cryptsetup
|
cryptsetup
|
||||||
lvm2
|
lvm2
|
||||||
mdadm
|
mdadm
|
||||||
ConsoleKit2
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
exfat-utils
|
||||||
|
fuse-exfat
|
||||||
|
wget
|
||||||
NetworkManager
|
NetworkManager
|
||||||
nano
|
nano
|
||||||
vim
|
vim
|
||||||
|
26
package_lists/cinnamon-x64.packages.txt
Normal file → Executable file
26
package_lists/cinnamon-x64.packages.txt
Normal file → Executable file
@@ -6,14 +6,13 @@ grub-x86_64-efi
|
|||||||
dialog
|
dialog
|
||||||
cryptsetup
|
cryptsetup
|
||||||
lvm2
|
lvm2
|
||||||
mdadm
|
mdadm
|
||||||
ConsoleKit2
|
|
||||||
|
|
||||||
# X PACKAGES
|
# X PACKAGES
|
||||||
xorg-minimal
|
xorg-minimal
|
||||||
xorg-input-drivers
|
xorg-input-drivers
|
||||||
xorg-video-drivers
|
xorg-video-drivers
|
||||||
intel-ucode
|
#intel-ucode
|
||||||
setxkbmap
|
setxkbmap
|
||||||
xauth
|
xauth
|
||||||
font-misc-misc
|
font-misc-misc
|
||||||
@@ -23,16 +22,32 @@ alsa-plugins-pulseaudio
|
|||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
elogind
|
||||||
|
exfat-utils
|
||||||
|
fuse-exfat
|
||||||
|
wget
|
||||||
lxdm
|
lxdm
|
||||||
pm-utils
|
|
||||||
nano
|
nano
|
||||||
xdg-utils
|
xdg-utils
|
||||||
|
xdg-desktop-portal
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-kde
|
||||||
|
xdg-user-dirs
|
||||||
|
xdg-user-dirs-gtk
|
||||||
|
libappindicator
|
||||||
|
AppStream
|
||||||
|
libvdpau-va-gl
|
||||||
|
vdpauinfo
|
||||||
|
pipewire
|
||||||
|
gstreamer1-pipewire
|
||||||
|
upower
|
||||||
|
flatpak
|
||||||
git
|
git
|
||||||
vim
|
vim
|
||||||
dtrx
|
dtrx
|
||||||
unzip
|
unzip
|
||||||
p7zip
|
p7zip
|
||||||
unrar
|
#unrar
|
||||||
bash-completion
|
bash-completion
|
||||||
cinnamon
|
cinnamon
|
||||||
xrandr
|
xrandr
|
||||||
@@ -56,3 +71,4 @@ ntfs-3g
|
|||||||
gnome-keyring
|
gnome-keyring
|
||||||
network-manager-applet
|
network-manager-applet
|
||||||
firefox
|
firefox
|
||||||
|
papirus-icon-theme
|
||||||
|
24
package_lists/e17-x64.packages.txt
Normal file → Executable file
24
package_lists/e17-x64.packages.txt
Normal file → Executable file
@@ -7,14 +7,12 @@ dialog
|
|||||||
cryptsetup
|
cryptsetup
|
||||||
lvm2
|
lvm2
|
||||||
mdadm
|
mdadm
|
||||||
ConsoleKit2
|
|
||||||
|
|
||||||
# X PACKAGES
|
# X PACKAGES
|
||||||
xorg-minimal
|
xorg-minimal
|
||||||
xorg-input-drivers
|
xorg-input-drivers
|
||||||
xorg-video-drivers
|
xorg-video-drivers
|
||||||
xrandr
|
xrandr
|
||||||
intel-ucode
|
|
||||||
setxkbmap
|
setxkbmap
|
||||||
xauth
|
xauth
|
||||||
font-misc-misc
|
font-misc-misc
|
||||||
@@ -24,14 +22,31 @@ alsa-plugins-pulseaudio
|
|||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
elogind
|
||||||
|
exfat-utils
|
||||||
|
fuse-exfat
|
||||||
|
wget
|
||||||
lxdm
|
lxdm
|
||||||
enlightenment
|
enlightenment
|
||||||
terminology
|
terminology
|
||||||
econnman
|
econnman
|
||||||
|
upower
|
||||||
xdg-utils
|
xdg-utils
|
||||||
|
xdg-desktop-portal
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-kde
|
||||||
|
xdg-user-dirs
|
||||||
|
xdg-user-dirs-gtk
|
||||||
|
libappindicator
|
||||||
|
AppStream
|
||||||
|
libvdpau-va-gl
|
||||||
|
vdpauinfo
|
||||||
|
pipewire
|
||||||
|
gstreamer1-pipewire
|
||||||
|
upower
|
||||||
|
flatpak
|
||||||
zenity
|
zenity
|
||||||
bash-completion
|
bash-completion
|
||||||
pm-utils
|
|
||||||
nano
|
nano
|
||||||
xdg-utils
|
xdg-utils
|
||||||
vim
|
vim
|
||||||
@@ -43,6 +58,8 @@ pavucontrol
|
|||||||
xterm
|
xterm
|
||||||
htop
|
htop
|
||||||
tuxc
|
tuxc
|
||||||
|
dtrx
|
||||||
|
p7zip
|
||||||
topgrade
|
topgrade
|
||||||
ntp
|
ntp
|
||||||
void-repo-multilib
|
void-repo-multilib
|
||||||
@@ -57,6 +74,5 @@ ntfs-3g
|
|||||||
gnome-keyring
|
gnome-keyring
|
||||||
network-manager-applet
|
network-manager-applet
|
||||||
firefox
|
firefox
|
||||||
Adapta
|
|
||||||
papirus-icon-theme
|
papirus-icon-theme
|
||||||
gnome-themes-standard
|
gnome-themes-standard
|
||||||
|
23
package_lists/i3-x64.packages.txt
Normal file → Executable file
23
package_lists/i3-x64.packages.txt
Normal file → Executable file
@@ -7,13 +7,14 @@ dialog
|
|||||||
cryptsetup
|
cryptsetup
|
||||||
lvm2
|
lvm2
|
||||||
mdadm
|
mdadm
|
||||||
ConsoleKit2
|
|
||||||
|
|
||||||
# X PACKAGES
|
# X PACKAGES
|
||||||
|
elogind
|
||||||
|
exfat-utils
|
||||||
|
fuse-exfat
|
||||||
xorg-minimal
|
xorg-minimal
|
||||||
xorg-input-drivers
|
xorg-input-drivers
|
||||||
xorg-video-drivers
|
xorg-video-drivers
|
||||||
intel-ucode
|
|
||||||
setxkbmap
|
setxkbmap
|
||||||
xauth
|
xauth
|
||||||
xrandr
|
xrandr
|
||||||
@@ -24,12 +25,26 @@ alsa-plugins-pulseaudio
|
|||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
wget
|
||||||
lxdm
|
lxdm
|
||||||
pm-utils
|
|
||||||
nano
|
nano
|
||||||
xdg-utils
|
xdg-utils
|
||||||
|
xdg-desktop-portal
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-kde
|
||||||
|
xdg-user-dirs
|
||||||
|
xdg-user-dirs-gtk
|
||||||
|
libappindicator
|
||||||
|
AppStream
|
||||||
|
libvdpau-va-gl
|
||||||
|
vdpauinfo
|
||||||
|
pipewire
|
||||||
|
gstreamer1-pipewire
|
||||||
|
upower
|
||||||
|
flatpak
|
||||||
git
|
git
|
||||||
vim
|
vim
|
||||||
|
upower
|
||||||
bash-completion
|
bash-completion
|
||||||
i3-gaps
|
i3-gaps
|
||||||
i3blocks
|
i3blocks
|
||||||
@@ -41,6 +56,8 @@ xterm
|
|||||||
mc
|
mc
|
||||||
htop
|
htop
|
||||||
tuxc
|
tuxc
|
||||||
|
dtrx
|
||||||
|
p7zip
|
||||||
topgrade
|
topgrade
|
||||||
ntp
|
ntp
|
||||||
dmenu
|
dmenu
|
||||||
|
84
package_lists/kde-x64.packages.txt
Executable file
84
package_lists/kde-x64.packages.txt
Executable file
@@ -0,0 +1,84 @@
|
|||||||
|
#GRUB
|
||||||
|
grub-i386-efi
|
||||||
|
grub-x86_64-efi
|
||||||
|
|
||||||
|
#BASE PKGS
|
||||||
|
dialog
|
||||||
|
cryptsetup
|
||||||
|
lvm2
|
||||||
|
mdadm
|
||||||
|
|
||||||
|
# X PACKAGES
|
||||||
|
xorg
|
||||||
|
xorg-input-drivers
|
||||||
|
xorg-video-drivers
|
||||||
|
setxkbmap
|
||||||
|
xauth
|
||||||
|
xrandr
|
||||||
|
font-misc-misc
|
||||||
|
terminus-font
|
||||||
|
dejavu-fonts-ttf
|
||||||
|
alsa-plugins-pulseaudio
|
||||||
|
|
||||||
|
|
||||||
|
#USERLAND PACKAGES
|
||||||
|
elogind
|
||||||
|
exfat-utils
|
||||||
|
fuse-exfat
|
||||||
|
sddm
|
||||||
|
konsole
|
||||||
|
bash-completion
|
||||||
|
nano
|
||||||
|
git
|
||||||
|
vim
|
||||||
|
xdg-utils
|
||||||
|
xdg-desktop-portal
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-kde
|
||||||
|
xdg-user-dirs
|
||||||
|
xdg-user-dirs-gtk
|
||||||
|
libappindicator
|
||||||
|
AppStream
|
||||||
|
libvdpau-va-gl
|
||||||
|
vdpauinfo
|
||||||
|
pipewire
|
||||||
|
gstreamer1-pipewire
|
||||||
|
upower
|
||||||
|
flatpak
|
||||||
|
alsa-utils
|
||||||
|
alsa-plugins-pulseaudio
|
||||||
|
plasma-pa
|
||||||
|
paprefs
|
||||||
|
pavucontrol
|
||||||
|
inetutils
|
||||||
|
usbutils
|
||||||
|
wget
|
||||||
|
curl
|
||||||
|
dtrx
|
||||||
|
p7zip
|
||||||
|
xterm
|
||||||
|
htop
|
||||||
|
tuxc
|
||||||
|
topgrade
|
||||||
|
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
|
||||||
|
kde5-baseapps
|
||||||
|
kaccounts-integration
|
||||||
|
kaccounts-providers
|
||||||
|
dolphin
|
||||||
|
adapta-kde
|
||||||
|
adwaita-icon-theme
|
@@ -1,53 +0,0 @@
|
|||||||
#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
|
|
||||||
topgrade
|
|
||||||
ntp
|
|
||||||
octoxbps
|
|
||||||
gksu
|
|
||||||
void-repo-multilib
|
|
||||||
gvfs-afc
|
|
||||||
gvfs-mtp
|
|
||||||
gvfs-smb
|
|
||||||
udisks2
|
|
||||||
ntfs-3g
|
|
||||||
gnome-keyring
|
|
||||||
network-manager-applet
|
|
||||||
falkon
|
|
23
package_lists/lxqt-x64.packages.txt
Normal file → Executable file
23
package_lists/lxqt-x64.packages.txt
Normal file → Executable file
@@ -7,14 +7,12 @@ dialog
|
|||||||
cryptsetup
|
cryptsetup
|
||||||
lvm2
|
lvm2
|
||||||
mdadm
|
mdadm
|
||||||
ConsoleKit2
|
|
||||||
|
|
||||||
# X PACKAGES
|
# X PACKAGES
|
||||||
xorg-minimal
|
xorg-minimal
|
||||||
xorg-input-drivers
|
xorg-input-drivers
|
||||||
xorg-video-drivers
|
xorg-video-drivers
|
||||||
xrandr
|
xrandr
|
||||||
intel-ucode
|
|
||||||
setxkbmap
|
setxkbmap
|
||||||
xauth
|
xauth
|
||||||
font-misc-misc
|
font-misc-misc
|
||||||
@@ -24,12 +22,28 @@ alsa-plugins-pulseaudio
|
|||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
elogind
|
||||||
|
exfat-utils
|
||||||
|
fuse-exfat
|
||||||
|
wget
|
||||||
qt5-plugin-sqlite
|
qt5-plugin-sqlite
|
||||||
pm-utils
|
|
||||||
nano
|
nano
|
||||||
bash-completion
|
bash-completion
|
||||||
git
|
git
|
||||||
xdg-utils
|
xdg-utils
|
||||||
|
xdg-desktop-portal
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-kde
|
||||||
|
xdg-user-dirs
|
||||||
|
xdg-user-dirs-gtk
|
||||||
|
libappindicator
|
||||||
|
AppStream
|
||||||
|
libvdpau-va-gl
|
||||||
|
vdpauinfo
|
||||||
|
pipewire
|
||||||
|
gstreamer1-pipewire
|
||||||
|
upower
|
||||||
|
flatpak
|
||||||
vim
|
vim
|
||||||
lxdm
|
lxdm
|
||||||
lxqt
|
lxqt
|
||||||
@@ -39,6 +53,8 @@ pavucontrol
|
|||||||
xterm
|
xterm
|
||||||
htop
|
htop
|
||||||
tuxc
|
tuxc
|
||||||
|
dtrx
|
||||||
|
p7zip
|
||||||
topgrade
|
topgrade
|
||||||
ntp
|
ntp
|
||||||
octoxbps
|
octoxbps
|
||||||
@@ -52,3 +68,4 @@ ntfs-3g
|
|||||||
gnome-keyring
|
gnome-keyring
|
||||||
network-manager-applet
|
network-manager-applet
|
||||||
falkon
|
falkon
|
||||||
|
papirus-icon-theme
|
||||||
|
22
package_lists/mate-x64.packages.txt
Normal file → Executable file
22
package_lists/mate-x64.packages.txt
Normal file → Executable file
@@ -7,13 +7,11 @@ dialog
|
|||||||
cryptsetup
|
cryptsetup
|
||||||
lvm2
|
lvm2
|
||||||
mdadm
|
mdadm
|
||||||
ConsoleKit2
|
|
||||||
|
|
||||||
# X PACKAGES
|
# X PACKAGES
|
||||||
xorg-minimal
|
xorg-minimal
|
||||||
xorg-input-drivers
|
xorg-input-drivers
|
||||||
xorg-video-drivers
|
xorg-video-drivers
|
||||||
intel-ucode
|
|
||||||
setxkbmap
|
setxkbmap
|
||||||
xauth
|
xauth
|
||||||
xrandr
|
xrandr
|
||||||
@@ -24,6 +22,10 @@ alsa-plugins-pulseaudio
|
|||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
elogind
|
||||||
|
exfat-utils
|
||||||
|
fuse-exfat
|
||||||
|
wget
|
||||||
lxdm
|
lxdm
|
||||||
mate
|
mate
|
||||||
mate-extra
|
mate-extra
|
||||||
@@ -31,11 +33,26 @@ bash-completion
|
|||||||
caja-extensions
|
caja-extensions
|
||||||
alsa-utils
|
alsa-utils
|
||||||
xdg-utils
|
xdg-utils
|
||||||
|
xdg-desktop-portal
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-kde
|
||||||
|
xdg-user-dirs
|
||||||
|
xdg-user-dirs-gtk
|
||||||
|
libappindicator
|
||||||
|
AppStream
|
||||||
|
libvdpau-va-gl
|
||||||
|
vdpauinfo
|
||||||
|
pipewire
|
||||||
|
gstreamer1-pipewire
|
||||||
|
upower
|
||||||
|
flatpak
|
||||||
pavucontrol
|
pavucontrol
|
||||||
alsa-plugins-pulseaudio
|
alsa-plugins-pulseaudio
|
||||||
xterm
|
xterm
|
||||||
htop
|
htop
|
||||||
tuxc
|
tuxc
|
||||||
|
dtrx
|
||||||
|
p7zip
|
||||||
topgrade
|
topgrade
|
||||||
ntp
|
ntp
|
||||||
octoxbps
|
octoxbps
|
||||||
@@ -49,3 +66,4 @@ ntfs-3g
|
|||||||
gnome-keyring
|
gnome-keyring
|
||||||
network-manager-applet
|
network-manager-applet
|
||||||
firefox
|
firefox
|
||||||
|
papirus-icon-theme
|
||||||
|
22
package_lists/xfce-x64.packages.txt
Normal file → Executable file
22
package_lists/xfce-x64.packages.txt
Normal file → Executable file
@@ -7,14 +7,12 @@ dialog
|
|||||||
cryptsetup
|
cryptsetup
|
||||||
lvm2
|
lvm2
|
||||||
mdadm
|
mdadm
|
||||||
ConsoleKit2
|
|
||||||
|
|
||||||
# X PACKAGES
|
# X PACKAGES
|
||||||
xorg-minimal
|
xorg-minimal
|
||||||
xorg-input-drivers
|
xorg-input-drivers
|
||||||
xorg-video-drivers
|
xorg-video-drivers
|
||||||
xrandr
|
xrandr
|
||||||
intel-ucode
|
|
||||||
setxkbmap
|
setxkbmap
|
||||||
xauth
|
xauth
|
||||||
font-misc-misc
|
font-misc-misc
|
||||||
@@ -24,11 +22,27 @@ alsa-plugins-pulseaudio
|
|||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
exfat-utils
|
||||||
|
elogind
|
||||||
|
fuse-exfat
|
||||||
|
wget
|
||||||
lxdm
|
lxdm
|
||||||
xdg-utils
|
xdg-utils
|
||||||
|
xdg-desktop-portal
|
||||||
|
xdg-desktop-portal-gtk
|
||||||
|
xdg-desktop-portal-kde
|
||||||
|
xdg-user-dirs
|
||||||
|
xdg-user-dirs-gtk
|
||||||
|
libappindicator
|
||||||
|
AppStream
|
||||||
|
libvdpau-va-gl
|
||||||
|
vdpauinfo
|
||||||
|
pipewire
|
||||||
|
gstreamer1-pipewire
|
||||||
|
upower
|
||||||
|
flatpak
|
||||||
zenity
|
zenity
|
||||||
bash-completion
|
bash-completion
|
||||||
pm-utils
|
|
||||||
nano
|
nano
|
||||||
xdg-utils
|
xdg-utils
|
||||||
vim
|
vim
|
||||||
@@ -40,6 +54,8 @@ pavucontrol
|
|||||||
xterm
|
xterm
|
||||||
htop
|
htop
|
||||||
tuxc
|
tuxc
|
||||||
|
dtrx
|
||||||
|
p7zip
|
||||||
topgrade
|
topgrade
|
||||||
ntp
|
ntp
|
||||||
void-repo-multilib
|
void-repo-multilib
|
||||||
|
0
packer/http/autoinstall.cfg
Normal file → Executable file
0
packer/http/autoinstall.cfg
Normal file → Executable file
0
packer/scripts/vagrant.sh
Normal file → Executable file
0
packer/scripts/vagrant.sh
Normal file → Executable file
0
packer/templates/vagrant-glibc64.json
Normal file → Executable file
0
packer/templates/vagrant-glibc64.json
Normal file → Executable file
0
pxelinux.cfg/pxelinux.cfg.in
Normal file → Executable file
0
pxelinux.cfg/pxelinux.cfg.in
Normal file → Executable file
0
release.sh.in
Normal file → Executable file
0
release.sh.in
Normal file → Executable file
0
silvernode.asc
Normal file → Executable file
0
silvernode.asc
Normal file → Executable file
0
templates/logen/logen.packages
Normal file → Executable file
0
templates/logen/logen.packages
Normal file → Executable file
0
templates/plasma/plasma.packages
Normal file → Executable file
0
templates/plasma/plasma.packages
Normal file → Executable file
0
templates/plasma/splash.png
Normal file → Executable file
0
templates/plasma/splash.png
Normal file → Executable file
Before Width: | Height: | Size: 345 KiB After Width: | Height: | Size: 345 KiB |
0
tom-x64.packages
Normal file → Executable file
0
tom-x64.packages
Normal file → Executable file
0
voidbuilds-logo.png
Normal file → Executable file
0
voidbuilds-logo.png
Normal file → Executable file
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
9
xfce-x64.packages
Normal file → Executable file
9
xfce-x64.packages
Normal file → Executable file
@@ -7,14 +7,12 @@ dialog
|
|||||||
cryptsetup
|
cryptsetup
|
||||||
lvm2
|
lvm2
|
||||||
mdadm
|
mdadm
|
||||||
ConsoleKit2
|
|
||||||
|
|
||||||
# X PACKAGES
|
# X PACKAGES
|
||||||
xorg-minimal
|
xorg-minimal
|
||||||
xorg-input-drivers
|
xorg-input-drivers
|
||||||
xorg-video-drivers
|
xorg-video-drivers
|
||||||
xrandr
|
xrandr
|
||||||
intel-ucode
|
|
||||||
setxkbmap
|
setxkbmap
|
||||||
xauth
|
xauth
|
||||||
font-misc-misc
|
font-misc-misc
|
||||||
@@ -24,6 +22,10 @@ alsa-plugins-pulseaudio
|
|||||||
|
|
||||||
|
|
||||||
#USERLAND PACKAGES
|
#USERLAND PACKAGES
|
||||||
|
exfat-utils
|
||||||
|
elogind
|
||||||
|
fuse-exfat
|
||||||
|
wget
|
||||||
lxdm
|
lxdm
|
||||||
xdg-utils
|
xdg-utils
|
||||||
xdg-desktop-portal
|
xdg-desktop-portal
|
||||||
@@ -41,7 +43,6 @@ upower
|
|||||||
flatpak
|
flatpak
|
||||||
zenity
|
zenity
|
||||||
bash-completion
|
bash-completion
|
||||||
pm-utils
|
|
||||||
nano
|
nano
|
||||||
xdg-utils
|
xdg-utils
|
||||||
vim
|
vim
|
||||||
@@ -53,6 +54,8 @@ pavucontrol
|
|||||||
xterm
|
xterm
|
||||||
htop
|
htop
|
||||||
tuxc
|
tuxc
|
||||||
|
dtrx
|
||||||
|
p7zip
|
||||||
topgrade
|
topgrade
|
||||||
ntp
|
ntp
|
||||||
void-repo-multilib
|
void-repo-multilib
|
||||||
|
45
xfce-x64.sh
45
xfce-x64.sh
@@ -3,31 +3,44 @@ DESKTOP="xfce"
|
|||||||
echo "========================="
|
echo "========================="
|
||||||
echo "| ${DESKTOP} VOID x86_64 |"
|
echo "| ${DESKTOP} VOID x86_64 |"
|
||||||
echo " ------------------------"
|
echo " ------------------------"
|
||||||
CURRENT=https://alpha.de.repo.voidlinux.org/current
|
CURRENT=https://mirrors.servercentral.com/voidlinux/current
|
||||||
MUTILIB=https://alpha.de.repo.voidlinux.org/current/multilib
|
MUTILIB=https://mirrors.servercentral.com/voidlinux/current/multilib
|
||||||
NONFREE=https://alpha.de.repo.voidlinux.org/current/nonfree
|
NONFREE=https://mirrors.servercentral.com/voidlinux/current/nonfree
|
||||||
FILENAME="void-live-${DESKTOP}-unofficial"
|
FILENAME="void-live-${DESKTOP}-unofficial"
|
||||||
DATE=$(date +%Y%m%d)
|
DATE=$(date +%Y%m%d)
|
||||||
KERNEL=$(uname -r)
|
KERNEL=$(uname -r)
|
||||||
BUILDDIR="$(pwd)/build"
|
BUILDDIR="$(pwd)/build"
|
||||||
|
|
||||||
#shift $((OPTIND - 1))
|
retry=0
|
||||||
|
|
||||||
#: ${ARCH:=$(uname -m)}
|
until [ -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];do
|
||||||
|
((retry++))
|
||||||
|
if [[ $retry -gt 2 ]];then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
|
||||||
sudo ./mklive.sh \
|
sudo ./mklive.sh \
|
||||||
-a x86_64 \
|
-a x86_64 \
|
||||||
-r ${CURRENT} \
|
-r "${CURRENT}" \
|
||||||
-r ${MUTILIB} \
|
-r "${MULTILIB}" \
|
||||||
-r ${NONFREE} \
|
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
||||||
-p "$(grep '^[^#].' ${DESKTOP}-x64.packages)" \
|
-T "Void Linux ${DESKTOP} Unofficial" \
|
||||||
-T "Void Linux ${DESKTOP} Unofficial" \
|
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
||||||
-o ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso
|
done
|
||||||
|
|
||||||
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
if [ ! -f ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso ];then
|
||||||
echo "Error: ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso : does not exist! Aborting!"
|
retries=${1}
|
||||||
echo "ERR=1" > error-status.txt
|
until [[ $retries -gt 2 ]];do
|
||||||
exit 1
|
echo "Retrying build ${retries}"
|
||||||
|
((retries++))
|
||||||
|
bash ${0} ${retries}
|
||||||
|
|
||||||
|
done
|
||||||
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
sha256sum ${FILENAME}-x86_64-${KERNEL}-${DATE}.iso >> sha256sums.txt
|
||||||
|
Reference in New Issue
Block a user