Eelco Dolstra b297af42d2
Fix using ephemeral disks for /tmp etc. in EC2 instances
This code in amazon-image.nix:

  if mountFS "$device" "$mp" "" auto; then
    if [ -z "$diskForUnionfs" ]; then diskForUnionfs="$mp"; fi
  fi

relies on mountFS to return a zero exit status if mounting
succeeds. But the lustrateRoot check in mountFS was causing a non-zero
exit status. As a result /disk0 would be mounted, but not used for
/tmp.

(cherry picked from commit d082ed8c35dec48aee2afd1303b3c8b2a1b242b0)
2017-01-03 17:32:42 +01:00
..
2014-07-30 16:19:26 +02:00
2016-10-21 14:27:11 +02:00
2014-02-08 14:59:52 +01:00
2016-09-29 13:06:43 +02:00
2016-12-20 10:49:08 +01:00
2014-07-30 16:19:26 +02:00