[and now to the list, grr]

The problem with that, and with the hard link, is that the
package manager cleans up the old version
when the update happens, so it's no longer available
to run.  (And if we tried to keep them around, we'd
have a garbage collection problem.)  It just doesn't
fit well, the package managers have no concept of
"leave these files installed until this process exits"
or "leave these files installed until the n+1th update".


On Wed, May 27, 2009 at 6:55 AM, Marc-Antoine Ruel <[email protected]> wrote:
> *A totally uninformed comment*
> If a hardlink is an issue due to package manager, why not use a shell
> script? Could bash not be present on a system with X installed? That'd be
> surprising.
> $ cat /usr/bin/chrome
> #!/bin/sh
> # Call the right version here:
> /usr/bin/chrome2.0.1.2 $*
> No need for zygote with that.
> M-A
> On Tue, May 26, 2009 at 6:30 PM, Dan Kegel <[email protected]> wrote:
>>
>> On Tue, May 26, 2009 at 1:06 PM, Adam Langley <[email protected]> wrote:
>> > On Tue, May 26, 2009 at 12:00 PM, Dan Kegel <[email protected]>
>> > wrote:
>> >> http://codereview.chromium.org/115773 is my try at
>> >> fixing http://crbug.com/11841 ("autoupdate broke my browser",
>> >> familiar to anyone who's used Firefox on Linux).
>> >> I haven't cleaned up the code, but it's a lot less
>> >> invasive than I thought it was going to be.
>> >...
>> > However, we could easily make a hardlink with a specific version in the
>> > name.
>> > ...A patch to use the zygote hammer for the auto-updating issue would
>> > first
>> > have to show that there's no easier alternatives!
>>
>> Adam agrees that there's an issue with the hardlink idea, so
>> perhaps zygotes are the way to go for the moment after all.
>>
>> BTW, on my work machine, for that patch to work at the moment,
>> I have to invoke it with a real absolute path a la
>>  ENABLE_ZYGOTE_MANAGER=1 `/bin/pwd`/sconsbuild/Debug/chrome
>> since my chromium directory is a symlink, and pwd reports
>> the name of the symlink rather than the target.
>> I'll see if I can get rid of the need for invoking with an absolute path.
>>
>> >>
>
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to