[OE-core] Removing support for udev cdrom

Bottazzini, Bruno bruno.bottazzini at intel.com
Wed Jan 21 19:36:28 UTC 2015


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



More information about the Openembedded-core mailing list