> Isn’t this what create_merged_usr_symlinks in image.bbclass does?  Why does
> a DNF plugin need to do this, and not anything else?
Because dnf-plugin-tui is used to created rootfs in any nativesdk environment.
It is not in a bitbake environment, so image.bbclass cannot be used.
  --
Best Regards
---------------------------------------------------
Wang Mingyu
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, 
Nanjing, 210012, China
TEL: +86+25-86630566-8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: [email protected]
http://www.fujitsu.com/cn/fnst/

> -----Original Message-----
> From: Ross Burton <[email protected]>
> Sent: Tuesday, October 17, 2023 5:51 PM
> To: Wang, Mingyu/王 鸣瑜 <[email protected]>
> Cc: [email protected]
> Subject: Re: [oe] [meta-oe] [PATCH v3] dnf-plugin-tui: create symlinks from 
> /usr/
> to /.
> 
> Isn’t this what create_merged_usr_symlinks in image.bbclass does?  Why does
> a DNF plugin need to do this, and not anything else?
> 
> Ross
> 
> > On 17 Oct 2023, at 08:23, wangmy via lists.openembedded.org
> <[email protected]> wrote:
> >
> > From Poky 4.3, by default, usrmerge has been enabled.
> > Some important binaries have been installed to /usr/sbin instead of
> > /sbin such as init. So it is necessary to create symlinks from /usr/
> > to /, such as /usr/sbin to /sbin, /usr/bin to /bin.
> >
> > Signed-off-by: Wang Mingyu <[email protected]>
> > ---
> > meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git
> > a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> > b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> > index 94023922a2..0709019056 100644
> > --- a/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> > +++ b/meta-oe/recipes-devtools/dnf-plugin-tui/dnf-plugin-tui_git.bb
> > @@ -4,7 +4,7 @@ LICENSE = "GPL-2.0-only"
> > LIC_FILES_CHKSUM =
> "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> >
> > SRC_URI =
> "git://github.com/ubinux/dnf-plugin-tui.git;branch=master;protocol=https"
> > -SRCREV = "83917a3935ac7ce1d8d96e914d96a6679319a336"
> > +SRCREV = "baac322a8a6d57e62c703f6ed523152baec18b4f"
> > PV = "1.3"
> >
> > SRC_URI:append:class-target = " file://oe-remote.repo.sample"
> > --
> > 2.34.1
> >
> >
> > 
> >

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

Reply via email to