{{Header}} [[{{non_q_project_name_short}}|{{non_q_project_name}}]]:
{{project_name_long}} APT Repository is disabled by default Since {{project_name_long}} 7.3.3 for builds from source code for reasons of [[Trust]]. Users can decide to update {{project_name_long}} Debian packages by building them from source code (greater security). Alternatively, {{project_name_long}} 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_long}} 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_long}} APT Repository? The easy way to add {{project_name_long}} 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_long}} 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 [...] }}
{{Footer}}