X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by lists.alpinelinux.org (Postfix) with ESMTP id 2DA351EBFF7 for ; Thu, 9 Dec 2010 16:41:39 +0000 (UTC) Received: by ywp6 with SMTP id 6so1549422ywp.13 for ; Thu, 09 Dec 2010 08:41:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type; bh=3AfF8+BXponfTBCYpzcAoU3CbnUg8KZbjz5uTFkUDqE=; b=ofYwncGQ/612g/7CTOH8LgE90e1Cy/ogcj3dhYi3aEv9tnUVYiOZN0GT3bVnB+971M lg9Ae0KmBCYs+fry4OulVyfeoIlah2q/xwg/PyKrQ5gwi6lqpqnwdcsfT9BRjz0//Fb6 PVL8JvzP0aBti3lh2PPQ9ZBVNapMK/Q0sCMp8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=noVIlcAdDH0ply14/vYE8m13sMfwODDj3vMPX4jbK6zr1BL+180p6/G1Z49whLnPco dWfRaodKYdG6Gr37PR3e4gUryTyyGO90T/7Np/vBimpS+kYcOMlqLr+wscNQ/EuWNwoT Y9XNab+u4HCXy01AC9lW9BzequgOSoCMXtzis= Received: by 10.42.178.199 with SMTP id bn7mr1204028icb.154.1291912899149; Thu, 09 Dec 2010 08:41:39 -0800 (PST) Received: from [192.168.42.200] (c-71-228-19-24.hsd1.il.comcast.net [71.228.19.24]) by mx.google.com with ESMTPS id gy41sm1715621ibb.17.2010.12.09.08.41.37 (version=SSLv3 cipher=RC4-MD5); Thu, 09 Dec 2010 08:41:37 -0800 (PST) Message-ID: <4D0106C0.4050506@gmail.com> Date: Thu, 09 Dec 2010 10:41:36 -0600 From: Cameron Banta User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9pre) Gecko/20100821 Lightning/1.0b2 Lanikai/3.1.3pre X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH] new: aports helper scripts References: <1291843221-21222-1-git-send-email-mcs@darkregion.net> <1291902032.24376.27.camel@ncopa-desktop.nor.wtbts.net> <1291909310.567329176@192.168.2.229> <1291910637.24376.32.camel@ncopa-desktop.nor.wtbts.net> In-Reply-To: Content-Type: multipart/alternative; boundary="------------040608010903060000090106" This is a multi-part message in MIME format. --------------040608010903060000090106 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 12/09/2010 10:28 AM, Jeremy Thomerson wrote: > > If it is not, can we get how to do this added to the wiki on the page > about building aports ? > Just to add my $0.02, I find it much more useful to dump the apks into a directory that's exported by a web server. Then you can put that url in the /etc/apt/repositories (before the edge urls) of a second testing box - now when you install and test packages it won't affect your aports dev box. You can edit REPODEST in /etc/abuild.conf to put the compiled packages somewhere else (I use /srv/apks). Then I use nginx to serve them to my other alpine test boxes. Another, probably better, option is to just link ~/.cache/apks to /srv/apks. (The last option will automatically create your APKINDEX for you.) -Cameron > Jeremy Thomerson > -- sent from my "smart" phone, so please excuse spelling, formatting, > or compiler errors > >> On Dec 9, 2010 10:04 AM, "Natanael Copa" > > wrote: >> >> On Thu, 2010-12-09 at 09:41 -0600, Matt Smith wrote: >> > On Thursday, December 9, 2010 7:40am, "Natana... >> >> ah. I yes. >> >> What i do is adding $HOME/.cache/apks first in /etc/apk/repositories >> >> then i do: >> >> >> abuild -r && apk add $package >> >> if there are additional http repos in /etc/apk/repositories you can pick >> some from local aports tree and some from network (to avoid build >> everything) >> >> >> >> > It's my understanding and experience that you can't simply "abuild -r; >> > apk add ./package.apk",... >> >> I think apk add ./package.apk is supposed to work but is buggy. >> >> >> >> > I suppose its no different though: doing --no-network, or specifying a >> > specific local reposito... >> >> np. and you are right. we could improve this. >> >> > >> > Thanks in advance, >> > Matt >> > >> > P.S.: Looks like I could use some form of "abuild -ri". >> > >> >> >> >> >> -... >> --------------040608010903060000090106 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 12/09/2010 10:28 AM, Jeremy Thomerson wrote:

If it is not, can we get how to do this added to the wiki on the page about building aports ?

Just to add my $0.02, I find it much more useful to dump the apks into a directory that's exported by a web server. Then you can put that url in the /etc/apt/repositories (before the edge urls) of a second testing box - now when you install and test packages it won't affect your aports dev box.

You can edit REPODEST in /etc/abuild.conf to put the compiled packages somewhere else (I use /srv/apks). Then I use nginx to serve them to my other alpine test boxes. Another, probably better, option is to just link ~/.cache/apks to /srv/apks. (The last option will automatically create your APKINDEX for you.)

-Cameron

Jeremy Thomerson
-- sent from my "smart" phone, so please excuse spelling, formatting, or compiler errors

On Dec 9, 2010 10:04 AM, "Natanael Copa" <ncopa@alpinelinux.org> wrote:

On Thu, 2010-12-09 at 09:41 -0600, Matt Smith wrote:
> On Thursday, December 9, 2010 7:40am, "Natana...

ah. I yes.

What i do is adding $HOME/.cache/apks first in /etc/apk/repositories

then i do:


abuild -r && apk add $package

if there are additional http repos in /etc/apk/repositories you can pick
some from local aports tree and some from network (to avoid build
everything)



> It's my understanding and experience that you can't simply "abuild -r;
> apk add ./package.apk",...

I think apk add ./package.apk is supposed to work but is buggy.



> I suppose its no different though: doing --no-network, or specifying a
> specific local reposito...

np. and you are right. we could improve this.

>
> Thanks in advance,
> Matt
>
> P.S.: Looks like I could use some form of "abuild -ri".
>




-...


--------------040608010903060000090106-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---