live-iso-gnome/chroot_scripts/0-chroot.sh
Ward from fusion-voyager-3 80f4eeebe5
Some checks failed
Push ISO / build (push) Failing after 1m10s
chroot attempt 0
2024-08-01 15:23:17 +03:00

46 lines
984 B
Bash
Executable File

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