[yocto] [PATCH] ecryptfs-utils: create symlinks for mount file in expected path
Noor, Ahsan
noor_ahsan at mentor.com
Wed Jun 19 03:54:16 PDT 2013
From: Noor <noor_ahsan at mentor.com>
* mounting ecryptfs drive was failing because it was looking for mount.ecryptfs
binary in /sbin/ however in our file-system, it was present in /usr/sbin/. So,
create symlinks of required binaries in /sbin/ as well
Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com>
---
.../ecryptfs-utils/ecryptfs-utils_100.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils_100.bb b/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils_100.bb
index e23f32c..c05cd84 100644
--- a/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils_100.bb
+++ b/recipes-support-ivi/ecryptfs-utils/ecryptfs-utils_100.bb
@@ -40,4 +40,8 @@ do_install_append() {
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/ecryptfs.service ${D}${systemd_unitdir}/system
fi
+
+ install -d ${D}${base_sbindir}
+ ln -sf ${sbindir}/mount.ecryptfs ${D}${base_sbindir}/
+ ln -sf ${sbindir}/umount.ecryptfs ${D}${base_sbindir}/
}
--
1.7.9.5
More information about the yocto
mailing list