X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from dal-a2.localdomain (unknown [74.117.189.115]) by mail.alpinelinux.org (Postfix) with ESMTP id D907DDC00B4 for ; Tue, 12 Nov 2013 08:56:03 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (3.203.202.84.customer.cdi.no [84.202.203.3]) (using SSLv3 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: ncopa@tanael.org) by dal-a2.localdomain (Postfix) with ESMTPSA id 39DB7BC36EB; Tue, 12 Nov 2013 08:56:03 +0000 (UTC) Date: Tue, 12 Nov 2013 09:55:59 +0100 From: Natanael Copa To: HL Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] inconsistent reboot ... Message-ID: <20131112095559.25decf1f@ncopa-desktop.alpinelinux.org> In-Reply-To: <528132A1.6030602@gmail.com> References: <528132A1.6030602@gmail.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.20; x86_64-alpine-linux-uclibc) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 11 Nov 2013 21:40:17 +0200 HL wrote: > Hello there, > I had to do a live reboot on a fw running 2.6.0 > > I've compiled locally > shorewall 4.5.20 > and quagga with some patches not included in the dist. > > I have a local cache > cache -> /media/usb/cache > in /etc/apk > > my > /etc/apk/world looks like this > shorewall-core> swatch > shorewall> bird6> ipset > xtables-addons > ulogd > quagga> shorewall6> > at reboot the system complaints that could not find shorewall and the > other locally compiled packages > so I had to re-install them manually. > > and firewall did not start ... > In other words it cannot install the files of the locally compiled packages > and it is stubborn to expect the alpine distributed shorewall > > question is > what went wrong ?? I believe apk needs to find the packages at boot, they need to be in a repository listed in /etc/apk/repositories in other words. > > Is my world file OK or a mess?? > Can it be fixed?? Create a repository for your locally built packages. For example: copy them to /media/usb/myrepo/x86/ cd /media/usb/myrepo/x86 && apk index -o APKINDEX.tar.gz *.apk abuild-sign APKINDEX.tar.gz Make sure that the .pub key is in /etc/apk/keys. > > is it a signature issue ??? > are signatures loaded before packages ??? The signatures are embedded in the .apk. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---