3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
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
..
config nixos-generate-config: detect CPU governor 2017-01-02 17:20:28 +01:00
hardware bumblebee service: replace bbswitch option with pmMethod 2016-11-22 02:35:12 +03:00
i18n/input-method ibus: refresh cache at startup 2016-10-03 05:25:41 -05:00
installer nix: 1.11.4 -> 1.11.5 2017-01-03 11:25:38 +01:00
misc nixos/glance: init at liberty version 2016-12-31 09:36:57 +01:00
profiles zfs cannot be distributed. Disabling it in the isos. 2016-12-28 14:57:06 +01:00
programs gphoto2: nixos programs module to configure udev 2016-12-27 17:47:38 -05:00
security grsecurity doc: describe work-around for gitlab 2016-12-08 11:59:57 +01:00
services Merge pull request #21466 from abbradar/kde-wrapper 2017-01-03 08:21:39 -06:00
system Fix using ephemeral disks for /tmp etc. in EC2 instances 2017-01-03 17:32:42 +01:00
tasks nixos: provide /etc/hostname 2017-01-02 19:14:06 +01:00
testing virtualisation.qemu.program: Remove 2016-12-20 10:52:46 +01:00
virtualisation docker: deprecate socketActivation option 2017-01-01 09:03:09 +01:00
module-list.nix Merge pull request #21444 from league/fix/gphoto2-udev 2017-01-01 11:16:28 +01:00
rename.nix rename sound.enableMediaKeys to sound.mediaKeys.enable and add volumeStep 2017-01-01 11:44:07 +01:00