Update gentoo.sh

This commit is contained in:
verita84 2023-11-15 00:01:03 +00:00
parent af209a6775
commit b8a4fafdf1

View File

@ -42,7 +42,7 @@ SERVICES+=(cronie libvirt smartd cronie avahi-daemon cups grub-btrfsd sddm Netwo
MAKEOPTS="-j$(cat /proc/cpuinfo | grep -i processor | grep -vi 'model' | wc -l)"
DESKTOP_USE_FLAGS="wxwidgets jumbo-build kernel-install hwaccel sasl usb usbredir spice vhost-net virtfs vnc -gpm proprietary-codecs screencast systemd x264 pulseaudio firmware nfsv4 caps zeroconf dbus sound-server X -browser-integration desktop-portal minimal -gnome qt5 kde dvd alsa gui -wayland device-mapper efiemu themes truetype btrfs seccomp cgroup-hybrid geoclue -webengine boot browser keeshare network opengl"
SERVER_USE_FLAGS="-gtk kernel-install -pipewire -bluetooth udev -sound -gtk -ipv6 sasl usb usbredir spice vhost-net virtfs -vnc -wayland -gpm -proprietary-codecs -screencast systemd pulseaudio sound-server -x264 firmware nfsv4 caps zeroconf dbus -X -browser-integration desktop-portal minimal -gnome -qt5 -kde -dvd -alsa -gui device-mapper efiemu themes truetype btrfs seccomp cgroup-hybrid geoclue -webengine boot -browser -keeshare network -opengl"
BASE_PACKAGES=" mail-mta/postfix app-admin/sysstat sys-apps/smartmontools sys-process/cronie net-fs/samba net-fs/nfs-utils net-firewall/iptables dev-python/pip sys-fs/inotify-tools dev-util/sh net-analyzer/nmap x11-apps/xhost app-misc/screen app-portage/gentoolkit sys-fs/dosfstools app-admin/sudo sys-apps/systemd sys-boot/plymouth sys-apps/zram-generator app-eselect/eselect-repository dev-vcs/git sys-boot/refind sys-block/parted sys-boot/grub sys-block/zram-init sys-process/btop net-vpn/wireguard-tools sys-apps/flatpak app-editors/vim app-misc/fastfetch net-misc/yt-dlp app-containers/crun app-containers/podman net-fs/samba sys-fs/btrfs-progs net-print/cups app-emulation/virt-manager app-emulation/qemu app-emulation/libvirt sys-firmware/edk2-ovmf-bin "
BASE_PACKAGES=" mail-mta/postfix app-admin/sysstat sys-apps/smartmontools sys-process/cronie net-fs/samba net-fs/nfs-utils net-firewall/iptables dev-python/pip sys-fs/inotify-tools net-analyzer/nmap x11-apps/xhost app-misc/screen app-portage/gentoolkit sys-fs/dosfstools app-admin/sudo sys-apps/systemd sys-boot/plymouth sys-apps/zram-generator app-eselect/eselect-repository dev-vcs/git sys-boot/refind sys-block/parted sys-boot/grub sys-block/zram-init sys-process/btop net-vpn/wireguard-tools sys-apps/flatpak app-editors/vim app-misc/fastfetch net-misc/yt-dlp app-containers/crun app-containers/podman net-fs/samba sys-fs/btrfs-progs net-print/cups app-emulation/virt-manager app-emulation/qemu app-emulation/libvirt sys-firmware/edk2-ovmf-bin "
DESKTOP_PACKAGES=" kde-apps/kcalc kde-apps/dolphin kde-apps/ark www-client/firefox plasma-meta app-editors/vscodium kde-apps/konsole media-gfx/krita kde-apps/kdegraphics-meta app-admin/keepassxc app-office/calligra net-im/telegram-desktop-bin net-misc/nextcloud-client net-im/neochat x11-misc/sddm media-video/vlc "
USE_FLAGS=""
PACKAGES=""
@ -480,10 +480,12 @@ menu() {
echo "[9] Initialize Disk"
echo
read -p 'Your Choice: ' choice
if [[ $choice = 1 ]]; then
set-devices
partitions
sleep 5
read -p "Press enter key to Continue"
menu
elif [[ $choice = 2 ]]; then
clear
@ -536,6 +538,7 @@ menu() {
mkdir -p $TARGET/var/tmp/portage
cp -f gentoo.sh $TARGET/usr/bin/
fi
read -p "Press enter key to Continue"
menu
elif [[ $choice = 3 ]]; then
clear
@ -554,7 +557,8 @@ menu() {
fi
set-devices
buildGentoo
#menu
read -p "Press enter key to Continue"
menu
elif [[ $choice = 4 ]]; then
set-devices
finishInstall "$HARD_DISK"
@ -576,6 +580,8 @@ menu() {
chmod +x $TARGET/setup.sh
chroot $TARGET /setup.sh
rm -f $TARGET/setup.sh
read -p "Press enter key to Continue"
menu
elif [[ $choice = 6 ]]; then
clear
echo "[Backup OS]"
@ -613,6 +619,8 @@ menu() {
echo
set-devices
initialize-disk
read -p "Press enter key to Continue"
menu
else
menu
fi