]> code.ossystems Code Review - openembedded-core.git/commit
wic: Honor APPEND
authorKevin Hao <kexin.hao@windriver.com>
Thu, 13 Feb 2020 02:31:41 +0000 (10:31 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 15 Feb 2020 22:41:45 +0000 (22:41 +0000)
commit18981b8a457104391dfd94938c247eac04e4ed50
treebc34885f3180af4f5949e8e25fd8128f636671ee
parent7c8b3a1b920fd4cc1598357985eef0e5e0e0ac79
wic: Honor APPEND

APPEND is used to add additional parameters to kernel by features, such
as read-only-rootfs. So we should honor this variable when we compose
the kernel parameter in wic. I know we also can resolve this kind of
issue by using the .wks.in template introduced by commit 42e870c5ed4b
("image_types.bbclass: support template .wks.in files for wic"), but the
APPEND is needed by all the wks, it would seems pretty ridiculous to me
to change all the .wks to .wks.in and then foist the APPEND into them.
So the APPEND is definitely deserved to export to the wic directly.

[Yocto #12809]

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types_wic.bbclass
scripts/lib/wic/ksparser.py