commit 8960b2b10bc81abcf4d72b2716ab09c459150db5
parent b2f5932f1146176318d0f9966a40874bb6f89f53
Author: Morel BĂ©renger <berengermorel76@gmail.com>
Date: Thu, 12 Nov 2020 18:59:49 +0100
package lists are only extracted from correct folder
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/install.sh b/install.sh
@@ -186,7 +186,7 @@ cp -ar "$SOURCE"/root/* "$cp_target"
success "template installation done"
## bootstrap
-PKG_LIST="$(find "$SOURCE" -path 'packages' -prune -o \( \( -type f -o -type l \) -name '*.list' \) -exec cat {} \+)$PKG_LIST"
+PKG_LIST="$(find "$SOURCE/packages" -name '*.list' -exec cat {} \+)$PKG_LIST"
info "preparing to install $PKG_LIST"
debootstrap --no-merged-usr --variant=minbase "--include=$PKG_LIST" $(cat $SOURCE/name) "$cp_target" "$MIRROR"
success "install done"