From dbc81636773934763b1c7931148ec966a07592ba Mon Sep 17 00:00:00 2001 From: Liu Yiding Date: Wed, 25 Feb 2026 11:36:09 +0800 Subject: [PATCH] tigervnc: Fix do_rootfs Error 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 Signed-off-by: Khem Raj --- 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} = "vncserver@.service" +#If user want to enable service of vncserver, vncserver@:.service is needed and further steps are listed in unit file itself. +SYSTEMD_SERVICE:${PN} ?= "vncserver@.service" +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)"