From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lb0-f172.google.com ([209.85.217.172]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TTzPe-0000o3-J9 for ptxdist@pengutronix.de; Thu, 01 Nov 2012 19:22:43 +0100 Received: by mail-lb0-f172.google.com with SMTP id k13so2264591lbo.31 for ; Thu, 01 Nov 2012 11:22:36 -0700 (PDT) MIME-Version: 1.0 Date: Thu, 1 Nov 2012 11:22:36 -0700 Message-ID: From: Jeff Horn Subject: [ptxdist] UBIFS generation question Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0687516309==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============0687516309== Content-Type: multipart/alternative; boundary=bcaec554082684ca3f04cd731a3a --bcaec554082684ca3f04cd731a3a Content-Type: text/plain; charset=ISO-8859-1 Hi, I currently add the git commit to my BSP by adding this to a custom overlay rule. echo $(shell git rev-parse --verify HEAD) > $(ROOTDIR)/etc/revision That works fine for creating the file in the platform/root directory. When I started to use the UBI image I noticed that file was missing from my root filesystem. I see that the ubi.make script does a targetinstall to platform/images/working_dir and then generates the UBI image from there. Which obviously does not have my revision. How can I fix/modify my line above so it makes it into both the root directory and the UBI image. I'm on ptxdist-2011.07.0 Thanks in advance, Jeff --bcaec554082684ca3f04cd731a3a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I currently add the git commit to my BSP by adding t= his to a custom overlay rule.

echo $(shell git rev= -parse --verify HEAD) > $(ROOTDIR)/etc/revision

That works fine for creating the file in the platform/root directory. = =A0When I started to use the UBI image I noticed that file was missing from= my root filesystem. =A0I see that the ubi.make script does a targetinstall= to platform/images/working_dir and then generates the UBI image from there= . =A0Which obviously does not have my revision. =A0How can I fix/modify my = line above so it makes it into both the root directory and the UBI image.

I'm on ptxdist-2011.07.0

T= hanks in advance,
Jeff
--bcaec554082684ca3f04cd731a3a-- --===============0687516309== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0687516309==--