File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
meta-dstack/recipes-core/systemd Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 1+ # Disable autofs4 module loading
2+ blacklist autofs4
3+ install autofs4 /bin/true
Original file line number Diff line number Diff line change 1+ FILESEXTRAPATHS :prepend := "${THISDIR} /${PN} :"
2+
3+ SRC_URI += "file://blacklist-autofs4.conf"
4+
5+ do_install :append () {
6+ # Disable systemd-vconsole-setup.service
7+ rm -f ${D}${systemd_system_unitdir} /sysinit . target . wants /systemd -vconsole -setup . service
8+
9+ # Install modprobe blacklist for autofs4
10+ install -d ${D}${sysconfdir} /modprobe . d
11+ install -m 0644 ${WORKDIR} /blacklist -autofs4 . conf ${D}${sysconfdir} /modprobe . d /
12+ }
13+
14+ SYSTEMD_SERVICE :${PN} -vconsole -setup = ""
15+
16+ FILES :${PN} += "${sysconfdir} /modprobe.d/blacklist-autofs4.conf"
You can’t perform that action at this time.
0 commit comments