Build Configuration

From Kicksecure
Revision as of 13:06, 28 August 2023 by Patrick (talk | contribs)
Jump to navigation Jump to search

Template:Non q project name Build Configuration. APT Repository, Onion Sources, APT Cache, VM Settings, Skip Steps, Source Code Changes

Note: All of the following build configuration steps are optional.

Introduction

Usually the build configuration does not need to be changed. Kicksecure built from source code comes with safe defaults. Whonix's APT Repository will not be used.

The most interesting build configurations (Terminal-Only, NoDefaultApps etc.) are documented in the following chapters.

If you are interested, click on Expand on the right.


Platforms Choice

Advanced users can create 32-bit instead of 64-bit builds.

If you are interested, click on Expand on the right.


Kicksecure APT Repository Template:Build Documentation Project APT Repository


APT Onion Build Sources Template:Build Documentation APT Onion Build Sources


Torified or Host APT Cache Template:Build Documentation apt-cache


VM Settings

Such as image size, RAM, filesystem, hostname and password.


If building VMs, settings such as image size, RAM, filesystem, hostname and password can be customized.

If you are interested, press on expand on the right side.


Build Variables Changes

It is possible to add build configuration files snippets which can change build variables.


Skip Steps

Developers users can speed up the build and skip sanity tests.

If you are interested, click on Expand on the right.


Source Code Changes

This is only required if changes were made to the derivative-maker source folder! In that case click on Expand on the right.

This is not required if only a customized build configuration was added to the /etc/buildconfig-dist.d.d folder.



Footnotes

  1. State of official 64-bit buildsarchive.org iconarchive.today icon.
  2. Don't get confused by the term amd64. It runs on both, Intel and AMD. amd64 is only how Debian names the kernel. It works equally well on Intel and AMD.
  3. kFreeBSD (32-bit).
    --arch kfreebsd-i386 --kernel kfreebsd-image --headers kfreebsd-headers
    

    kFreeBSD (64-bit).

    --arch kfreebsd-amd64 --kernel kfreebsd-image --headers kfreebsd-headers
    
  4. https://github.com/grml/grml-debootstrap/pull/13archive.org iconarchive.today icon
  5. In this case, try installing the packages linux-image-amd64 and linux-headers-amd64 on your host, then boot the amd64 kernel by choosing it in the boot menu. The whole system does not require re-installation; just be sure to boot with an amd64 kernel. Alternatively, consider to re-install your host using amd64.
  6. The dist-base-filesarchive.org iconarchive.today icon package will change this later on.
  7. Since you would have to either:
    • A) git commit your build config files, OR,
    • B) See chapter source code changes below.
  8. This is because .. means "one level below this folder".