]> git.ipfire.org Git - people/jschlag/ipfire-3.x-image.git/blob - settings.sh
Merge functions and settings in seperate files
[people/jschlag/ipfire-3.x-image.git] / settings.sh
1 #!/bin/bash
2
3 #
4 # General settings
5 #
6
7 ARCH="x86_64"
8 DISTRO="ipfire3"
9 VERSION="$(date +"%Y%m%d")"
10 WORKING_DIR=$(mktemp -d /var/tmp/ipfire3_image.XXXXXXXX)
11
12 log DEBUG "Working dir is ${WORKING_DIR}"
13
14 #
15 # Image
16 #
17
18 IMAGE_BASE_FILE="$(mktemp -u ${WORKING_DIR}/image_base_file.XXXXXXX.img)"
19 IMAGE_SIZE="7500"
20 IMAGE_MOUNT_DIR="$(mktemp -d ${WORKING_DIR}/image.XXXXXXX)"
21
22 IMAGE_TYPES_PUBLISH="qcow2 vmdk vdi img"
23 IMAGE_DIR_PUBLISH="/home/jschlag/public/ipfire3-images"
24
25 # The used filesystem.
26 FILESYSTEM="xfs"
27
28 # Additional packages which should be installed.
29 PACKAGES="xfsprogs kernel openssh-server wget htop tmux"
30
31 # Use git network stack. ( When using the git network stack,
32 # development tools and git automatically will be installed.)
33 USE_GIT_NETWORK_STACK="True"
34
35 # List of packages which are required to build the network stack.
36 NETWORK_BUILD_DEPS="asciidoc autoconf automake docbook-xsl libnl3-devel libxslt systemd-devel"
37
38 # Install development tools.
39 INSTALL_DEV_PACKAGES="True"
40
41 # List of development tools which should be installed.
42 DEVELOPMENT_PACKAGES="make gcc libtool git"
43
44
45 # Git repositories which also should be checked, out.
46 GIT_REPOS=""
47
48 #
49 # Stuff for the local repo
50 #
51
52 # Use local repository.
53 USE_LOCAL_REPO="True"
54
55 # Source path for the local repo packages.
56 LOCAL_REPO_SOURCE_PATH="/var/lib/pakfire/local/"
57
58 # Path were the local repo is created
59 LOCAL_REPO_DIR="$(mktemp -d ${WORKING_DIR}/ipfire-repo.XXXXXXX)"
60
61 # Config file for the local repo
62 LOCAL_REPO_FILE="/etc/pakfire/repos/local.repo"