All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ecryptfs-utils: create symlinks for mount file in expected path
@ 2013-06-19 10:54 Noor, Ahsan
  2013-06-21  6:09 ` Florin Sarbu
  0 siblings, 1 reply; 3+ messages in thread
From: Noor, Ahsan @ 2013-06-19 10:54 UTC (permalink / raw)
  To: holger.behrens, florin.sarbu; +Cc: yocto

From: Noor <noor_ahsan@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@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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-21  6:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-19 10:54 [PATCH] ecryptfs-utils: create symlinks for mount file in expected path Noor, Ahsan
2013-06-21  6:09 ` Florin Sarbu
2013-06-21  6:31   ` Ahsan, Noor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.