[yocto] [PATCH] ecryptfs-utils: create symlinks for mount file in expected path

Ahsan, Noor Noor_Ahsan at mentor.com
Thu Jun 20 23:31:26 PDT 2013


Hello,

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

Noor

-----Original Message-----
From: Florin Sarbu [mailto:florin.sarbu at windriver.com] 
Sent: Friday, June 21, 2013 11:10 AM
To: Ahsan, Noor
Cc: holger.behrens at windriver.com; yocto at 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 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}/
>   }




More information about the yocto mailing list