X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-fx0-f219.google.com (mail-fx0-f219.google.com [209.85.220.219]) by lists.alpinelinux.org (Postfix) with ESMTP id 4CCA41EFC00 for ; Thu, 30 Jul 2009 05:23:29 +0000 (UTC) Received: by fxm19 with SMTP id 19so420612fxm.26 for ; Wed, 29 Jul 2009 22:23:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=rtk49eUiozTZpmKzaOo+IG5X2CVX2tMnal5ZLOEVP/Q=; b=cnyRUS1U/QTQvP7zn+OeHp95JzCmtBK++PMIA6DolGYFhKYu4A0UA11YA53wesOBo5 NiWWhgyohEVrQ6GIs6athtMFcxvnhRdQzGujh5iSv/YyMA2wN9cj8MyBr19QkRTwGSMG H4V3ye0hwhKxzwiQ2bH5RsZyjGcZp5zxegpDA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=F+03iJp2xoxdDcKItxMSjcvJpUCpLkXmvo8N+8ii0uj1HHdDe6lTlatasB9rFiqkNg IEtEAGze17GTPG57AUzhaWo5TFDBxM4M/94pMP3b5wPcvVu0HLtfdfs4K+p6tP1goQVe A0SbotdH4wYP916rmIwtWfJFJ36LBTFtW9CD0= Received: by 10.103.52.13 with SMTP id e13mr366304muk.122.1248931408983; Wed, 29 Jul 2009 22:23:28 -0700 (PDT) Received: from ?10.252.5.10? (xdsl-83-150-94-239.nebulazone.fi [83.150.94.239]) by mx.google.com with ESMTPS id w5sm2680490mue.34.2009.07.29.22.23.27 (version=SSLv3 cipher=RC4-MD5); Wed, 29 Jul 2009 22:23:28 -0700 (PDT) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Message-ID: <4A712E51.30706@iki.fi> Date: Thu, 30 Jul 2009 08:23:29 +0300 From: =?ISO-8859-1?Q?Timo_Ter=E4s?= User-Agent: Thunderbird 2.0.0.22 (X11/20090608) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: Mark Constable CC: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] First abuild attempt References: <4A712E98.3030502@renta.net> In-Reply-To: <4A712E98.3030502@renta.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mark Constable wrote: > For a first attempt at building I package I copied main/nano to > a parallel build tree and modified the configure line to include > --enable-color and --enable-nanorc, then abuild -i. > > My newer package compiled okay and went to $REPODEST (being > /home/packages/alpine/nano*) but did not install. > > How do I install a package directly as per pacman -U /path/to/package? > > How do I create the custom local package database, again, like > the Arch repo-add command? > > (I couldn't find any info about the package db on the trac wiki) In alpine 1.8 or 1.9 series? "apk add /path/to/package" should work in 1.9. If the version number is the same as existing it might or might not work (I'm not sure if I fixed that to work properly). Local repository is created with "apk index *.apk | gzip -9 > APK_INDEX.gz". And you add the path to direcotry containing the apks and index to /etc/apk/repositories. Though this will change in next 1.9 release, as we've implemented package signatures. That's one of the reasons it has not been documented yet. There's also a bunch of new options and features in apk that we will document after the next 1.9 release. I hope release happens this week or early next week. - Timo --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---