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@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
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@jirutka.cz>:
> Hi,>> it’s a mistake in the docs.>> Jakub>>> On 24. Jan 2018, at 20:14, Martin Galvan <omgalvan.86@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@lists.alpinelinux.org>> Help: alpine-devel+help@lists.alpinelinux.org>> --->>>
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
No, the contents of $install do go into $source, just not $install itself.
On Wed, Jan 24, 2018 at 3:27 PM Martin Galvan <omgalvan.86@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@jirutka.cz>:> > Hi,> >> > it’s a mistake in the docs.> >> > Jakub> >> >> On 24. Jan 2018, at 20:14, Martin Galvan <omgalvan.86@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@lists.alpinelinux.org> >> Help: alpine-devel+help@lists.alpinelinux.org> >> ---> >>> >>>> ---> Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org> Help: alpine-devel+help@lists.alpinelinux.org> --->>
--
-- Kiyoshi Aman
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@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@jirutka.cz>:>> Hi,>>>> it’s a mistake in the docs.>>>> Jakub>>>>> On 24. Jan 2018, at 20:14, Martin Galvan <omgalvan.86@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@lists.alpinelinux.org>>> Help: alpine-devel+help@lists.alpinelinux.org>>> --->>>>>
Hi, I just checked and the mistake is still there.
2018-01-24 18:34 GMT-03:00 Jakub Jirutka <jakub@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@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@jirutka.cz>:>>>>>> Hi,>>>>>> it’s a mistake in the docs.>>>>>> Jakub>>>>>>> On 24. Jan 2018, at 20:14, Martin Galvan <omgalvan.86@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@lists.alpinelinux.org>>>> Help: alpine-devel+help@lists.alpinelinux.org>>>> --->>>>>>>>>>
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---