[ptxdist] UBIFS generation question

2012-11-01 Thread Jeff Horn
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

Re: [ptxdist] UBIFS generation question

2012-11-01 Thread Alexander Dahl
Hei Jeff, On 01.11.2012 19:22, Jeff Horn wrote: echo $(shell git rev-parse --verify HEAD) $(ROOTDIR)/etc/revision I personally use `git describe --tags` for this, but that's more a question of taste. That works fine for creating the file in the platform/root directory. When I started to

Re: [ptxdist] UBIFS generation question

2012-11-01 Thread Jeff Horn
Thanks Alex, I have it all working now. Jeff On Thu, Nov 1, 2012 at 1:37 PM, Alexander Dahl p...@lespocky.de wrote: Hei Jeff, On 01.11.2012 19:22, Jeff Horn wrote: echo $(shell git rev-parse --verify HEAD) $(ROOTDIR)/etc/revision I personally use `git describe --tags` for this, but