From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VLU4B-0007NX-5f for ptxdist@pengutronix.de; Mon, 16 Sep 2013 10:21:55 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1VLU4B-0002Ha-3s for ptxdist@pengutronix.de; Mon, 16 Sep 2013 10:21:55 +0200 Date: Mon, 16 Sep 2013 10:21:55 +0200 From: Michael Olbrich Message-ID: <20130916082155.GE14466@pengutronix.de> References: <1378388934-7790-1-git-send-email-post@lespocky.de> <195b91ea72e11bb9e2b0129e4e08509f@idefix.lespocky.dyndns.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <195b91ea72e11bb9e2b0129e4e08509f@idefix.lespocky.dyndns.org> Subject: Re: [ptxdist] [PATCH] [lldpd] add package Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi, On Wed, Sep 11, 2013 at 03:16:26PM +0200, Alexander Dahl wrote: > Am 2013-09-05 15:48, schrieb Alexander Dahl: > > The init script is inspired by the one in Debian Wheezy and adapted > > for busybox. It uses mkdir, seq, sleep, echo, rm and cat from busybox > > so maybe those should be added as dependency. > > The start script provided is for busybox startup method and if selected > there's a dependency to busybox start-stop-daemon tool, which the script > uses. The script uses also the above mentioned tools which can be part > of busybox but can also come from coreutils. How to deal with this? > Would adding dependencies to the busybox tools be the right way? Leave > it without dependency or some magic so the busybox or the coreutils tool > is selected? (I didn't test the script with the latter, but those are > fairly basic tools, so I assume it should work.) > > This is the diff of the mentioned init script: [...] Just select BUSYBOX_START_STOP_DAEMON and ignore the rest. Those can be expected to be there. If not, a lot of other stuff won't work either. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de