~xubuntu-dev/ubuntu-cdimage/xubuntu-base

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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#! /bin/sh

# Settings for building Ubuntu CD images.  The build procedure also involves
# syncing a local Ubuntu mirror; see etc/anonftpsync (or
# production/anonftpsync if it exists) for settings affecting what is
# mirrored and where.

# This will eventually become a more declarative configuration file.  In the
# meantime, do not add new variable settings to this file unless you also
# update lib/cdimage/config.py, or unless their names start with "CDIMAGE_"
# and they are exported to the environment.

export LC_ALL=C

PROJECT="${PROJECT:-ubuntu}"
CAPPROJECT="${CAPPROJECT:-Ubuntu}"
IMAGE_FORMAT=${IMAGE_FORMAT:-iso}
case $PROJECT in
	ubuntu-mid)
		IMAGE_FORMAT=${IMAGE_FORMAT:-vfat}
		;;
esac
export IMAGE_FORMAT
DIST="${DIST:-xenial}"

case $DIST in
	trusty)
		export PROPOSED=1
		;;
esac

# If you want to build image for one or more architectures comment out the
# following line
#ARCHES=i386

# All projects currently being built.  This is used for building source
# images.  Note that we only need to include projects with their own seed
# collections, so not ubuntu-server.

case $DIST in
    precise)
        ALL_PROJECTS="${ALL_PROJECTS:-ubuntu kubuntu edubuntu xubuntu ubuntustudio mythbuntu lubuntu}"
        ;;
    trusty)
        ALL_PROJECTS="${ALL_PROJECTS:-ubuntu kubuntu edubuntu xubuntu ubuntustudio mythbuntu lubuntu ubuntu-gnome ubuntukylin}"
        ;;
    *)
        ALL_PROJECTS="${ALL_PROJECTS:-ubuntu kubuntu edubuntu xubuntu xubuntu-base ubuntustudio mythbuntu lubuntu ubuntu-gnome ubuntukylin ubuntu-mate ubuntu-desktop-next}"
        ;;
esac

GNUPG_DIR="$CDIMAGE_ROOT/secret/dot-gnupg"
SIGNING_KEYID='FBB75451 EFE21092'

#export LOCAL_SEEDS=file:///path/to/local_seeds

# Do not update the local mirror
#export CDIMAGE_NOSYNC=1 

# Do not create source iso
if [ -z "$CDIMAGE_ONLYSOURCE" ]; then
	export CDIMAGE_NOSOURCE=1
fi

# Hosts that need to be notified when the build is done.  Third-party users
# will want to keep this variable empty.
# The "async" mirrors will be notified asynchronously, i.e. we won't wait for
# them to respond.
# If these are unset, the contents of
# $CDIMAGE_ROOT/production/trigger-mirrors will be used if present.
TRIGGER_MIRRORS=
TRIGGER_MIRRORS_ASYNC=

export TRIGGER_MIRRORS
export TRIGGER_MIRRORS_ASYNC

umask 002