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 <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Liu Yiding 2026-02-25 11:36:09 +08:00 committed by Khem Raj
parent 1dd10406bd
commit dbc8163677
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -94,7 +94,9 @@ FILES:${PN} += " \
${datadir}/metainfo \
"
SYSTEMD_SERVICE:${PN} = "vncserver@.service"
#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} ?= "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)"