mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
busybox/packagegroups: Break out the busybox-syslog dependency
The busybox-syslog rrecomends is proving tricky as it gets pulled in early and there are conflicts between its use of update-alternatives and busybox needing to provide those things. We already have recipes using BAD_RRECOMMENDS to remove this dependency, it probably makes sense to spell it out explicitly and allow it to be overridden more easily. This patch does this, dropping the now unneeded BAD_RRECOMMENDS. It preserves the dependency as a recommendation for now, further cleanup may allow simplication of that. This unbreaks certain build failures on the autobuilder, more as a workaround but is a change we probably want to make anyway. (From OE-Core rev: 544ade2d78f1375d9e93d6bf5842d857ddaf3530) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
1aa224368f
commit
4b41d9072a
|
@ -25,6 +25,7 @@ VIRTUAL-RUNTIME_alsa-state ?= "alsa-state"
|
|||
VIRTUAL-RUNTIME_getopt ?= "util-linux-getopt"
|
||||
VIRTUAL-RUNTIME_base-utils ?= "busybox"
|
||||
VIRTUAL-RUNTIME_base-utils-hwclock ?= "busybox-hwclock"
|
||||
VIRTUAL-RUNTIME_base-utils-syslog ?= "busybox-syslog"
|
||||
|
||||
#
|
||||
# Default recipe providers
|
||||
|
|
|
@ -47,7 +47,7 @@ RCONFLICTS_${PN}-syslog = "rsyslog sysklogd syslog-ng"
|
|||
|
||||
CONFFILES_${PN}-mdev = "${sysconfdir}/mdev.conf"
|
||||
|
||||
RRECOMMENDS_${PN} = "${PN}-syslog ${PN}-udhcpc"
|
||||
RRECOMMENDS_${PN} = "${PN}-udhcpc"
|
||||
|
||||
RDEPENDS_${PN} = "${@["", "busybox-inittab"][(d.getVar('VIRTUAL-RUNTIME_init_manager') == 'busybox')]}"
|
||||
|
||||
|
|
|
@ -27,7 +27,5 @@ inherit core-image
|
|||
IMAGE_ROOTFS_SIZE = "8192"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE = "0"
|
||||
|
||||
BAD_RECOMMENDATIONS += "busybox-syslog"
|
||||
|
||||
# Use the same restriction as initramfs-live-install
|
||||
COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
|
||||
|
|
|
@ -23,8 +23,6 @@ inherit core-image
|
|||
IMAGE_ROOTFS_SIZE = "8192"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE = "0"
|
||||
|
||||
BAD_RECOMMENDATIONS += "busybox-syslog"
|
||||
|
||||
# Use the same restriction as initramfs-live-install
|
||||
COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ SUMMARY = "Modular initramfs system"
|
|||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
RDEPENDS_${PN} += "${VIRTUAL-RUNTIME_base-utils}"
|
||||
RRECOMMENDS_${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}"
|
||||
|
||||
PR = "r4"
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ SRC_URI = "file://init-install-efi.sh"
|
|||
PR = "r1"
|
||||
|
||||
RDEPENDS_${PN} = "parted e2fsprogs-mke2fs dosfstools util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}"
|
||||
RRECOMMENDS_${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ PR = "r9"
|
|||
S = "${WORKDIR}"
|
||||
|
||||
RDEPENDS_${PN} = "grub parted e2fsprogs-mke2fs util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}"
|
||||
RRECOMMENDS_${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}"
|
||||
|
||||
do_install() {
|
||||
install -m 0755 ${WORKDIR}/init-install.sh ${D}/install.sh
|
||||
|
|
|
@ -2,6 +2,7 @@ SUMMARY = "initramfs-framework module for EFI installation option"
|
|||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
RDEPENDS_${PN} = "initramfs-framework-base parted e2fsprogs-mke2fs dosfstools util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}"
|
||||
RRECOMMENDS_${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}"
|
||||
|
||||
PR = "r4"
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ SUMMARY = "initramfs-framework module for installation option"
|
|||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
RDEPENDS_${PN} = "initramfs-framework-base grub parted e2fsprogs-mke2fs util-linux-blkid ${VIRTUAL-RUNTIME_base-utils}"
|
||||
RRECOMMENDS_${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}"
|
||||
|
||||
# The same restriction as grub
|
||||
COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
|
||||
|
|
|
@ -46,4 +46,5 @@ RDEPENDS_${PN} = "\
|
|||
${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
|
||||
|
||||
RRECOMMENDS_${PN} = "\
|
||||
${VIRTUAL-RUNTIME_base-utils-syslog} \
|
||||
${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user