mirror of
https://github.com/nxp-imx/meta-imx.git
synced 2025-12-18 08:25:25 +01:00
imx-image-*: Remove nfs-server from rootfs
The fix for YOCIMX-1736 and YOCIMX-1737 did not solve the root problem of installing an NFS server in the rootfs when the kernel didn't support it. Signed-off-by: Valentin Jec <valentin.jec@nxp.com>
This commit is contained in:
parent
d12d2af0d6
commit
ec71133501
|
|
@ -1,15 +0,0 @@
|
||||||
do_install:append () {
|
|
||||||
# If using systemd and NFSD is not configured in kernel then remove
|
|
||||||
# the unnecessary files to avoid the failure massages at boot.
|
|
||||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
|
||||||
if [ "$(grep "CONFIG_NFSD" ${STAGING_KERNEL_BUILDDIR}/.config)" != "CONFIG_NFSD=m" ]; then
|
|
||||||
if [ -f "${D}${sysconfdir}/modules-load.d/nfsd.conf" ]; then
|
|
||||||
rm ${D}${sysconfdir}/modules-load.d/nfsd.conf
|
|
||||||
fi
|
|
||||||
if [ "$(grep "CONFIG_NFSD" ${STAGING_KERNEL_BUILDDIR}/.config)" != "CONFIG_NFSD=y" ]; then
|
|
||||||
rm -f ${D}${systemd_unitdir}/system/sysinit.target.wants/proc-fs-nfsd.mount
|
|
||||||
rm -f ${D}${systemd_unitdir}/system/proc-fs-nfsd.mount
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
@ -11,7 +11,7 @@ IMAGE_FEATURES += " \
|
||||||
tools-sdk \
|
tools-sdk \
|
||||||
package-management \
|
package-management \
|
||||||
splash \
|
splash \
|
||||||
nfs-server \
|
nfs-client \
|
||||||
tools-debug \
|
tools-debug \
|
||||||
ssh-server-openssh \
|
ssh-server-openssh \
|
||||||
hwcodecs \
|
hwcodecs \
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ IMAGE_FEATURES += " \
|
||||||
tools-sdk \
|
tools-sdk \
|
||||||
package-management \
|
package-management \
|
||||||
splash \
|
splash \
|
||||||
nfs-server \
|
nfs-client \
|
||||||
tools-debug \
|
tools-debug \
|
||||||
ssh-server-openssh \
|
ssh-server-openssh \
|
||||||
tools-testapps \
|
tools-testapps \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user