Skip to contentSkip to conversation

Removing support for udev cdrom

DISCUSSION Bottazzini, Bruno 1 participant 1 message Jan 21, 2015

lore
Share & tools
lore
#0 lore raw

Hello there,

I'd like to remove "udev-rules-cdrom" support in our recipe.

For some reasons this package is not needed at all.

When I include the following in our recipe:
PACKAGE_EXCLUDE = "udev-rules-cdrom"

I receive the following error:
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for packagegroup-core-boot:
* udev-rules-cdrom *
* opkg_install_cmd: Cannot install package packagegroup-core-boot

So, I went to the packagegroup-core-boot.bb and I saw this dependencies:

RDEPENDS_${PN} = "\
    base-files \
    base-passwd \
    busybox \
    ${@bb.utils.contains("DISTRO_FEATURES", "sysvinit",
"${SYSVINIT_SCRIPTS}", "", d)} \
    ${@bb.utils.contains("MACHINE_FEATURES", "keyboard",
"${VIRTUAL-RUNTIME_keymaps}", "", d)} \
    netbase \
    ${VIRTUAL-RUNTIME_login_manager} \
    ${VIRTUAL-RUNTIME_init_manager} \
    ${VIRTUAL-RUNTIME_dev_manager} \
    ${VIRTUAL-RUNTIME_update-alternatives} \
    ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"

As you can see there is no udev-rules-cdrom, at least not explicitly.

Is there any way that I could remove this cdrom support from udev ?

Best Regards,

Bruno Bottazzini