We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58240f3 commit 492d17fCopy full SHA for 492d17f
2 files changed
meta-dstack/recipes-core/systemd/systemd/blacklist-autofs4.conf
@@ -0,0 +1,3 @@
1
+# Disable autofs4 module loading
2
+blacklist autofs4
3
+install autofs4 /bin/true
meta-dstack/recipes-core/systemd/systemd_%.bbappend
@@ -0,0 +1,16 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+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"
0 commit comments