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

Florin Sarbu florin.sarbu at windriver.com
Thu Jun 20 23:09:40 PDT 2013


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