Update Void stuff.

This commit is contained in:
Érico Rolim 2020-05-12 20:36:41 -03:00
parent e771fa5e40
commit ffa3206524
2 changed files with 53 additions and 12 deletions

View File

@ -8,6 +8,3 @@ do
ln -s /etc/sv/${service} "${MOUNTDIR}/etc/runit/runsvdir/default/" ln -s /etc/sv/${service} "${MOUNTDIR}/etc/runit/runsvdir/default/"
echo "Installed service ${service}" echo "Installed service ${service}"
done done
echo "Copying /etc"
cp -av etc-x86/* "${MOUNTDIR}/etc"

View File

@ -9,23 +9,35 @@
# install script for Void based systems # install script for Void based systems
function base () { xbps-install \ function base () {
binutils \ xbps-install \
cryptsetup \
chrony \ chrony \
elogind \ elogind \
fscrypt \ fscrypt \
gummiboot \
iwd \ iwd \
sbsigntool \
udisks2 \ udisks2 \
vsv \ vsv
PopCorn
} }
function base_desc () { function base_desc () {
echo "Install base system utilities, with encryption and UEFI support." echo "Install base system utilities, with encryption and UEFI support."
} }
function luks () {
xbps_install cryptsetup
}
function luks_desc () {
echo "Install support for LUKS."
}
function uefi_bundle () {
xbps-install \
binutils \
gummiboot \
sbsigntool
}
function uefi_bundle_desc () {
echo "Install tools for creating UEFI bundles."
function refind () { function refind () {
xbps-install refind xbps-install refind
} }
@ -33,6 +45,27 @@ function refind_desc () {
echo "Install rEFInd boot manager. Necessary when it's the only system on a device." echo "Install rEFInd boot manager. Necessary when it's the only system on a device."
} }
function zfs () {
xbps-install zfs zfsbootmenu
}
function zfs_desc () {
echo "Install support for ZFS."
}
function security () {
xbps-install apparmor
}
function security_desc () {
echo "Install security related packages."
}
function popcorn () {
xbps-install PopCorn
}
function popcorn_desc () {
echo "Install PopCorn usage statistics."
}
function term () { function term () {
xbps-install \ xbps-install \
bat \ bat \
@ -137,6 +170,7 @@ function media () {
audio audio
xbps-install \ xbps-install \
bluez \
elisa \ elisa \
mpv \ mpv \
mpv-mpris \ mpv-mpris \
@ -251,6 +285,14 @@ function kicad_desc () {
echo "Install KiCad EDA and its resource packages." echo "Install KiCad EDA and its resource packages."
} }
function nonfree () {
xbps-install void-repo-nonfree
xbps-install -S intel-ucode
}
function nonfree_desc () {
echo "Install nonfree repo and Intel microcode."
}
function ate () { function ate () {
xbps-install \ xbps-install \
tcc \ tcc \
@ -261,8 +303,10 @@ function ate_desc () {
echo "Install the packages necessary to use ate compiled by TCC." echo "Install the packages necessary to use ate compiled by TCC."
} }
MOST_PACKAGES="base term intel fonts themes wm audio media dev qt5 mozzila pdf" MOST_PACKAGES="base term intel fonts themes wm audio media
COMPLEMENT_PACKAGES="refind emacs office flatpak embedded kicad ate" dev qt5 mozzila pdf popcorn"
COMPLEMENT_PACKAGES="uefi_bundle luks zfs security refind
emacs office flatpak embedded kicad ate nonfree"
function install_most () { function install_most () {
for target in $MOST_PACKAGES for target in $MOST_PACKAGES