From c134deef1137ab29f2d2751e899500d56e5f77e2 Mon Sep 17 00:00:00 2001
From: Holger Paradies <retabell@gmx.de>
Date: Tue, 12 Mar 2024 19:19:17 +0100
Subject: Remove debpool stuff for now

---
 backend/modules/install_configure | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/backend/modules/install_configure b/backend/modules/install_configure
index 36f85f9..5c9034c 100644
--- a/backend/modules/install_configure
+++ b/backend/modules/install_configure
@@ -89,19 +89,6 @@ EOF
 		;;
 	esac
 	
-	# if build with debpool install selected packages
-	# make a distinction between uefi and legacy packages
-	# TODO implement ia32
-	if [ -d /run/live/medium/debian ]; then
-		if [ -d /sys/firmware/efi/efivars ]; then
-		cp -f /run/live/medium/debian/pool/main/g/grub2/*.deb "$TARGET/tmp/"
-		#cp -f /run/live/medium/debian/pool/main/m/mokutil/*.deb "$TARGET/tmp/"
-		#cp -f /run/live/medium/debian/pool/main/r/refind/*.deb "$TARGET/tmp/"
-		fi
-	#cp -f /run/live/medium/debian/pool/main/o/openssh/*.deb "$TARGET/tmp/"
-	ls "$TARGET/tmp/" >/tmp/target.log
-	fi
-	
 	# install hooks
 	if [ "$(ls $TARGET/usr/share/acritoxinstaller/target-config)" ]; then
 		for hook in $TARGET/usr/share/acritoxinstaller/target-config/*
@@ -165,11 +152,6 @@ function configure_target_purge_live_only_stuff()
 	# remove unused stuff
 	chroot_it apt-get autoremove --purge --yes	&> /dev/null
 	
-	# install copied file from debpool
-	if [ -d /run/live/medium/debian ]; then
-	DEBIAN_FRONTEND=noninteractive chroot_it dpkg -R -i /tmp	&> /dev/null
-	fi
-	
 	# execute above configured fix for efi (new since bullseye)
 	if [ -d /sys/firmware/efi/efivars ]; then
 	chroot_it /tmp/fixmount
-- 
cgit v1.0