Improve optional/default squashing.
authorJared Reisinger <jaredreisinger@hotmail.com>
Wed, 21 Sep 2016 16:34:57 +0000 (09:34 -0700)
committerJared Reisinger <jaredreisinger@hotmail.com>
Wed, 21 Sep 2016 16:34:57 +0000 (09:34 -0700)
commit0e0a4a48cf2fb54203333e14a78baa02d727980a
tree0e4b7615eda31829e12ae1683205cdec2a4ac7fe
parent3447089f9ede4e26cb5832ed6c4966259420c06d
Improve optional/default squashing.

I've verified that:
  - OSX/Darwin-specific docker-squash,
  - with gnu-tar 1.29 (>=1.27) in the path as "tar",
  - and run as root,

actually works.  As such, using docker-squash is now the default
behavior (consistent with the previous behavior), but you can opt out of
it by prefix your `make` command with the `SQUASH=NO` environment
variable:
    SQUASH=NO make all

Also note that rather than running the _entire_ make with "sudo", it's
now used specifically for the docker-squash call only, so that the
various make commands aren't running more privileged than they really
need to.
image/Makefile