mirror of
https://github.com/bhaiest/holoiso.git
synced 2024-11-14 15:23:52 +01:00
HoloISO Lord Gaben's treasure (snapshot4) 20220522_1750
This commit is contained in:
parent
8504c1c4cf
commit
9fa749886d
@ -71,18 +71,15 @@ base_os_install() {
|
||||
parted ${DEVICE} set 1 boot on
|
||||
parted ${DEVICE} set 1 esp on
|
||||
parted ${DEVICE} mkpart primary btrfs 256M 24G
|
||||
parted ${DEVICE} mkpart primary ext4 24G 29G
|
||||
parted ${DEVICE} mkpart primary ext4 29G 100%
|
||||
parted ${DEVICE} mkpart primary ext4 24G 100%
|
||||
root_partition="${INSTALLDEVICE}2"
|
||||
mkfs -t vfat ${INSTALLDEVICE}1
|
||||
fatlabel ${INSTALLDEVICE}1 HOLOEFI
|
||||
mkfs -t btrfs -f ${root_partition}
|
||||
mkfs -t ext4 ${INSTALLDEVICE}3
|
||||
mkfs -t ext4 ${INSTALLDEVICE}4
|
||||
home_partition="${INSTALLDEVICE}4"
|
||||
home_partition="${INSTALLDEVICE}3"
|
||||
btrfs filesystem label ${root_partition} holo-root
|
||||
e2label "${INSTALLDEVICE}3" holo-recovery
|
||||
e2label "${INSTALLDEVICE}4" holo-home
|
||||
e2label "${INSTALLDEVICE}3" holo-home
|
||||
|
||||
echo "\nPartitioning complete, mounting and pacstrapping..."
|
||||
echo "${UCODE_INSTALL_MSG}"
|
||||
@ -160,27 +157,27 @@ base_os_install() {
|
||||
full_install() {
|
||||
echo "Installing full SteamOS 3..."
|
||||
sleep 1
|
||||
echo "Please choose your current GPU:"
|
||||
echo "1) AMD only: Will install updated Gamescope with Mangohud and FSR support"
|
||||
echo "2) Intel: Will install older Gamescope that's compatible with Intel GPUs but without Mangohud and FSR support"
|
||||
read "?Enter your choice here: " HOLO_GPU_TYPE
|
||||
|
||||
if [[ "${HOLO_GPU_TYPE}" == "1" ]]; then
|
||||
echo "Installing gamescope for AMD GPUs..."
|
||||
GAMESCOPE_INSTALL="gamescope mesa lib32-mesa"
|
||||
elif [[ "${HOLO_GPU_TYPE}" == "2" ]]; then
|
||||
echo "Installing gamescope for Intel GPUs..."
|
||||
GAMESCOPE_INSTALL="extra/mesa multilib/lib32-mesa holo/gamescope"
|
||||
else
|
||||
echo "Nothing choosed or Invalid choice. Installing gamescope for Intel GPUs..."
|
||||
GAMESCOPE_INSTALL="extra/mesa multilib/lib32-mesa holo/gamescope"
|
||||
fi
|
||||
# The actual installation begins here:
|
||||
arch-chroot ${HOLO_INSTALL_DIR} ${CMD_PACMAN_UPDATE}
|
||||
arch-chroot ${HOLO_INSTALL_DIR} ${CMD_PACMAN_INSTALL} holoiso-main holoiso-updateclient wireplumber vulkan-radeon lib32-vulkan-radeon extra/vulkan-intel multilib/lib32-vulkan-intel
|
||||
sleep 1
|
||||
echo "Please choose your current GPU:"
|
||||
echo "1) AMD only: Will install updated Gamescope with Mangohud and FSR support"
|
||||
echo "2) Intel: Will install older Gamescope that's compatible with Intel GPUs but without Mangohud and FSR support"
|
||||
read "?Enter your choice here: " HOLO_GPU_TYPE
|
||||
|
||||
if [[ "${HOLO_GPU_TYPE}" == "1" ]]; then
|
||||
echo "Installing gamescope for AMD GPUs..."
|
||||
GAMESCOPE_INSTALL=(/usr/bin/pacman --noconfirm -S --needed --overwrite="*" gamescope)
|
||||
elif [[ "${HOLO_GPU_TYPE}" == "2" ]]; then
|
||||
echo "Installing gamescope for Intel GPUs..."
|
||||
GAMESCOPE_INSTALL=(/usr/bin/pacman --noconfirm -S --needed --overwrite="*" extra/mesa multilib/lib32-mesa holo/gamescope)
|
||||
else
|
||||
echo "Nothing choosed or Invalid choice. Installing gamescope for Intel GPUs..."
|
||||
GAMESCOPE_INSTALL=(/usr/bin/pacman --noconfirm -S --needed --overwrite="*" extra/mesa multilib/lib32-mesa holo/gamescope)
|
||||
fi
|
||||
echo "\nConfiguring Steam Deck UI by default..."
|
||||
arch-chroot ${HOLO_INSTALL_DIR} ${CMD_PACMAN_INSTALL} ${GAMESCOPE_INSTALL}
|
||||
arch-chroot ${HOLO_INSTALL_DIR} ${GAMESCOPE_INSTALL}
|
||||
mkdir ${HOLO_INSTALL_DIR}/etc/sddm.conf.d
|
||||
echo "[General]\nDisplayServer=wayland\n\n[Autologin]\nUser=${HOLOUSER}\nSession=gamescope-wayland.desktop" >> ${HOLO_INSTALL_DIR}/etc/sddm.conf.d/autologin.conf
|
||||
mkdir /mnt/home/${HOLOUSER}/Desktop
|
||||
|
Loading…
Reference in New Issue
Block a user