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 ) id 1KPvHe-0005oy-SZ for garchives@archives.gentoo.org; Mon, 04 Aug 2008 08:19:15 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7208E02C8; Mon, 4 Aug 2008 08:19:13 +0000 (UTC) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by pigeon.gentoo.org (Postfix) with ESMTP id 66452E02C8 for ; Mon, 4 Aug 2008 08:19:13 +0000 (UTC) Received: by ug-out-1314.google.com with SMTP id z27so746158ugc.49 for ; Mon, 04 Aug 2008 01:19:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer :sender; bh=UoJYEzfBLCZ3xgyiRU2pvJ/WuA+NpN+FpD2LbJbgxmk=; b=hboAH0HprnwWkyoC6qz1h/TeHHRZ5Yz7gbXA9ws5HXFvgpFhvKkpNjlFXKNweXgcxJ pSu2vZp6guEIXh35qA4eOVuw8Udx/liJmOuZDAiyEibo3NWRAMhvISLI3F9pQJFr16NM TswAN7kJAwaePbF7Eefz3jXVtsTmZojxQPZcc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:sender; b=Y6Z8Ptb3qm8nUVqgoICCYwy9RqboKFhFG9zzzOL60xfsLykE/6AndEvWLG4gTp06PE WDd1WVZRigJoP7GdCTB+WvTTLBpWZi/SPyh7V8+CfXZfRAU48wKnEUKPOubhT1/huuKO hJDsKqO+AZgpqxaD/8ldIyes6AGViJyrSrfzA= Received: by 10.66.234.8 with SMTP id g8mr6072504ugh.43.1217837952603; Mon, 04 Aug 2008 01:19:12 -0700 (PDT) Received: from ?192.168.2.6? ( [196.205.217.178]) by mx.google.com with ESMTPS id 32sm6000347ugd.53.2008.08.04.01.19.10 (version=SSLv3 cipher=RC4-MD5); Mon, 04 Aug 2008 01:19:11 -0700 (PDT) Subject: Re: [gentoo-embedded] crossdev-wrappers openrc patch From: Ahmed Ammar To: gentoo-embedded@lists.gentoo.org In-Reply-To: <1217836818.3423.3.camel@uberpc.marples.name> References: <1217831372.31472.10.camel@localhost.localdomain> <1217832679.3423.0.camel@uberpc.marples.name> <1217836170.14807.1.camel@localhost.localdomain> <1217836818.3423.3.camel@uberpc.marples.name> Content-Type: multipart/mixed; boundary="=-oNMBOoHxUFwIfUIDto9Z" Date: Mon, 04 Aug 2008 11:19:00 +0300 Message-Id: <1217837940.14807.3.camel@localhost.localdomain> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 Sender: Ahmed Ammar X-Archives-Salt: e5fd4ede-a1d0-41f0-9533-c4b87f3e7a14 X-Archives-Hash: c4f816c369ca4c6a638789233458fcbe --=-oNMBOoHxUFwIfUIDto9Z Content-Type: text/plain Content-Transfer-Encoding: 7bit On Mon, 2008-08-04 at 09:00 +0100, Roy Marples wrote: > 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 :) Indeed, slow day =) Regards, -- Ahmed Ammar (b33fc0d3 [at] gentoo.org) --=-oNMBOoHxUFwIfUIDto9Z Content-Disposition: attachment; filename=crossdev-wrappers-openrc-fix.patch Content-Type: text/x-patch; name=crossdev-wrappers-openrc-fix.patch; charset=iso-8859-1 Content-Transfer-Encoding: 7bit --- cross-fix-root.orig 2008-06-19 07:56:02.000000000 +0300 +++ cross-fix-root 2008-08-04 11:17:25.000000000 +0300 @@ -45,4 +45,4 @@ fix_pc_files ${CROSS_ROOT} pc_count=$? : -( . /sbin/functions.sh ; einfo "Scanned/Fixed $pc_count "'*'".pc and $la_count "'*'".la files" ) +( . /etc/init.d/functions.sh ; einfo "Scanned/Fixed $pc_count "'*'".pc and $la_count "'*'".la files" ) --=-oNMBOoHxUFwIfUIDto9Z--