From 1aaec37399f3dde03e0a5044df3b16855ad9cdc8 Mon Sep 17 00:00:00 2001
From: Holger Paradies <retabell@gmx.de>
Date: Sun, 5 Dec 2021 10:22:44 +0100
Subject: Add debpool build option to config

---
 auto/config | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/auto/config b/auto/config
index 52638f8..8e41f5f 100755
--- a/auto/config
+++ b/auto/config
@@ -176,6 +176,12 @@ if grep -wq gfxdetect <<<"$LB_PACKAGES_LISTS"; then
     LB_LINUX_FLAVOURS="generic"
 fi
 
+# Build with debpool
+if grep -wq debpool <<<"$LB_PACKAGES_LISTS"; then
+    mkdir -p config/chroot_debpool
+    cp -rf config/prepare_debpool/* config/chroot_debpool/
+fi
+
 lb config noauto --linux-packages "$LB_LINUX_PACKAGES" --linux-flavours "$LB_LINUX_FLAVOURS" --repositories "$LB_REPOSITORIES"
 
 # Fetch kanotix-scripts if necessary
-- 
cgit v1.0