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

46 lines
1017 B
Bash
Raw Normal View History

2024-08-01 14:23:17 +02:00
#! /bin/bash
set -e
export DEBIAN_FRONTEND="noninteractive"
# Update APT Caches
apt-get update -y
2024-08-01 15:36:46 +02:00
apt-get install pika-sources booster-temp booster-placeholder -y
2024-08-01 14:23:17 +02:00
# 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
# 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
/etc/chroot_scripts/1-baseos.sh
/etc/chroot_scripts/2-install-live-lists.sh
/etc/chroot_scripts/3-download-pool.sh
/etc/chroot_scripts/4-uninstall-rem-lists.sh
/etc/chroot_scripts/5-run-hooks.sh