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