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

24 lines
513 B
Bash
Raw Normal View History

2024-08-01 14:23:17 +02:00
#! /bin/bash
set -e
export DEBIAN_FRONTEND="noninteractive"
2024-08-01 18:16:30 +02:00
touch /chroot_scripts/live_list
2024-08-01 14:23:17 +02:00
2024-08-01 18:16:30 +02:00
for live_list in /chroot_scripts/live-lists/*.list
2024-08-01 14:23:17 +02:00
do
for pkg in $(cat $live_list)
do
2024-08-01 16:32:06 +02:00
if [[ $pkg != "#"* ]]
then
2024-08-01 18:16:30 +02:00
echo $pkg >> /chroot_scripts/live_list
2024-08-01 16:32:06 +02:00
fi
2024-08-01 14:23:17 +02:00
done
done
2024-08-11 03:03:43 +02:00
apt-get install --yes --no-install-recommends --option Dpkg::Options::="--force-confnew" --option Dpkg::Options::="--force-overwrite" $(cat /chroot_scripts/live_list | tr "\n" " ")
2024-08-01 14:23:17 +02:00
2024-09-27 19:55:39 +02:00
systemctl mask fwupd || true
systemctl mask nmdb || true