Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: e5cca82d7969879c1b50f1cd9325ebbbfa76839f
      
https://github.com/NixOS/nixpkgs/commit/e5cca82d7969879c1b50f1cd9325ebbbfa76839f
  Author: Domen Kožar <[email protected]>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M nixos/lib/make-disk-image.nix

  Log Message:
  -----------
  make-disk-image: run tune2fs after umount to skip fsck

tune2fs marks the filesystem as clean to prevent resize2fs from
complaining.

But we were invoking it before we mounted the filesystem, so the
counters would increase to 1 and it broke the functionality.

By moving the call after the mount, I have confirmed it works by:

   $ nix-build nixos/tests/ec2.nix

cc @rbvermaa @edolstra


  Commit: 00b3d6957af15a22281eb2a88e732597d0b7a848
      
https://github.com/NixOS/nixpkgs/commit/00b3d6957af15a22281eb2a88e732597d0b7a848
  Author: Domen Kožar <[email protected]>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M pkgs/top-level/python-packages.nix

  Log Message:
  -----------
  pythonPackages.chameleon: 2.15 -> 2.25


  Commit: b6363c7bc89514e14573cf806326adac46ad06a7
      
https://github.com/NixOS/nixpkgs/commit/b6363c7bc89514e14573cf806326adac46ad06a7
  Author: Domen Kožar <[email protected]>
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
    M nixos/lib/make-disk-image.nix

  Log Message:
  -----------
  make-disk-image: make store validity fix optional

This is useful for EC2 AMI generation to speedup the process.

In my case it removes 13min out of 45min when generating an image
on EC2.


Compare: https://github.com/NixOS/nixpkgs/compare/a11ad092d65d...b6363c7bc895
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to