live-iso-hyprland/chroot_scripts/2-install-live-lists.sh

24 lines
513 B
Bash
Raw Normal View History

2024-10-27 17:17:07 +01:00
#! /bin/bash
set -e
export DEBIAN_FRONTEND="noninteractive"
touch /chroot_scripts/live_list
for live_list in /chroot_scripts/live-lists/*.list
do
for pkg in $(cat $live_list)
do
if [[ $pkg != "#"* ]]
then
echo $pkg >> /chroot_scripts/live_list
fi
done
done
apt-get install --yes --no-install-recommends --option Dpkg::Options::="--force-confnew" --option Dpkg::Options::="--force-overwrite" $(cat /chroot_scripts/live_list | tr "\n" " ")
systemctl mask fwupd || true
systemctl mask nmdb || true