containers: make trimmed runtimes conflict with standard ones
Mark the trimmed runtime variants as conflicting with the standard packages so images cannot include both Podman or LXC flavors at the same time. This avoids ambiguous runtime layouts and configuration ownership when a minimal container-manager image uses the trimmed packages while other images may select the standard runtimes. Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
parent
5b45c1e64c
commit
25dfe3d20a
|
|
@ -19,6 +19,8 @@ RDEPENDS:${PN}:remove = " \
|
|||
|
||||
PACKAGECONFIG:remove = "templates systemd selinux"
|
||||
|
||||
RCONFLICTS:${PN}:append = " lxc"
|
||||
|
||||
SYSTEMD_PACKAGES = ""
|
||||
SYSTEMD_SERVICE:${PN} = ""
|
||||
SYSTEMD_SERVICE:${PN}-networking = ""
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@ RDEPENDS:${PN}:remove = " \
|
|||
|
||||
PACKAGECONFIG:remove = "rootless docker"
|
||||
|
||||
RCONFLICTS:${PN}:append = " podman"
|
||||
|
||||
do_install:append() {
|
||||
rm -f ${D}${bindir}/docker
|
||||
rm -f ${D}${bindir}/docker-runc
|
||||
|
|
|
|||
Loading…
Reference in New Issue