#!/bin/sh -eu tool=$(readlink -e "${0%/*}/..") . "$tool"/host/lib.sh "$tool"/host/disk-mount "$tool"/host/part-lvm-mount "$tool"/host/part-root-mount "$tool"/host/part-boot-mount "$tool"/host/part-var-mount sudo DEBOOTSTRAP_DIR=/usr/share/debootstrap/ LANG=C LC_CTYPE=C debootstrap \ --arch=$local_arch --verbose --keyring=/usr/share/keyrings/debian-archive-keyring.gpg \ --exclude=vim-tiny \ --include=$(printf '%s,' \ acl \ bsdmainutils \ busybox \ ca-certificates \ console-setup \ cryptsetup \ dash \ dnsutils \ dropbear \ etckeeper \ git-core \ gnupg \ hashalot \ htop \ ifupdown \ initramfs-tools \ kbd \ less \ locales \ lvm2 \ m4 \ mosh \ molly-guard \ ncurses-term \ openssh-client \ openssh-server \ openssl \ pciutils \ procps \ quota \ quotatool \ rsync \ screen \ sudo \ sysprofile \ vim-nox \ wget \ zsh \ ) \ $local_lsb_name /mnt/$local_fqdn/ \ http://ftp.fr.debian.org/debian/ "$tool"/host/part-var-umount "$tool"/host/part-boot-umount "$tool"/host/part-root-umount