aboutsummaryrefslogtreecommitdiff
path: root/config.i686
blob: d8ca4d45f0186f0a45b40023951dd4d6e84d973f (plain)
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
#
# Configuration file for Carbs bootstrapper
#

# Root directory
# This is where the rootfs will be installed.
MNTDIR="$PWD/rootfs"

# List of packages to be installed
# Most of those are already dependencies 
# of each other but it is not a bad idea
# to put them to the list anyway.
PKGS="baselayout kiss musl gcc make gzip xz zlib bzip2 binutils bison curl rsync linux-headers m4 flex busybox pkgconf rsync libressl"

# Build flags
# It is a good idea to not use flags like "native"
# If you plan on using the tarball on another computer
# due to architechtural differences.
CFLAGS="-march=i686   -mtune=generic -pipe -Os"
CXXFLAGS="-march=i686 -mtune=generic -pipe -Os"
MAKEFLAGS="-j$(nproc)"

# Repository
# This repository will be cloned to /tmp/repo on the
# host, and /var/db/kiss/repo on the target system.
REPO="rsync://carbslinux.org/repo"
HOST_REPO_PATH="/tmp/repo/i686:/tmp/repo/core"

export MNTDIR PKGS CFLAGS CXXFLAGS REPO HOST_REPO_PATH MAKEFLAGS

postinstall() {
	# You can preferably add some custom
	# commands if you want a postinstall
	# procedure. This runs right after kiss
	# install is complete

	# Currently default function is 'true'
	# because there is nothing else to be done,
	# but you can safely remove it if you will
	# be adding some post-installation commands
	true
}

# vim:filetype=sh