[arch-dev-public] Install files in [core]

Dan McGee dpmcgee at gmail.com
Mon Mar 8 21:52:36 CET 2010


On Mon, Mar 8, 2010 at 1:25 PM, Allan McRae <allan at archlinux.org> wrote:
> On 08/03/10 22:54, Dan McGee wrote:
>>
>> On Mon, Mar 8, 2010 at 4:12 AM, Allan McRae<allan at archlinux.org>  wrote:
>>>
>>> On 07/03/10 21:01, Allan McRae wrote:
>>>>
>>>> Hi,
>>>>
>>>> With adding install files to deal with info pages to packages in [core],
>>>> there are a number of packages with install files that will cause errors
>>>> if bash is not installed before them (pacman uses /bin/sh from the
>>>> system it is installing to).
>>>>
>>>> How do we handle this? Add "sh" to dependencies? Not have post_install
>>>> for these packages (it is only info page installs...)? I did the later
>>>> for gcc-libs where it makes sense but other cases are not so clear cut.
>>>
>>> So any suggestions on how to fix?
>>
>> dash as /bin/sh? It's only dep (right now) is glibc since we don't
>> have an alternate C library to link against, but it is way more
>> lightweight than bash (no readline dep, etc.) and will probably
>> eliminate some of the headaches we have with regards to deps.
>
> That would still require we add "sh" as a dep.  We can currently do that
> with bash as its deps have deliberately have got not no post_install to
> avoid such errors.

Yes; I thought the reason we didn't add the dep for a lot of these was
to prevent dep cycles however. If I'm wrong treat my words here as
blowing smoke and I'll shut up. :)

-Dan


More information about the arch-dev-public mailing list