# # 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 cpt musl gcc make gzip xz zlib bzip2 binutils byacc curl \ linux-headers m4 flex busybox pkgconf rsync libressl git" # 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. You can # manually override this march configuration here by removing the case. march=$(uname -m) case "$march" in x86_64) march=x86-64 ;; i*86) march=i686 ;; esac CFLAGS="-march=$march -mtune=generic -pipe -Os" CXXFLAGS="-march=$march -mtune=generic -pipe -Os" MAKEFLAGS="-j$(nproc)" # Repository # This repository will be cloned to /tmp/repo on the host. It is optional. REPO="rsync://carbslinux.org/repo" # Host repo path is the repository to use when building packages. HOST_REPO_PATH="/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 cpt-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