Modifications : etc/sv/openerp7_burette/run - +casabicicleta
[lhc/ateliers.git] / host / debootstrap
1 #!/bin/sh -eu
2 tool=$(readlink -e "${0%/*}/..")
3 . "$tool"/host/lib.sh
4
5 "$tool"/host/disk-mount
6 "$tool"/host/part-lvm-mount
7 "$tool"/host/part-root-mount
8 "$tool"/host/part-boot-mount
9 "$tool"/host/part-var-mount
10 sudo DEBOOTSTRAP_DIR=/usr/share/debootstrap/ LANG=C LC_CTYPE=C debootstrap \
11 --arch=$local_arch --verbose --keyring=/usr/share/keyrings/debian-archive-keyring.gpg \
12 --exclude=vim-tiny \
13 --include=$(printf '%s,' \
14 acl \
15 bsdmainutils \
16 busybox \
17 ca-certificates \
18 console-setup \
19 cryptsetup \
20 dash \
21 dnsutils \
22 dropbear \
23 etckeeper \
24 git-core \
25 gnupg \
26 hashalot \
27 htop \
28 ifupdown \
29 initramfs-tools \
30 kbd \
31 less \
32 locales \
33 lvm2 \
34 m4 \
35 mosh \
36 molly-guard \
37 ncurses-term \
38 openssh-client \
39 openssh-server \
40 openssl \
41 pciutils \
42 procps \
43 quota \
44 quotatool \
45 rsync \
46 screen \
47 sudo \
48 sysprofile \
49 vim-nox \
50 wget \
51 zsh \
52 ) \
53 $local_lsb_name /mnt/$local_fqdn/ \
54 http://ftp.fr.debian.org/debian/
55 "$tool"/host/part-var-umount
56 "$tool"/host/part-boot-umount
57 "$tool"/host/part-root-umount