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