X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by lists.alpinelinux.org (Postfix) with ESMTP id 199B15C4E33 for ; Wed, 24 Jan 2018 21:34:30 +0000 (GMT) Received: by mail-wm0-f45.google.com with SMTP id r78so11338553wme.0 for ; Wed, 24 Jan 2018 13:34:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zMjbPyuB/+oN1PiNfjKfjcSt7tSBjySNuMO8OorBz4I=; b=TpMipFkgrieg0Uunt/fqOTIjSGtOM/26f2XK2J25H8KnmP9AG+kntxeb7iMLCU/fQA +zOPzJNhgrdWu/LeZa9M6mZH8fqjiZwqoEMWeq/ICnAgfx3cz8CF5cBRZfEmMs0JVc5S GFRQUu0L8sRk3/x1KbJgty7jQsF2iu9Bh7+OwyH7gb8iQQRUTl1/Jjp8Ff0AOgc+JOFQ LLCphGo1OBxZparUirfWnQbnr7r0hX4ZOcTFdg24nfIF4bOGZS9Xa83aKOyYeEKawDvn OP6iEdvwQ3DjpqNUyGHYpd6ov19UeQX6Own7eMcSkF6qhNFNGLRiGC3AqL02oklJl2OL jBEg== X-Gm-Message-State: AKwxytebr/nnlUFlOE69+KZbJUfecIwtBXhTxsQgZ049D2EVUqMj3pr3 ehKHmjGrNQwtGBD/b1KwtRFrZMv4mYq1srAVGps= X-Google-Smtp-Source: AH8x227wD+nulA09IW8wruQ6L2A6h9xsz+SmjijjXQJEtteuYhSPoZV7pG+/hEKhHRTT1OyZWo9Psd7Z/CoZnsx/UoY= X-Received: by 10.28.206.75 with SMTP id e72mr6490864wmg.100.1516829669265; Wed, 24 Jan 2018 13:34:29 -0800 (PST) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: In-Reply-To: From: Kiyoshi Aman Date: Wed, 24 Jan 2018 21:34:18 +0000 Message-ID: Subject: Re: [alpine-devel] Possible documentation mistake in APKBUILD reference To: Martin Galvan Cc: Jakub Jirutka , alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="94eb2c1934029f17aa05638c6dac" --94eb2c1934029f17aa05638c6dac Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable No, the contents of $install do go into $source, just not $install itself. On Wed, Jan 24, 2018 at 3:27 PM Martin Galvan 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 : > > Hi, > > > > it=E2=80=99s a mistake in the docs. > > > > Jakub > > > >> On 24. Jan 2018, at 20:14, Martin Galvan 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=3D"$pkgname.pre-install $pkgname.post-install" > >> source=3D"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 > --- > > --=20 -- Kiyoshi Aman --94eb2c1934029f17aa05638c6dac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
No, the contents of $install do go into $source, just not = $install itself.

On We= d, 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=E2=80=99s a mistake in the docs.
>
> Jakub
>
>> On 24. Jan 2018, at 20:14, Martin Galvan <omgalvan.86@gmail.com> wrote:<= br> >>
>> Hi all,
>>
>> I saw that http://wiki.alpinelin= ux.org/wiki/APKBUILD_Reference#install says:
>>
>> "Note: When using install scripts, $install should be include= d in
>> source so that checksums can be generated and used for the install=
>> scripts specified in install. For example:
>>
>> install=3D"$pkgname.pre-install $pkgname.post-install" >> source=3D"http://....
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0$install"
>> "
>>
>> However, if I do that, abuild -r says:
>>
>>>>> WARNING: myPackage: You should not have $install in so= urce
>>
>> Is this a mistake in the docs, or I didn't understand how it w= orks?
>>
>>
>> ---
>> Unsubscribe:=C2=A0 alpine-devel+unsubscribe@lists.alpin= elinux.org
>> Help:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0alpine-devel+help@lists= .alpinelinux.org
>> ---
>>
>


---
Unsubscribe:=C2=A0 alpine-devel+unsubscribe@lists.alpinelinux.or= g
Help:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0alpine-devel+help@lists.alpineli= nux.org
---



--
-- Kiyo= shi Aman
--94eb2c1934029f17aa05638c6dac-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---