live-iso-gnome/chroot_scripts/0-chroot.sh
Ward from fusion-voyager-3 e4defc8ddd
Some checks failed
Push ISO / build (push) Failing after 1m25s
attempt 4 at fixing booster
2024-08-01 16:40:28 +03:00

47 lines
1.0 KiB
Bash
Executable File

#! /bin/bash
set -e
export DEBIAN_FRONTEND="noninteractive"
# Update APT Caches
apt-get update -y
apt-get remove booster -y || true
apt-get install pika-sources booster-temp booster-placeholder -y
# 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