os-release: ensure 'dirty' really means dirty.

When using --git-dir, git no longer automatically determines the
working tree and thus always assumes the tree is dirty unless the
--work-tree option is also passed.

Fixes openbmc/openbmc#820.

Change-Id: I3af6941e0562bf665290e57c2b7a80459385fefa
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
1 file changed
tree: 458c8923092a3137366d530eb7fff5ec36c48599
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE