All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florin Sarbu <florin.sarbu@windriver.com>
To: "Noor, Ahsan" <noor_ahsan@mentor.com>
Cc: yocto@yoctoproject.org
Subject: Re: [PATCH] ecryptfs-utils: create symlinks for mount file in expected path
Date: Fri, 21 Jun 2013 09:09:40 +0300	[thread overview]
Message-ID: <51C3EE24.6090802@windriver.com> (raw)
In-Reply-To: <1371639256-3760-1-git-send-email-noor_ahsan@mentor.com>

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}/
>   }



  reply	other threads:[~2013-06-21  6:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2013-06-21  6:31   ` Ahsan, Noor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51C3EE24.6090802@windriver.com \
    --to=florin.sarbu@windriver.com \
    --cc=noor_ahsan@mentor.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.