Branch: refs/heads/nixpart
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 02765b407fee962ef42accbeabfdfea3f563cf46
      
https://github.com/NixOS/nixpkgs/commit/02765b407fee962ef42accbeabfdfea3f563cf46
  Author: aszlig <asz...@redmoonstudios.org>
  Date:   2017-01-05 (Thu, 05 Jan 2017)

  Changed paths:
    M nixos/modules/tasks/storage/default.nix

  Log Message:
  -----------
  nixos/storage/disk: Allow only one match method

Having multiple matchers is a bit tricky if we don't know how they
should be combined. For example if we have a match on a label and a
device name and both produce valid matches, which one should we choose?

So let's restrict the use of device matchers to allow only one method
right now. If we later figure out a better way how to combine these
matchers, we can still lift this restriction easily.

Signed-off-by: aszlig <asz...@redmoonstudios.org>


  Commit: 96bb3b1ae705db257c1d6520604a758e5976146e
      
https://github.com/NixOS/nixpkgs/commit/96bb3b1ae705db257c1d6520604a758e5976146e
  Author: aszlig <asz...@redmoonstudios.org>
  Date:   2017-01-05 (Thu, 05 Jan 2017)

  Changed paths:
    M nixos/tests/storage.nix

  Log Message:
  -----------
  nixos/tests/storage: Add subtest for matchers

We want to make sure that the options defined in disk.${name}.match are
working. So we define a bunch of disks with all currently available
matching methods and check afterwards if the devices get mounted.

Of course the "check afterwards" part is solely theoretical because this
is not yet supported in nixpart.

Signed-off-by: aszlig <asz...@redmoonstudios.org>


  Commit: 9dca14e438a0f64319900ba5bd24d2055340ab36
      
https://github.com/NixOS/nixpkgs/commit/9dca14e438a0f64319900ba5bd24d2055340ab36
  Author: aszlig <asz...@redmoonstudios.org>
  Date:   2017-01-05 (Thu, 05 Jan 2017)

  Changed paths:
    M nixos/modules/tasks/storage/disk.nix

  Log Message:
  -----------
  nixos/storage/disk: Fix wording of allowIncomplete

Just remove the redundant "array", because RAID already includes array
in the A.

Signed-off-by: aszlig <asz...@redmoonstudios.org>


  Commit: acc1c0b3e45b1399bff64ab65a6fc4d8bb4936a2
      
https://github.com/NixOS/nixpkgs/commit/acc1c0b3e45b1399bff64ab65a6fc4d8bb4936a2
  Author: aszlig <asz...@redmoonstudios.org>
  Date:   2017-01-05 (Thu, 05 Jan 2017)

  Changed paths:
    M nixos/tests/storage.nix

  Log Message:
  -----------
  nixos/tests/storage: Show stdout of nixpart -m

We want to know the messages printed to stdout regardless of whether
nixpart -m has failed or not, primarily because it makes debugging
easier (just adding "print(something)" should suffice).

Signed-off-by: aszlig <asz...@redmoonstudios.org>


  Commit: 1531442588c148b79cd73f9e57799c061dec21f8
      
https://github.com/NixOS/nixpkgs/commit/1531442588c148b79cd73f9e57799c061dec21f8
  Author: aszlig <asz...@redmoonstudios.org>
  Date:   2017-01-05 (Thu, 05 Jan 2017)

  Changed paths:
    M nixos/tests/storage.nix

  Log Message:
  -----------
  nixos/tests/storage: Don't always check /mnt

So far we checked whether /mnt is a valid mountpoint during invocation
of remountAndCheck. Now since we have the "matchers" sub test, we no
longer have anything mounted directly in /mnt, so it doesn't make sense
to check it unconditionally.

Signed-off-by: aszlig <asz...@redmoonstudios.org>


  Commit: 5ccda7bde6d119cae1393f0f5110560bd3ce8f35
      
https://github.com/NixOS/nixpkgs/commit/5ccda7bde6d119cae1393f0f5110560bd3ce8f35
  Author: aszlig <asz...@redmoonstudios.org>
  Date:   2017-01-05 (Thu, 05 Jan 2017)

  Changed paths:
    M nixos/tests/storage.nix

  Log Message:
  -----------
  nixos/tests/storage/matchers: Assign labels

We're basically destroying the initial information that's relevant for
the matchers to actually match the corresponding devices, so we need
those labels to find the newly created dummy ext4 file systems again.

This also makes the definitions for fileSystems less redundant, because
we now generate it using listToAttrs and genList.

Signed-off-by: aszlig <asz...@redmoonstudios.org>


  Commit: 26c6ce6d52a171a0cb865fbf6d0650ba364cfffd
      
https://github.com/NixOS/nixpkgs/commit/26c6ce6d52a171a0cb865fbf6d0650ba364cfffd
  Author: aszlig <asz...@redmoonstudios.org>
  Date:   2017-01-05 (Thu, 05 Jan 2017)

  Changed paths:
    M pkgs/tools/filesystems/nixpart/default.nix

  Log Message:
  -----------
  nixpart: Update to latest master version

Adds support for mounting of file systems, which means that now the
"btrfs", "ext" and "matchers" storage tests are succeeding.

Signed-off-by: aszlig <asz...@redmoonstudios.org>


Compare: https://github.com/NixOS/nixpkgs/compare/4fbea844332e...26c6ce6d52a1
_______________________________________________
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to