summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs-postcommands.bbclass
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2022-01-10 14:55:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-11 15:48:11 +0000
commit97726d1b87ae3ae850663a91ecb277b0e14e2f1f (patch)
treec42fcf65e1abe13f439b3aeed6b012b91a05c9b7 /meta/classes/rootfs-postcommands.bbclass
parent06bedd759df2bd3800b04b807e257476b67dc9da (diff)
downloadpoky-97726d1b87ae3ae850663a91ecb277b0e14e2f1f.tar.gz
rootfs-postcommands.bbclass: Make two comments use the new variable syntax
(From OE-Core rev: cb17cccaf2f51558bd1d320559bd792d5869688e) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rootfs-postcommands.bbclass')
-rw-r--r--meta/classes/rootfs-postcommands.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/rootfs-postcommands.bbclass b/meta/classes/rootfs-postcommands.bbclass
index a3f96ef7ed..74035c30b7 100644
--- a/meta/classes/rootfs-postcommands.bbclass
+++ b/meta/classes/rootfs-postcommands.bbclass
@@ -21,7 +21,7 @@ ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains("IMAGE_FEATURES", "read-only
21# otherwise kernel or initramfs end up mounting the rootfs read/write 21# otherwise kernel or initramfs end up mounting the rootfs read/write
22# (the default) if supported by the underlying storage. 22# (the default) if supported by the underlying storage.
23# 23#
24# We do this with _append because the default value might get set later with ?= 24# We do this with :append because the default value might get set later with ?=
25# and we don't want to disable such a default that by setting a value here. 25# and we don't want to disable such a default that by setting a value here.
26APPEND:append = '${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", " ro", "", d)}' 26APPEND:append = '${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", " ro", "", d)}'
27 27
@@ -52,7 +52,7 @@ inherit image-artifact-names
52# the numeric IDs of dynamically created entries remain stable. 52# the numeric IDs of dynamically created entries remain stable.
53# 53#
54# We want this to run as late as possible, in particular after 54# We want this to run as late as possible, in particular after
55# systemd_sysusers_create and set_user_group. Using _append is not 55# systemd_sysusers_create and set_user_group. Using :append is not
56# enough for that, set_user_group is added that way and would end 56# enough for that, set_user_group is added that way and would end
57# up running after us. 57# up running after us.
58SORT_PASSWD_POSTPROCESS_COMMAND ??= " sort_passwd; " 58SORT_PASSWD_POSTPROCESS_COMMAND ??= " sort_passwd; "