]>
Commit | Line | Data |
---|---|---|
358ea1df JS |
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 | ||
358ea1df JS |
12 | # |
13 | # Image | |
14 | # | |
15 | ||
16 | IMAGE_BASE_FILE="$(mktemp -u ${WORKING_DIR}/image_base_file.XXXXXXX.img)" | |
17 | IMAGE_SIZE="7500" | |
18 | IMAGE_MOUNT_DIR="$(mktemp -d ${WORKING_DIR}/image.XXXXXXX)" | |
19 | ||
20 | IMAGE_TYPES_PUBLISH="qcow2 vmdk vdi img" | |
21 | IMAGE_DIR_PUBLISH="/home/jschlag/public/ipfire3-images" | |
22 | ||
23 | # The used filesystem. | |
24 | FILESYSTEM="xfs" | |
25 | ||
26 | # Additional packages which should be installed. | |
27 | PACKAGES="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.) | |
31 | USE_GIT_NETWORK_STACK="True" | |
32 | ||
33 | # List of packages which are required to build the network stack. | |
34 | NETWORK_BUILD_DEPS="asciidoc autoconf automake docbook-xsl libnl3-devel libxslt systemd-devel" | |
35 | ||
36 | # Install development tools. | |
37 | INSTALL_DEV_PACKAGES="True" | |
38 | ||
39 | # List of development tools which should be installed. | |
40 | DEVELOPMENT_PACKAGES="make gcc libtool git" | |
41 | ||
42 | ||
43 | # Git repositories which also should be checked, out. | |
44 | GIT_REPOS="" | |
45 | ||
46 | # | |
47 | # Stuff for the local repo | |
48 | # | |
49 | ||
50 | # Use local repository. | |
51 | USE_LOCAL_REPO="True" | |
52 | ||
53 | # Source path for the local repo packages. | |
54 | LOCAL_REPO_SOURCE_PATH="/var/lib/pakfire/local/" | |
55 | ||
56 | # Path were the local repo is created | |
57 | LOCAL_REPO_DIR="$(mktemp -d ${WORKING_DIR}/ipfire-repo.XXXXXXX)" | |
58 | ||
59 | # Config file for the local repo | |
60 | LOCAL_REPO_FILE="/etc/pakfire/repos/local.repo" |