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

23 lines
436 B
Bash
Raw Normal View History

2024-08-01 14:23:17 +02:00
#! /bin/bash
set -e
export DEBIAN_FRONTEND="noninteractive"
touch /chroot_scripts/linux/live_list
2024-08-01 14:23:17 +02:00
for live_list in /chroot_scripts/linux/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
echo $pkg >> /chroot_scripts/linux/live_list
2024-08-01 16:32:06 +02:00
fi
2024-08-01 14:23:17 +02:00
done
done
apt-get install --yes --no-install-recommends --option Dpkg::Options::="--force-confnew" $(cat /chroot_scripts/linux/live_list | tr "\n" " ")
2024-08-01 14:23:17 +02:00