summaryrefslogtreecommitdiffstats
path: root/conf/template.atom-c3000/local.conf.sample
diff options
context:
space:
mode:
Diffstat (limited to 'conf/template.atom-c3000/local.conf.sample')
-rw-r--r--conf/template.atom-c3000/local.conf.sample36
1 files changed, 27 insertions, 9 deletions
diff --git a/conf/template.atom-c3000/local.conf.sample b/conf/template.atom-c3000/local.conf.sample
index 8c24e77..54d065c 100644
--- a/conf/template.atom-c3000/local.conf.sample
+++ b/conf/template.atom-c3000/local.conf.sample
@@ -152,6 +152,7 @@ EXTRA_IMAGE_FEATURES = "debug-tweaks"
152# - 'image-swab' to perform host system intrusion detection 152# - 'image-swab' to perform host system intrusion detection
153# NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink 153# NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink
154# NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended 154# NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended
155# NOTE: image-prelink is removed by sota.conf.inc
155USER_CLASSES ?= "buildstats image-mklibs image-prelink" 156USER_CLASSES ?= "buildstats image-mklibs image-prelink"
156 157
157# 158#
@@ -238,12 +239,29 @@ CONF_VERSION = "1"
238 239
239SKIP_META_VIRT_SANITY_CHECK = "1" 240SKIP_META_VIRT_SANITY_CHECK = "1"
240 241
241# 242# Various packages dynamically add users and groups to the system at package
242# OSTree integration 243# install time. For programs that do not care what the uid/gid is of the
243# 244# resulting users/groups, the order of the install will determine the final
244 245# uid/gid. This can lead to non-deterministic uid/gid values from one build
245SOTA_MACHINE ?= "${MACHINE}" 246# to another. Use the following settings to specify that all user/group adds
246 247# should be created based on a static passwd/group file.
247DISTRO_FEATURES_append = " sota" 248#
248DISTRO_FEATURES_NATIVE_append = " sota" 249# Note, if you enable or disable the useradd-staticids in a configured system,
249INHERIT += " sota" 250# the TMPDIR may contain incorrect uid/gid values. Clearing the TMPDIR
251# will correct this condition.
252#
253# By default the system looks in the BBPATH for files/passwd and files/group
254# the default can be overriden by spefying USERADD_UID/GID_TABLES.
255#
256USERADDEXTENSION = "useradd-staticids"
257USERADD_UID_TABLES = "files/passwd"
258USERADD_GID_TABLES = "files/group"
259ROOTFS_POSTPROCESS_COMMAND_remove = "systemd_create_users;"
260#
261# In order to prevent generating a system where a dynamicly assigned uid/gid
262# can exist, you should enable the following setting. This will force the
263# system to error out if the user/group name is not defined in the
264# files/passwd or files/group (or specified replacements.)
265# Unfortunately, setting the variable below breaks the build, so do not set it
266# for now
267# USERADD_ERROR_DYNAMIC = "1"