X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by lists.alpinelinux.org (Postfix) with ESMTP id 4A7CA170000BA for ; Wed, 21 Jan 2009 12:02:47 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 4so426448eyf.13 for ; Wed, 21 Jan 2009 04:02:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=SWZPAaf8lZ99Kfzew6nOJ9BnBJ779iNyy7ZPuNmQJjo=; b=RDfhgYsgGCgrTSUe1h8maqmgtFe3rPj6qYlOLAwArAyEAqw07kxdqpzB3zsmjnwTl+ nVQfKXrxkZq4QOLvLp7vi+MwPAkv+2Ufs9kbDT8PrTR6Pfb0NebScnqRpPDrKVgHOow4 AydIwo5taaJVRIV44ScfhLIYSlbzBWcJ/5XcU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=suFz+byf/DbpMizBQeymiPZx10MxS8OBbdSKG0c77y/rUJgPTJRp6wVQPYYB4Jgxhb QrljOgCLCpJlrmJrz7aqhIFJx03G5Yfr5Z2uUz7hajrhe+TZiJFPBPrBXkQsbieAyuGk 2e3YDa7f8OSI4K1qdRd2pZJG2VNquQZ37y400= Received: by 10.210.28.4 with SMTP id b4mr2021266ebb.120.1232539365999; Wed, 21 Jan 2009 04:02:45 -0800 (PST) Received: from ?10.65.65.1? (149-182-13.oke2-bras2.adsl.tele2.no [90.149.182.13]) by mx.google.com with ESMTPS id 10sm4043105eyd.56.2009.01.21.04.02.44 (version=SSLv3 cipher=RC4-MD5); Wed, 21 Jan 2009 04:02:45 -0800 (PST) Subject: Re: [alpine-devel] util-linux-ng --enable-init git patch From: Natanael Copa To: Leonardo Arena Cc: Alpine-devel In-Reply-To: <9334be8a0901210252r641fae4ar9fe2bfd31f0265d3@mail.gmail.com> References: <9334be8a0901210252r641fae4ar9fe2bfd31f0265d3@mail.gmail.com> Content-Type: text/plain Date: Wed, 21 Jan 2009 13:02:41 +0100 Message-Id: <1232539361.1947.117.camel@nc> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 X-Mailer: Evolution 2.24.2 Content-Transfer-Encoding: 7bit On Wed, 2009-01-21 at 11:52 +0100, Leonardo Arena wrote: > > APCUPSD needs shutdown command, and "--enable-init" option cause > shutdown to be compiled. > > Please review attached patch > Leo > > > > > > > differences > between files > attachment > (0001-extra-util-linux-ng-enable-init-added.patch) > > From fa6181bcf6feb5300cd5687b4da315a9afe516a8 Mon Sep 17 00:00:00 2001 > From: Leonardo Arena > Date: Wed, 21 Jan 2009 10:47:16 +0000 > Subject: [PATCH] extra/util-linux-ng: --enable-init added > > --- > extra/util-linux-ng/APKBUILD | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/extra/util-linux-ng/APKBUILD > b/extra/util-linux-ng/APKBUILD > index 4dd5c3e..d5cb509 100644 > --- a/extra/util-linux-ng/APKBUILD > +++ b/extra/util-linux-ng/APKBUILD > @@ -24,7 +24,8 @@ build() { > --disable-init \ > --disable-nls \ > --disable-kill \ > - --without-pam > + --without-pam \ > + --enable-init > > make || return 1 > make install DESTDIR=$pkgdir Could you please check if /sbin/init gets included? I see that shutdown is provided by sysvinit on gentoo. I am a bit sceptic that /sbin/init might mess with booting alpine. Ideally, apcupsd should use busybox tools to shutdown (e.g halt) I will commit and move to testing repository for now. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---