From bdffd49644e754a08592d0a9bdb36d429b5e5717 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Wed, 27 May 2020 14:26:16 +0300 Subject: mkrootfs: add i686 config --- config.i686 | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 config.i686 diff --git a/config.i686 b/config.i686 new file mode 100644 index 0000000..e92cf3b --- /dev/null +++ b/config.i686 @@ -0,0 +1,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 git 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="https://github.com/CarbsLinux/repository" +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 -- cgit v1.2.3