-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.cfg
38 lines (30 loc) · 1.02 KB
/
build.cfg
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
KISS_VERSION=2020.9-2
KERNEL_VERSION=linux-5.9.3
CHROOT_DIR=./root
TARGET_DIR=./target
KERNEL_DIR=./build/
# use chroot cmd from within the extracted FS
CHROOT_CMD=./root/bin/kiss-chroot
NBD_DEV=/dev/nbd0
# qcow image name and size
QCOW_FILE="kiss.qcow2"
QCOW_FILE_COMPRESSED="kiss-${KISS_VERSION}.qcow2"
QCOW_SIZE="30G"
# rest of the disk will be used for rootfs
SWAPFS_SIZE="4G"
VAGRANT_IMAGE="kiss-libvirt-${KISS_VERSION}.box"
VAGRANT_FILE="Vagrantfile"
VAGRANT_METADATA="metadata.json"
VAGRANT_SETUP_SCRIPT="vagrant-setup.sh"
# username and password
USER="kiss"
PASSWORD="kiss"
# packages to be installed in target chroot
BASE_PACKAGES="e2fsprogs eudev dhcpcd"
PACKAGES="grub baseinit openssh sudo"
# services to be enabled during bootup
SERVICES="dhcpcd sshd"
# KISS and kernel packages
KISS_ROOT=https://github.com/kisslinux/repo/releases/download/${KISS_VERSION}/kiss-chroot-${KISS_VERSION}.tar.xz
KERNEL_PACKAGE=https://cdn.kernel.org/pub/linux/kernel/v5.x/${KERNEL_VERSION}.tar.xz
BASE_REPO=https://github.com/kisslinux/repo