~alpine/devel

2 2

[alpine-devel] util-linux-ng --enable-init git patch

Leonardo Arena <rnalrd@gmail.com>
Details
Message ID
<9334be8a0901210252r641fae4ar9fe2bfd31f0265d3@mail.gmail.com>
Sender timestamp
1232535163
DKIM signature
missing
Download raw message
APCUPSD needs shutdown command, and "--enable-init" option cause shutdown to
be compiled.

Please review attached patch
Leo
Details
Message ID
<1232539361.1947.117.camel@nc>
In-Reply-To
<9334be8a0901210252r641fae4ar9fe2bfd31f0265d3@mail.gmail.com> (view parent)
Sender timestamp
1232539361
DKIM signature
missing
Download raw message
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
---
Leonardo Arena <rnalrd@gmail.com>
Details
Message ID
<9334be8a0901210427p2df53e12wa614056780a2d4c1@mail.gmail.com>
In-Reply-To
<1232539361.1947.117.camel@nc> (view parent)
Sender timestamp
1232540831
DKIM signature
missing
Download raw message
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
Reply to thread Export thread (mbox)