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

24 lines
513 B
Bash
Raw Normal View History

2024-08-01 15:23:17 +03:00
#! /bin/bash
set -e
export DEBIAN_FRONTEND="noninteractive"
2024-08-01 19:16:30 +03:00
touch /chroot_scripts/live_list
2024-08-01 15:23:17 +03:00
2024-08-01 19:16:30 +03:00
for live_list in /chroot_scripts/live-lists/*.list
2024-08-01 15:23:17 +03:00
do
for pkg in $(cat $live_list)
do
2024-08-01 17:32:06 +03:00
if [[ $pkg != "#"* ]]
then
2024-08-01 19:16:30 +03:00
echo $pkg >> /chroot_scripts/live_list
2024-08-01 17:32:06 +03:00
fi
2024-08-01 15:23:17 +03:00
done
done
2024-08-11 04:03:43 +03: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-09-27 19:49:05 +01:00
systemctl mask fwupd || true
systemctl mask nmdb || true
2024-08-01 15:23:17 +03:00