summaryrefslogtreecommitdiff
path: root/sid-kvm-debian/configure
blob: 13a51de9ad6fb3844b8a4caad3343d79e7b218f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/sh

# (C) 2012-2013 Fathi Boudra <fathi.boudra@linaro.org>

# Create configuration for live-build.

# You need live-build package installed.

set -e

echo "I: create configuration"
export LB_BOOTSTRAP_INCLUDE="apt-transport-https gnupg"
lb config \
 --apt-indices false \
 --apt-recommends false \
 --apt-secure false \
 --architectures amd64 \
 --archive-areas 'main contrib non-free' \
 --binary-filesystem ext4 \
 --binary-images tar \
 --bootloader grub \
 --bootappend-live "quiet hostname=linaro-sid username=linaro" \
 --cache false \
 --chroot-filesystem none \
 --compression gzip \
 --debootstrap-options "--variant=minbase" \
 --distribution sid \
 --firmware-chroot false \
 --gzip-options '-9 --rsyncable' \
 --iso-publisher 'Linaro; http://www.linaro.org/; linaro-dev@lists.linaro.org' \
 --iso-volume 'Linaro Debian $(date +%Y%m%d-%H:%M)' \
 --memtest none \
 --mode debian \
 --security false \
 --system normal \
 --updates false

echo "I: copy customization"
cp -rf customization/* config/

echo "I: done"