When vim-tiny was used in image, it lacks defaults.vim file which will cause following error root@qemux86-64:~# vi E1187: Failed to source defaults.vim Press ENTER or type command to continue
So add vim-common as RDEPENDS to provide defaults.vim file to fix this issue. Signed-off-by: Zheng Ruoqin <[email protected]> --- meta/recipes-support/vim/vim-tiny_9.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-support/vim/vim-tiny_9.2.bb b/meta/recipes-support/vim/vim-tiny_9.2.bb index e4c26d23f6..b6ddded381 100644 --- a/meta/recipes-support/vim/vim-tiny_9.2.bb +++ b/meta/recipes-support/vim/vim-tiny_9.2.bb @@ -8,5 +8,7 @@ do_install() { install -D -m 0755 ${S}/src/vim ${D}/${bindir}/vim.tiny } +RDEPENDS:${PN} += "vim-common" + ALTERNATIVE_PRIORITY = "90" ALTERNATIVE_TARGET = "${bindir}/vim.tiny" -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#237679): https://lists.openembedded.org/g/openembedded-core/message/237679 Mute This Topic: https://lists.openembedded.org/mt/119524274/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
