live-iso-kde/chroot_scripts/0-chroot.sh
Ward from fusion-voyager-3 e7873de2d6 Fix chroot_scripts_path
2024-08-01 16:56:33 +03:00

52 lines
1.3 KiB
Bash
Executable File

#! /bin/bash
set -e
export DEBIAN_FRONTEND="noninteractive"
# Add canary repo
tee /etc/apt/sources.list.d/canary.sources <<'EOF'
X-Repolib-Name: PikaOS Canary System Sources
Enabled: yes
Types: deb
URIs: https://ppa.pika-os.com/
Suites: pika
Components: canary
Signed-By: /etc/apt/keyrings/pika-keyring.gpg.key
EOF
# Update APT Caches
apt-get update -y
apt-get install pika-sources -y
# Actions to do before package lists
apt-get install initramfs-tools adwaita-icon-theme amdgpu-drm --yes --option Dpkg::Options::="--force-confnew"
apt-get install desktop-file-utils --yes --option Dpkg::Options::="--force-confnew"
apt-get install kernel-pika --yes --option Dpkg::Options::="--force-confnew"
apt-get install booster-placeholder --yes --option Dpkg::Options::="--force-confnew"
# Upgrade system with new cache
apt-get full-upgrade --yes --option Dpkg::Options::="--force-confnew"
# Install Absolute Live Boot Basics
apt-get install --yes --option Dpkg::Options::="--force-confnew" --no-install-recommends \
live-boot \
systemd-sysv \
iwd \
curl openssh-client \
xserver-xorg-core \
xserver-xorg \
xinit xterm \
nano
# Run chroot steps
/chroot_scripts/1-baseos.sh
/chroot_scripts/2-install-live-lists.sh
/chroot_scripts/3-download-pool.sh
/chroot_scripts/4-uninstall-rem-lists.sh
/chroot_scripts/5-run-hooks.sh