[Trac #99] No mappings between build image and GIT commit ID.
Zarro Boogs per Child
bugtracker at laptop.org
Wed Sep 20 11:31:57 EDT 2006
#99: No mappings between build image and GIT commit ID.
-------------------------+--------------------------------------------------
Reporter: cjb | Owner: blizzard
Type: enhancement | Status: new
Priority: normal | Milestone: beta
Component: distro | Resolution:
Keywords: build git |
-------------------------+--------------------------------------------------
Comment (by JordanCrouse):
This is what I used in the buildrom Makefile:
GITREV := $(shell git-rev-list HEAD --max-count=1 2> /dev/null)
GITLOCAL := $(shell git-diff-index --name-only HEAD | wc -l)
Where GITREV is the last commit, and GITLOCAL is non zero if there are any
non-commited changes in the tree.
--
Ticket URL: <http://dev.laptop.org/ticket/99#comment:1>
One Laptop Per Child <http://laptop.org/>
More information about the Devel
mailing list