live-iso-kde/chroot_scripts/0-chroot.sh

52 lines
1.3 KiB
Bash
Raw Normal View History

2024-08-01 14:23:17 +02:00
#! /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
2024-08-01 15:46:30 +02:00
# Update APT Caches
apt-get update -y
apt-get install pika-sources -y
# Actions to do before package lists
2024-08-01 15:49:46 +02:00
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"
2024-08-01 15:46:30 +02:00
2024-08-01 14:23:17 +02:00
# 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
2024-08-01 15:56:33 +02:00
/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