All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: "Andreas Färber" <andreas.faerber@web.de>
Cc: Blue Swirl <blauwirbel@gmail.com>,
	Anthony Liguori <aliguori@us.ibm.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Rename qemu -> qemu-system-i386
Date: Sat, 03 Sep 2011 15:09:05 -0500	[thread overview]
Message-ID: <4E628961.7030809@codemonkey.ws> (raw)
In-Reply-To: <069ADDF5-0DF7-485C-9BF7-C7F697017070@web.de>

On 09/03/2011 08:44 AM, Andreas Färber wrote:
> Am 02.09.2011 um 17:40 schrieb Anthony Liguori:
>
>> On 08/29/2011 09:55 AM, Anthony Liguori wrote:
>>> This has been discussed before in the past. The special casing really
>>> makes no
>>> sense anymore. This seems like a good change to make for 1.0.
>>>
>>> Signed-off-by: Anthony Liguori<aliguori@us.ibm.com>
>>
>> Applied.
>>
>> Regards,
>>
>> Anthony Liguori
>>
>>> ---
>>> Makefile | 5 ++---
>>> Makefile.target | 4 ----
>>> 2 files changed, 2 insertions(+), 7 deletions(-)
>>>
>>> diff --git a/Makefile b/Makefile
>>> index 8606849..51ecdb5 100644
>>> --- a/Makefile
>>> +++ b/Makefile
>>> @@ -365,9 +365,8 @@ tar:
>>> rm -rf /tmp/$(FILE)
>>>
>>> SYSTEM_TARGETS=$(filter %-softmmu,$(TARGET_DIRS))
>>> -SYSTEM_PROGS=$(patsubst qemu-system-i386,qemu, \
>>> - $(patsubst %-softmmu,qemu-system-%, \
>>> - $(SYSTEM_TARGETS)))
>>> +SYSTEM_PROGS=$(patsubst %-softmmu,qemu-system-%, \
>>> + $(SYSTEM_TARGETS))
>>>
>>> USER_TARGETS=$(filter %-user,$(TARGET_DIRS))
>>> USER_PROGS=$(patsubst %-bsd-user,qemu-%, \
>>> diff --git a/Makefile.target b/Makefile.target
>>> index 07af4d4..29287ed 100644
>>> --- a/Makefile.target
>>> +++ b/Makefile.target
>>> @@ -27,12 +27,8 @@ ifdef CONFIG_USER_ONLY
>>> QEMU_PROG=qemu-$(TARGET_ARCH2)
>>> else
>>> # system emulator name
>>> -ifeq ($(TARGET_ARCH), i386)
>>> -QEMU_PROG=qemu$(EXESUF)
>>> -else
>>> QEMU_PROG=qemu-system-$(TARGET_ARCH2)$(EXESUF)
>>> endif
>>> -endif
>>>
>>> PROGS=$(QEMU_PROG)
>>> STPFILES=
>
> This will leave an old qemu executable from a previous `make install`
> behind.

You're not supposed to do a make install on top of another install. 
You're supposed to first do a make uninstall in the old tree than a make 
install in the new tree.

Semantically, this is how a distro package upgrade works.

> We should check for it and, unless it's a symlink to qemu-system-i386,
> remove it in the install target.

Once we're no longer generating an executable, we should be removing it 
from the system.

It's up to the user to remove old files from the system.

Regards,

Anthony Liguori

>
> Andreas
>

  parent reply	other threads:[~2011-09-03 20:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-29 14:55 [Qemu-devel] [PATCH] Rename qemu -> qemu-system-i386 Anthony Liguori
2011-08-30 15:33 ` Juan Quintela
2011-08-30 15:41 ` Peter Maydell
2011-08-30 15:59   ` Anthony Liguori
2011-08-30 19:24 ` Blue Swirl
2011-09-02 15:39   ` Anthony Liguori
2011-09-03 11:46     ` Blue Swirl
2011-09-02 15:40 ` Anthony Liguori
2011-09-03 13:44   ` Andreas Färber
2011-09-03 16:11     ` Paolo Bonzini
2011-09-03 20:09     ` Anthony Liguori [this message]
2011-09-04 13:31       ` Andreas Färber

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=4E628961.7030809@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=aliguori@us.ibm.com \
    --cc=andreas.faerber@web.de \
    --cc=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.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.