Fix the following error:
ERROR: core-image-minimal-1.0-r0 do_rootfs: Postinstall scriptlets of
['tigervnc'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget:${PN} ().
Signed-off-by: Liu Yiding <[email protected]>
---
meta-oe/recipes-graphics/tigervnc/tigervnc_1.16.0.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.16.0.bb
b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.16.0.bb
index a5413a9108..6e8e80f283 100644
--- a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.16.0.bb
+++ b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.16.0.bb
@@ -94,7 +94,9 @@ FILES:${PN} += " \
${datadir}/metainfo \
"
-SYSTEMD_SERVICE:${PN} = "[email protected]"
+#If user want to enable service of vncserver, vncserver@:<display>.service is
needed and further steps are listed in unit file itself.
+SYSTEMD_SERVICE:${PN} ?= "[email protected]"
+SYSTEMD_AUTO_ENABLE:${PN} = "disable"
CVE_STATUS[CVE-2014-8241] = "fixed-version: The vulnerable code is not present
in the used version (1.15.0)"
CVE_STATUS[CVE-2023-6377] = "fixed-version: The vulnerable code is not present
in the used xserver version (21.1.18)"
--
2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#124604):
https://lists.openembedded.org/g/openembedded-devel/message/124604
Mute This Topic: https://lists.openembedded.org/mt/117989471/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-