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

* Re: [PATCH] ecryptfs-utils: create symlinks for mount file in expected path
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Florin Sarbu @ 2013-06-21  6:09 UTC (permalink / raw)
  To: Noor, Ahsan; +Cc: yocto

Hi,
thanks for pointing this out. I've changed the configure flags for this 
to be fixed, rather than modifying the do_install. Please update the 
master/4.0 branch, the fix for this issue is there now.

Florin

On 06/19/2013 01:54 PM, Noor, Ahsan wrote:
> 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}/
>   }



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

* Re: [PATCH] ecryptfs-utils: create symlinks for mount file in expected path
  2013-06-21  6:09 ` Florin Sarbu
@ 2013-06-21  6:31   ` Ahsan, Noor
  0 siblings, 0 replies; 3+ messages in thread
From: Ahsan, Noor @ 2013-06-21  6:31 UTC (permalink / raw)
  To: Florin Sarbu; +Cc: yocto@yoctoproject.org

Hello,

Thanks for taking care of this. I was looking at meta-ivi/4.0.

Noor

-----Original Message-----
From: Florin Sarbu [mailto:florin.sarbu@windriver.com] 
Sent: Friday, June 21, 2013 11:10 AM
To: Ahsan, Noor
Cc: holger.behrens@windriver.com; yocto@yoctoproject.org
Subject: Re: [PATCH] ecryptfs-utils: create symlinks for mount file in expected path

Hi,
thanks for pointing this out. I've changed the configure flags for this to be fixed, rather than modifying the do_install. Please update the
master/4.0 branch, the fix for this issue is there now.

Florin

On 06/19/2013 01:54 PM, Noor, Ahsan wrote:
> 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}/
>   }



^ permalink raw reply	[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.