Hi Gyorgy

    I  use following setting to reproduce this error.
INIT_MANAGER:forcevariable = "systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
IMAGE_INSTALL:append = " tigervnc"


________________________________
发件人: Gyorgy Sarvari <[email protected]>
发送时间: 2026年2月16日 04:03
收件人: Liu, Yiding/刘 乙丁 <[email protected]>; 
[email protected] 
<[email protected]>
主题: Re: [oe][meta-oe][PATCH] tigervnc: Fix do_rootfs Error

On 2/14/26 02:35, Yiding Liu (Fujitsu) via lists.openembedded.org wrote:
> 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} ().

How could I reproduce this?
I added tigervnc to IMAGE_INSTALL, and built it once with systemd as
INIT_MANAGER and once with sysvinit (also added systemd/sysvinit to
DISTRO_FEATURES), but the build succeeded in both cases.
Am I missing some config step?

> Signed-off-by: Liu Yiding <[email protected]>
> ---
>  meta-oe/recipes-graphics/tigervnc/tigervnc_1.16.0.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> 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..12854632d5 100644
> --- a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.16.0.bb
> +++ b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.16.0.bb
> @@ -95,6 +95,7 @@ FILES:${PN} += " \
>  "
>
>  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)"
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#124573): 
https://lists.openembedded.org/g/openembedded-devel/message/124573
Mute This Topic: https://lists.openembedded.org/mt/117972934/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to