Skip to content

Re-align RDEPENDS / RRECOMMENDS for NO_RECOMMENDATIONS = "1" #2254

Description

@maximdeclercq

Some essential dependencies are listed as RRECOMMENDS in conf/machine/include/tegra-common.inc:

MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS = "kernel-module-ina3221 kernel-module-lm90 kernel-module-tegra-bpmp-thermal kernel-module-spi-tegra114 kernel-module-pwm-fan \
                                       kernel-module-ucsi-ccg kernel-module-pcie-tegra194 kernel-module-phy-tegra194-p2u \
                                       kernel-module-nvme kernel-module-pwm-tegra kernel-module-tegra-xudc"

For some distros I set NO_RECOMMENDATIONS = "1", which drops all of them, and the board then no longer flashes or boots:

  • Essential for flash: kernel-module-tegra-xudc
  • Essential for boot: kernel-module-nvme, kernel-module-pcie-tegra194, kernel-module-phy-tegra194-p2u

Moving them to MACHINE_ESSENTIAL_EXTRA_RDEPENDS might not be the right fix either, since the build could fail on kernels where these are =y instead of =m. So perhaps a better mechanism is needed to keep NO_RECOMMENDATIONS = "1" both buildable and runnable.

The flash scripts look like they might suffer from the same issue. tegra-target-flash-scripts lists essential modules under RRECOMMENDS, so the flash scripts might have issues under NO_RECOMMENDATIONS too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions