Mail archive
alpine-devel

Re: [alpine-devel] Possible documentation mistake in APKBUILD reference

From: Martin Galvan <omgalvan.86_at_gmail.com>
Date: Mon, 29 Jan 2018 14:43:43 -0300

Hi, I just checked and the mistake is still there.

2018-01-24 18:34 GMT-03:00 Jakub Jirutka <jakub_at_jirutka.cz>:
> No, don't add it to the $source at all. I will fix the wiki page after I
> arrived home.
>
> Jakub
>
>
> On 24 January 2018 22:27:18 CET, Martin Galvan <omgalvan.86_at_gmail.com>
> wrote:
>>
>> In that case, should I still add $install to source just for abuild
>> checksums, then remove it for abuild -r?
>>
>> 2018-01-24 18:26 GMT-03:00 Jakub Jirutka <jakub_at_jirutka.cz>:
>>>
>>> Hi,
>>>
>>> it’s a mistake in the docs.
>>>
>>> Jakub
>>>
>>>> On 24. Jan 2018, at 20:14, Martin Galvan <omgalvan.86_at_gmail.com> wrote:
>>>>
>>>> Hi all,
>>>>
>>>> I saw that http://wiki.alpinelinux.org/wiki/APKBUILD_Reference#install
>>>> says:
>>>>
>>>> "Note: When using install scripts, $install should be included in
>>>> source so that checksums can be generated and used for the install
>>>> scripts specified in install. For example:
>>>>
>>>> install="$pkgname.pre-install $pkgname.post-install"
>>>> source="http://....
>>>> $install"
>>>> "
>>>>
>>>> However, if I do that, abuild -r says:
>>>>
>>>>>>> WARNING: myPackage: You should not have $install in source
>>>>
>>>>
>>>> Is this a mistake in the docs, or I didn't understand how it works?
>>>>
>>>>
>>>> ---
>>>> Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
>>>> Help: alpine-devel+help_at_lists.alpinelinux.org
>>>> ---
>>>
>>>
>>>
>


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Mon Jan 29 2018 - 14:43:43 GMT