aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen.kooi@linaro.org>2015-10-30 12:01:08 +0100
committerKoen Kooi <koen.kooi@linaro.org>2015-10-30 12:11:04 +0100
commit90092d03c1bb3148e5ac2d2660e2536be44b52a5 (patch)
tree9d52e8150d826f218219e00783bdede44b457b02
parent2fd7cdbb92fd7551f5b1675eed34a30d4540f7a3 (diff)
linaro-image-common: hack around missing nfs support
This needs a better solution, but for the short term this should work. Change-Id: Idf7b78d2cde652bb8a41b3a2e02e490b0671509f Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
-rw-r--r--meta-linaro/recipes-linaro/images/linaro-image-common.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-linaro/recipes-linaro/images/linaro-image-common.inc b/meta-linaro/recipes-linaro/images/linaro-image-common.inc
index 65ac920a..fdfd97dc 100644
--- a/meta-linaro/recipes-linaro/images/linaro-image-common.inc
+++ b/meta-linaro/recipes-linaro/images/linaro-image-common.inc
@@ -89,7 +89,12 @@ SDK_IMAGE_INSTALL += "\
${HUGETLB} \
"
-IMAGE_PREPROCESS_COMMAND += "do_systemd_network ; "
+IMAGE_PREPROCESS_COMMAND += "do_systemd_network ; do_hacknfs"
+
+# The boot will fail if you have (k)NFSD disabled or no nfs modules installed
+do_hacknfs () {
+ rm -f ${IMAGE_ROOTFS}/lib/systemd/system/sysinit.target.wants/proc-fs-nfsd.mount
+}
do_systemd_network () {
install -d ${IMAGE_ROOTFS}${sysconfdir}/systemd/network