I don't think this is the right way to resolve the problem. You should be installing one or the other, but not both.
Alex On Wed, 28 Aug 2024 at 10:27, wangmy via lists.openembedded.org <[email protected]> wrote: > > From: Wang Mingyu <[email protected]> > > Error: Transaction test error: > file /usr/bin/lastlog2 conflicts between attempted installs of > lastlog2-1.2.0-r0.core2_64 and util-linux-lastlog2-2.40.1-r0.core2_64 > file /usr/lib/security/pam_lastlog2.so conflicts between attempted installs > of lastlog2-1.2.0-r0.core2_64 and util-linux-lastlog2-2.40.1-r0.core2_64 > > lastlog2 also uses the doc '/usr/bin/lastlog2' and > '/usr/lib/security/pam_lastlog2.so'. > lastlog2 has a priority of 100. > > Signed-off-by: Wang Mingyu <[email protected]> > --- > meta/recipes-core/util-linux/util-linux_2.40.2.bb | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/meta/recipes-core/util-linux/util-linux_2.40.2.bb > b/meta/recipes-core/util-linux/util-linux_2.40.2.bb > index a8e346539a..e21a16ab84 100644 > --- a/meta/recipes-core/util-linux/util-linux_2.40.2.bb > +++ b/meta/recipes-core/util-linux/util-linux_2.40.2.bb > @@ -298,6 +298,10 @@ ALTERNATIVE_LINK_NAME[unshare] = "${bindir}/unshare" > ALTERNATIVE_LINK_NAME[utmpdump] = "${bindir}/utmpdump" > ALTERNATIVE_LINK_NAME[uuidgen] = "${bindir}/uuidgen" > ALTERNATIVE_LINK_NAME[wall] = "${bindir}/wall" > +ALTERNATIVE:${PN}-lastlog2 = "lastlog2 pam_lastlog2" > +ALTERNATIVE_LINK_NAME[lastlog2] = "${bindir}/lastlog2" > +ALTERNATIVE_TARGET[pam_lastlog2] = "${libdir}/security/pam_lastlog2.so" > +ALTERNATIVE_LINK_NAME[pam_lastlog2] = "${libdir}/security/pam_lastlog2.so" > > ALTERNATIVE:${PN}-doc = "\ > blkid.8 eject.1 findfs.8 fsck.8 kill.1 last.1 lastb.1 libblkid.3 logger.1 > mesg.1 \ > -- > 2.34.1 > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#203871): https://lists.openembedded.org/g/openembedded-core/message/203871 Mute This Topic: https://lists.openembedded.org/mt/108138530/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
