{{Header}} {{#seo: |description={{non_q_project_name_long}} Build Configuration. APT Repository, Onion Sources, APT Cache, VM Settings, Skip Steps, Source Code Changes |image=Buildconfiguration12354.png }} [[File:Buildconfiguration12354.png|thumb]] {{intro| {{non_q_project_name_short}} Build Configuration. APT Repository, Onion Sources, APT Cache, VM Settings, Skip Steps, Source Code Changes }} =Introduction= Usually the build configuration does not need to be changed. {{project_name_short}} built from source code comes with safe defaults. The Derivative APT Repository will not be used. The most interesting build configurations are documented in the following chapters. If build configurations were used earlier, it might be better to delete the build configuration folder. A few example filenames may have changed since the last build. {{CodeSelect|code= sudo rm -r /etc/buildconfig-dist.d }} /etc/buildconfig-dist.d is a [[Configuration_Files|modular flexible .d style configuration folder]]. Less popular build configurations are documented in the derivative-maker buildconfig.d folder and on the [[Dev/Source_Code_Intro#Build_Configuration]] page, but it is less user-friendly. To avoid typos, it is best to copy and paste text when creating build configuration files. Take care that editors do not capitalize variable names which are supposed to be lower case during copy and paste procedures. Note: All of the following build configuration steps are optional. =Platforms Choice= {{Build_Documentation_64bit}} {{Anchor|repository}} = Derivative APT Repository=
[[Non-Qubes-Whonix|{{non_q_project_name_short}}]]:
{{project_name_short}} APT Repository is disabled by default Since {{project_name_short}} 7.3.3 for builds from source code for reasons of [[Trust]]. Users can decide to update {{project_name_short}} Debian packages by building them from source code (greater security). Alternatively, {{project_name_short}} APT repository can be enabled right after building or after booting the build for the first time (greater convenience) using [[Project-APT-Repository|{{project_name_short}} repository tool]]. To use the latter method which sacrifices security for convenience, click on Expand on the right side.
Do you want to opt-in {{project_name_short}} APT Repository? The easy way to add {{project_name_short}} stable repository the following command line option can be used. {{CodeSelect|code= --repo true }} Other settings can be set using an environment variable or [[Dev/Source_Code_Intro#Build_Configuration|build configuration]]. Below are examples using an environment variable. {{CodeSelect|code= DERIVATIVE_APT_REPOSITORY_OPTS='--enable --repository stable' }} {{CodeSelect|code= DERIVATIVE_APT_REPOSITORY_OPTS='--enable --repository testers' }} {{CodeSelect|code= DERIVATIVE_APT_REPOSITORY_OPTS='--enable --repository developers' }} {{CodeSelect|code= DERIVATIVE_APT_REPOSITORY_OPTS='--enable --codename {{Stable_project_version_based_on_Debian_codename}}' }} Add an environment variable as one normally does on that specific Linux platform. For example, to enable the {{project_name_short}} stable repository during build, you could set DERIVATIVE_APT_REPOSITORY_OPTS by interjecting it between sudo and the ./derivative-maker command. Below is an example. Do not use [...]. Replace it with other chosen build parameters (such as --build, --target etc.) after ./derivative-maker. {{CodeSelect|code= sudo DERIVATIVE_APT_REPOSITORY_OPTS='--enable --repository stable' ./derivative-maker [...] }}
=APT Onion Build Sources= {{Build Documentation APT Onion Build Sources}} =Torified or Host APT Cache= {{Build_Documentation_apt-cache}} =VM Settings= {{Build_Documentation_VM_Settings}} = Build Variables Changes = {{Build_Documentation_Build_Configuration}} = Build Variables = build results binary folder (derivative-binary) | {{CodeSelect|inline=true|code= binary_build_folder_dist }} | default: $HOMEVAR/derivative-binary See [[#Build Variables Changes]] on how to set build variables. =Skip Steps= {{Build_Documentation_Skip_Steps}} =Source Code Changes= {{Build Documentation Source Code Changes}} = Footnotes = {{reflist|close=1}} [[Category:Documentation]] [[Category:Development]] {{Footer}}