All of lore.kernel.org
 help / color / mirror / Atom feed
From: ChenQi <Qi.Chen@windriver.com>
To: Phil Blundell <pb@pbcl.net>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 1/8] udev: fix dependency and location of udevadm
Date: Mon, 11 Nov 2013 19:28:53 +0800	[thread overview]
Message-ID: <5280BF75.2020609@windriver.com> (raw)
In-Reply-To: <1384167211.16718.109.camel@phil-desktop.brightsign>

On 11/11/2013 06:53 PM, Phil Blundell wrote:
> On Mon, 2013-11-11 at 10:18 +0800, ChenQi wrote:
>> On 11/10/2013 06:54 AM, Phil Blundell wrote:
>>> On Sat, 2013-11-09 at 13:28 +0800, Qi.Chen@windriver.com wrote:
>>>> +	install -d ${D}${base_bindir}
>>>> +	mv ${D}${bindir}/udevadm ${D}${base_bindir}/udevadm
>>>> +	rmdir ${D}${bindir}
>>> This will fail if ${bindir} and ${base_bindir} are the same.
>>>
>>> p.
>>>
>>>
>>>
>>>
>> In udev recipe, they are not defined as the same one.
> Those variables are part of the distro configuration.  Individual
> recipes don't, in general, set them.
>
>> And moving something from bindir to base_bindir doesn't seem uncommon in
>> OE, you can grep the project using the following command.
>>
>> grep -Ri 'mv.*bindir.*base_bindir' meta/*
> A better command to use would be:
>
> grep -C 4 -Ri 'mv.*bindir.*base_bindir' meta/*

Thanks for pointing it out :)

Currently I'm not sure whether we support configuring ${bindir} to equal 
to ${base_bindir}, but maybe we will support this such configuration in 
the future.
So I'll send out V2 of this patch.

Thanks,
Chen Qi

> which reveals that most of these "mv" commands are enclosed in a
> conditional that checks whether the two directories are indeed different
> before trying to move them.
>
> It's true that a few of the things in recipes-extended do appear to be
> broken.  cpio, for example, was broken by
> 6dee3050a4a0c4f3cc9fec23a0bc02155d680863; gzip was broken by
> e0626a0270fb0f4ff128e761c13d44162723434c; mktemp was broken by
> 4807d938023ce06f2924c8a0503c32d083be23b5.  All of these three patches
> seem to be well-intentioned attempts to improve the handling of
> update-alternatives and I guess those recipes are obscure enough that
> nobody has noticed before now that there is anything wrong with them.
>
> p.
>
>
>
>



  reply	other threads:[~2013-11-11 11:28 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-09  5:28 [PATCH 0/8] Fixes about unsafe-references QA warnings Qi.Chen
2013-11-09  5:28 ` [PATCH 1/8] udev: fix dependency and location of udevadm Qi.Chen
2013-11-09 22:54   ` Phil Blundell
2013-11-11  2:18     ` ChenQi
2013-11-11 10:53       ` Phil Blundell
2013-11-11 11:28         ` ChenQi [this message]
2013-11-09  5:28 ` [PATCH 2/8] initscripts: add setup-commands.sh Qi.Chen
2013-11-09 23:00   ` Phil Blundell
2013-11-11  2:52     ` ChenQi
2013-11-11 11:53       ` Phil Blundell
2013-11-11 12:40         ` ChenQi
2013-11-11 14:49           ` Phil Blundell
2013-11-11 16:13         ` Mark Hatle
2013-11-11 12:12       ` Burton, Ross
2013-11-11 12:53         ` ChenQi
2013-11-11 16:15         ` Mark Hatle
2013-11-09  5:28 ` [PATCH 3/8] zlib: install into base_libdir Qi.Chen
2013-11-09  5:28 ` [PATCH 4/8] kmod: install libkmod " Qi.Chen
2013-11-09  5:28 ` [PATCH 5/8] udev: fix unsafe reference by installing libgudev in libdir Qi.Chen
2013-11-09  5:28 ` [PATCH 6/8] insane.bbclass: make the checking stricter for unsafe references in scripts Qi.Chen
2013-11-09  5:28 ` [PATCH 7/8] iputils: fix program location and QA warning Qi.Chen
2013-11-09  5:28 ` [PATCH 8/8] busybox: install ping6 into bindir by default Qi.Chen
2013-11-11 11:12 ` [PATCH 0/8] Fixes about unsafe-references QA warnings Burton, Ross
2013-11-11 11:23   ` ChenQi

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=5280BF75.2020609@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=pb@pbcl.net \
    /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.