mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
nfs-utils: don't try to load kernel module
This conflicts with KERNEL_MODULE_AUTOLOAD += "nfsd". (From OE-Core rev: 759b7536756ac6fb6ad431ab8e48a03283f9ec29) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3bbaabfaeb
commit
a6ae43003a
@@ -125,8 +125,6 @@ do_install_append () {
|
|||||||
-e 's,@SYSCONFDIR@,${sysconfdir},g' \
|
-e 's,@SYSCONFDIR@,${sysconfdir},g' \
|
||||||
${D}${systemd_unitdir}/system/*.service
|
${D}${systemd_unitdir}/system/*.service
|
||||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
||||||
install -d ${D}${sysconfdir}/modules-load.d
|
|
||||||
echo "nfsd" > ${D}${sysconfdir}/modules-load.d/nfsd.conf
|
|
||||||
install -m 0644 ${WORKDIR}/proc-fs-nfsd.mount ${D}${systemd_unitdir}/system/
|
install -m 0644 ${WORKDIR}/proc-fs-nfsd.mount ${D}${systemd_unitdir}/system/
|
||||||
install -d ${D}${systemd_unitdir}/system/sysinit.target.wants/
|
install -d ${D}${systemd_unitdir}/system/sysinit.target.wants/
|
||||||
ln -sf ../proc-fs-nfsd.mount ${D}${systemd_unitdir}/system/sysinit.target.wants/proc-fs-nfsd.mount
|
ln -sf ../proc-fs-nfsd.mount ${D}${systemd_unitdir}/system/sysinit.target.wants/proc-fs-nfsd.mount
|
||||||
|
|||||||
Reference in New Issue
Block a user