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