aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2015-10-30 11:22:05 +0000
committerLinaro Code Review <review@review.linaro.org>2015-10-30 11:22:05 +0000
commit9ad065e266fba3a4179bd43dc03020ad20bafcf4 (patch)
treeb3649dbe3c7707ebe5d23478444045dd47e3c0b3
parent1f4cfafd61d882844088aa7daa0e85f9b1949e9c (diff)
parent90092d03c1bb3148e5ac2d2660e2536be44b52a5 (diff)
downloadmeta-linaro-9ad065e266fba3a4179bd43dc03020ad20bafcf4.tar.gz
Merge "linaro-image-common: hack around missing nfs support"
-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