mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-10-23 08:48:24 +00:00
samba, libldb: add package conflicts
samba package also installs LDB command line tools and python LDB module. libldb package installs the same tools and pyldb module from standalone LDB source. pkgdata shows the conflict clearly: samba: /usr/bin/ldbadd libldb: /usr/bin/ldbadd samba-python3: site-packages/ldb.so pyldb: site-packages/ldb.so So when both samba and libldb are added in same image, rootfs can fail because package manager sees same files from two different packages. Both package sets are not expected to be installed together. Add RCONFLICTS for samba/libldb and samba-python3/pyldb. This makes the conflict explicit during dependency resolution instead of failing later as file install conflict. Older meta-networking had similar conflict handling for samba/libldb in commit: https://git.openembedded.org/meta-openembedded/commit/?id=8e641e28f630dac61a03373ad70c72a2370ad11e This change adds the same handling again with current python3 package names. Signed-off-by: Himanshu Jadon <hjadon@cisco.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
1 parent
e7aac7b931
commit
ee1c39e595
2 files changed
+5
No files matched your search
@@ -5,6 +5,8 @@ LICENSE = "GPL-3.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later"
|
||||
|
||||
DEPENDS += "libtdb libtalloc libtevent popt cmocka"
|
||||
RDEPENDS:pyldb += "python3"
|
||||
RCONFLICTS:${PN} = "samba"
|
||||
RCONFLICTS:pyldb = "samba-python3"
|
||||
|
||||
export PYTHONHASHSEED = "1"
|
||||
export PYTHONARCHDIR = "${PYTHON_SITEPACKAGES_DIR}"
|
||||
|
||||
Reference in new issue
Block a user