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 <rnalrd@gmail.com>
> 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
---
On Wed, Jan 21, 2009 at 1:02 PM, Natanael Copa <natanael.copa@gmail.com>wrote:
> Could you please check if /sbin/init gets included? I see that shutdown
> is provided by sysvinit on gentoo.
No, it does not include /sbin/init