On Wed, Sep 3, 2014 at 3:14 PM, Óscar Fuentes <[email protected]> wrote:
> Alexpux <[email protected]> writes:
>
>> 03 сент. 2014 г., в 18:04, Óscar Fuentes <[email protected]> написал(а):
>>
>>> Ray Donnelly <[email protected]>
>>> writes:
>>>
>>>> We have dash.exe in MSYS2 and it *only* links to msys-2.0.dll and to
>>>> nothing else. We should use that for our post-install runs since
>>>> msys-2.0.dll is never rebased anyway.
>>>
>>> Honest question: are post-install scripts supposed to be so simple that
>>> what dash alone offers is sufficient?
>>
>> Need to understand that post-install scripts call other msys programs
>> and they can lead to fork errors too
>
> Thanks, that was what I thought. So dash is not the solution.

Some ideas:

You can limit yourself to using dash as much as possible. We could
investigate porting busybox as a static MSYS2 application (should not
be difficult) and using that for the things that dash needs to call
out to (sed, awk, cp, install etc).

Other than that, instead of running post installs, we could store a
list of post installs to run in a file, then force the user to exit
the shell, then when the shell starts up again, run those post
installs and remove the file.

A more radical suggestion is to *never* update anything in msys-base
or that the post-installs need via pacman and instead release an
updated installer that's non-destructive to the MSYS2 installation
when we need to update those components.

>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Msys2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/msys2-users

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to