Skip to content

Commit faa0ee1

Browse files
committed
pm-service: Don't load lp5562
module probeconf in the kernel does not generate or install the blacklist file, but we can re-use this package to blacklist the module so that it can be modprobed from the container when needed. Signed-off-by: Alexandru Costache <[email protected]>
1 parent 31765ec commit faa0ee1

File tree

1 file changed

+4
-0
lines changed
  • layers/meta-balena-imx8m-var-dart/recipes-bsp/pm-services

1 file changed

+4
-0
lines changed

layers/meta-balena-imx8m-var-dart/recipes-bsp/pm-services/pm-services.bb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ do_install () {
1616
install -d ${D}/${systemd_unitdir}/system
1717
install -m 644 ${WORKDIR}/imx-suspend.service ${D}/${systemd_unitdir}/system/imx-suspend.service
1818
install -m 644 ${WORKDIR}/imx-resume.service ${D}/${systemd_unitdir}/system/imx-resume.service
19+
install -d ${D}/etc/modprobe.d/
20+
echo "blacklist lp5562-leds" > ${D}/etc/modprobe.d/blacklist.conf
1921
}
2022

2123
SYSTEMD_SERVICE_${PN} = "imx-suspend.service imx-resume.service"
24+
25+
FILES_${PN} += " /etc/modprobe.d/blacklist.conf"

0 commit comments

Comments
 (0)