nixpkgs/nixos/modules/system/boot
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
..
loader Revert "fix 2 xml errors in the description of boot.loader.grub.efiInstallAsRemovable" 2016-12-17 11:45:31 +01:00
coredump.nix systemd-coredump: Add systemd service and fix sysctl pattern. 2016-07-10 18:07:37 +10:00
emergency-mode.nix
initrd-network.nix
initrd-ssh.nix initrd-ssh: fix authorized_key generation with multiple keys 2016-11-16 14:47:37 +00:00
kernel.nix initrd: Include i8042 kernel module 2016-10-21 14:27:11 +02:00
kexec.nix
luksroot.nix luksroot module: optionSet -> submodule 2016-09-13 12:53:13 +09:00
modprobe.nix nixos treewide: don't set MODULE_DIR 2016-08-19 17:56:54 +03:00
networkd.nix networkd: add extraConfig to all units 2016-12-17 15:23:34 +01:00
pbkdf2-sha512.c
plymouth.nix nixos/modules: use defaultText where applicable 2016-11-21 16:35:15 +01:00
readonly-mountpoint.c
resolved.nix modules.resolved: Enhance by upstream options (#15897) 2016-06-26 22:58:04 +02:00
shutdown.nix
stage-1-init.sh Fix using ephemeral disks for /tmp etc. in EC2 instances 2017-01-03 17:32:42 +01:00
stage-1.nix runCommand: Use stdenvNoCC 2016-09-29 13:06:43 +02:00
stage-2-init.sh stage-2 init: move /run/keys mount to boot.specialFileSystems 2016-09-17 15:39:24 +03:00
stage-2.nix nixos filesystems: unify early filesystems handling 2016-08-27 13:38:20 +03:00
systemd-lib.nix multi-user.target should not pull network.target 2016-09-13 11:19:22 +02:00
systemd-nspawn.nix nspawn module: optionSet -> submodule 2016-10-21 01:31:54 +09:00
systemd-unit-options.nix systemd: add slice support 2016-12-20 10:49:08 +01:00
systemd.nix systemd: add slice support 2016-12-20 10:49:08 +01:00
timesyncd.nix ntp: make timesyncd the new default 2016-12-17 00:00:45 +01:00
tmp.nix