From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-embedded+bounces-2633-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1KPuzM-000220-Sl
	for garchives@archives.gentoo.org; Mon, 04 Aug 2008 08:00:21 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 77F67E0406;
	Mon,  4 Aug 2008 08:00:19 +0000 (UTC)
Received: from mail.marples.name (rsm.demon.co.uk [80.177.111.50])
	by pigeon.gentoo.org (Postfix) with ESMTP id 36176E0352
	for <gentoo-embedded@lists.gentoo.org>; Mon,  4 Aug 2008 08:00:19 +0000 (UTC)
Received: from [10.73.1.131] (unknown [10.73.1.131])
	(using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
	(No client certificate requested)
	by mail.marples.name (Postfix) with ESMTP id A4BB519006C
	for <gentoo-embedded@lists.gentoo.org>; Mon,  4 Aug 2008 09:00:18 +0100 (BST)
Subject: Re: [gentoo-embedded] crossdev-wrappers openrc patch
From: Roy Marples <roy@marples.name>
To: gentoo-embedded@lists.gentoo.org
In-Reply-To: <1217836170.14807.1.camel@localhost.localdomain>
References: <1217831372.31472.10.camel@localhost.localdomain>
	 <1217832679.3423.0.camel@uberpc.marples.name>
	 <1217836170.14807.1.camel@localhost.localdomain>
Content-Type: text/plain
Date: Mon, 04 Aug 2008 09:00:18 +0100
Message-Id: <1217836818.3423.3.camel@uberpc.marples.name>
Precedence: bulk
List-Post: <mailto:gentoo-embedded@lists.gentoo.org>
List-Help: <mailto:gentoo-embedded+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-embedded+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-embedded+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-embedded.gentoo.org>
X-BeenThere: gentoo-embedded@lists.gentoo.org
Reply-to: gentoo-embedded@lists.gentoo.org
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 
Content-Transfer-Encoding: 7bit
X-Archives-Salt: ccb120ab-7ac4-4963-a7f2-309bbe35875d
X-Archives-Hash: a845c9b27a1c3f9bc2a21bdd6c154a72

On Mon, 2008-08-04 at 10:49 +0300, Ahmed Ammar wrote:
> On Mon, 2008-08-04 at 07:51 +0100, Roy Marples wrote:
> > On Mon, 2008-08-04 at 09:29 +0300, Ahmed Ammar wrote:
> > > I have attached a small patch for the wrappers to fix compatibility with
> > > openrc.
> > 
> > /etc/init.d/functions.sh always exists and points correctly for
> > baselayout-1 and OpenRC. You should not have to reference einfo by full
> > path either.
> 
> for openrc einfo isn't in the user path so it must be called
> explicitly. /etc/init.d/functions.sh might be a good shout though.

The act of sourcing /etc/init.d/functions.sh puts einfo into $PATH :)

Thanks

Roy