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

42 lines
1.5 KiB
Bash
Raw Normal View History

2024-08-01 14:23:17 +02:00
#! /bin/bash
set -e
export DEBIAN_FRONTEND="noninteractive"
2024-08-11 01:47:05 +02:00
dpkg --add-architecture i386
2024-08-01 15:46:30 +02:00
# Update APT Caches
apt-get update -y
apt-get install pika-sources -y --no-install-recommends
2024-08-01 15:46:30 +02:00
# Actions to do before package lists
apt-get install initramfs-tools adwaita-icon-theme amdgpu-drm --yes --option Dpkg::Options::="--force-confnew" --option Dpkg::Options::="--force-overwrite" --no-install-recommends
apt-get install desktop-file-utils --yes --option Dpkg::Options::="--force-confnew" --option Dpkg::Options::="--force-overwrite" --no-install-recommends
apt-get install kernel-pika --yes --option Dpkg::Options::="--force-confnew" --option Dpkg::Options::="--force-overwrite" --no-install-recommends
apt-get install booster-placeholder --yes --option Dpkg::Options::="--force-confnew" --option Dpkg::Options::="--force-overwrite" --no-install-recommends
2024-08-01 15:46:30 +02:00
2024-08-01 14:23:17 +02:00
# Upgrade system with new cache
2024-08-11 03:03:43 +02:00
apt-get full-upgrade --yes --option Dpkg::Options::="--force-confnew" --option Dpkg::Options::="--force-overwrite"
2024-08-01 14:23:17 +02:00
# Install Absolute Live Boot Basics
2024-08-11 03:03:43 +02:00
apt-get install --yes --option Dpkg::Options::="--force-confnew" --option Dpkg::Options::="--force-overwrite" --no-install-recommends \
2024-08-01 14:23:17 +02:00
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