summaryrefslogtreecommitdiffstats
path: root/meta/classes
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-19 11:11:58 +0000
commit48f3094c2496f1b79ad62504708dbf86218c03db (patch)
tree7be335a9c9cebffd7f813f972f9d0211d92189db /meta/classes
parentf4ccd33a7b0af597d1056659ef92b5a6e246e9d0 (diff)
downloadpoky-48f3094c2496f1b79ad62504708dbf86218c03db.tar.gz
rootfs-postcommands.bbclass: Make two comments use the new variable syntax
(From OE-Core rev: 5293916ac660c4cfd6304826fb10de1454a40bf5) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cb17cccaf2f51558bd1d320559bd792d5869688e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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; "