All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Oberritter <obi@opendreambox.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] e2fsprogs: fix symlinks and work with dash
Date: Thu, 23 Dec 2010 11:58:00 +0100	[thread overview]
Message-ID: <4D132B38.3050808@opendreambox.org> (raw)
In-Reply-To: <1293097031-26936-1-git-send-email-rep.dot.nop@gmail.com>

Hello Bernhard,

On 12/23/2010 10:37 AM, Bernhard Reutner-Fischer wrote:
> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
> ---
>  recipes/e2fsprogs/e2fsprogs.inc |   11 ++++++-----
>  1 files changed, 6 insertions(+), 5 deletions(-)
> 
> diff --git a/recipes/e2fsprogs/e2fsprogs.inc b/recipes/e2fsprogs/e2fsprogs.inc
> index ef9aace..e400c75 100644
> --- a/recipes/e2fsprogs/e2fsprogs.inc
> +++ b/recipes/e2fsprogs/e2fsprogs.inc
> @@ -30,8 +30,8 @@ do_compile_prepend () {
>  do_install_append () {
>  
>      	oe_runmake install-libs DESTDIR=${D}
> -	ln -sf ${D}/${base_sbindir}/tune2fs findfs
> -	ln -sf ${D}/${base_sbindir}/tune2fs e2label
> +	ln -sf tune2fs ${D}${base_sbindir}/findfs
> +	ln -sf tune2fs ${D}${base_sbindir}/e2label
>  }
>  
>  do_install_append_pn-e2fsprogs () {
> @@ -43,9 +43,10 @@ do_install_append_pn-e2fsprogs () {
>  	done
>  	fsck=$(cd ${D}${base_sbindir}/ && ls -1 fsck.ext* | sed s/[^\.]*//)
>  	for e in $fsck; do
> -		rm ${D}${base_sbindir}/{fsck,mkfs}$e;
> -		ln -s ${D}${base_sbindir}/e2fsck$e.${PN}$e fsck$e.${PN}
> -		ln -s ${D}${base_sbindir}/mke2fs$e.${PN}$e mkfs$e.${PN}
> +		rm ${D}${base_sbindir}/fsck$e;
> +		rm ${D}${base_sbindir}/mkfs$e;
> +		ln -s e2fsck$e.${PN}$e ${D}${base_sbindir}/fsck$e.${PN}
> +		ln -s mke2fs$e.${PN}$e ${D}${base_sbindir}/mkfs$e.${PN}

this would create fsck.ext3.e2fsprogs -> e2fsck.ext3.e2fsprogs.ext3
etc., which is not what we want. Also, PR needs to be incremented,
because the links didn't appear in the current package.

Would you mind if I pushed the following changeset instead?

http://git.opendreambox.org/?p=obi/openembedded.git;a=commitdiff;h=d87d337f2d2693f3859de64a8b09c5b4b362abdd

Regards,
Andreas



  reply	other threads:[~2010-12-23 10:58 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-06  9:40 [PATCH 1/4] bitbake.conf: add ext4 image support Bernhard Reutner-Fischer
2010-08-06  9:40 ` [PATCH 2/4] e2fsprogs: add 1.41.12, remove old versions Bernhard Reutner-Fischer
2010-08-06  9:40 ` [PATCH 3/4] git: add 1.7.2.1 Bernhard Reutner-Fischer
2010-08-06 10:07   ` Paul Menzel
2010-08-06 10:29     ` Bernhard Reutner-Fischer
2010-08-06  9:40 ` [PATCH 4/4] bison: preparation for adding 2.4.2 Bernhard Reutner-Fischer
2010-08-06 12:46 ` [PATCH 1/4] bitbake.conf: add ext4 image support Bjørn Forsman
2010-08-06 12:52   ` Bjørn Forsman
2010-11-17 15:05     ` Author: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Bernhard Reutner-Fischer
2010-11-17 15:11       ` Frans Meulenbroeks
2010-11-17 16:47         ` Bernhard Reutner-Fischer
2010-11-17 15:18       ` Tom Rini
2010-11-17 16:47         ` Bernhard Reutner-Fischer
2010-11-18 19:27           ` [PATCH 0/2] add ext4 image support Bernhard Reutner-Fischer
2010-11-18 19:27           ` [PATCH 1/2] e2fsprogs: add 1.41.12, remove old versions Bernhard Reutner-Fischer
2010-11-19 14:00             ` Tom Rini
2010-11-18 19:27           ` [PATCH 2/2] bitbake.conf: add ext4 image support Bernhard Reutner-Fischer
2010-11-19 13:59             ` Tom Rini
2010-12-01 19:15               ` [PATCH v2 0/3] " Bernhard Reutner-Fischer
2010-12-01 19:26                 ` Tom Rini
2010-12-01 19:44                   ` Bernhard Reutner-Fischer
2010-12-01 19:15               ` [PATCH v2 1/3] e2fsprogs: add 1.41.12, remove old versions Bernhard Reutner-Fischer
2010-12-01 19:15               ` [PATCH v2 2/3] e2fsprogs: fix alternatives of non-packaged native sysroot Bernhard Reutner-Fischer
2010-12-21 13:38                 ` Andreas Oberritter
2010-12-21 17:03                   ` Bernhard Reutner-Fischer
2010-12-21 13:50                 ` Andreas Oberritter
2010-12-23  9:37                   ` [PATCH] e2fsprogs: fix symlinks and work with dash Bernhard Reutner-Fischer
2010-12-23 10:58                     ` Andreas Oberritter [this message]
2010-12-23 12:19                       ` Bernhard Reutner-Fischer
2010-12-01 19:15               ` [PATCH v2 3/3] add ext4 image support Bernhard Reutner-Fischer
2010-12-01 20:10                 ` [PATCH v3] " Bernhard Reutner-Fischer

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=4D132B38.3050808@opendreambox.org \
    --to=obi@opendreambox.org \
    --cc=openembedded-devel@lists.openembedded.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.