Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 3776a9e93d61
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 70488665fae8
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Dec 1, 2018

  1. sd-image: Slims the ext4 filesystem even more.

    This is to try and squeeze more lost space from the image, so that hydra
    starts building it again.
    
    The fsck previous to the resize2fs is required so resize2fs works.
    
    The one afterwards is a sanity check.
    
    Using `-M` from resize2fs will not give much saved space due to a known
    (in the manual) issue.
    
    ```
    [samueldr@aarch64:~/nixpkgs]$ ls -lh result-*/*/*.img
    -r--r--r-- 1 root root 2.2G Jan  1  1970 result-original/sd-image/nixos-sd-image-18.09.git.a7fd431-aarch64-linux.img
    -r--r--r-- 1 root root 2.1G Jan  1  1970 result-M/sd-image/nixos-sd-image-18.09.git.a7fd431-aarch64-linux.img
    -r--r--r-- 1 root root 1.9G Jan  1  1970 result-slimmed/sd-image/nixos-sd-image-18.09.git.a7fd431-aarch64-linux.img
    ```
    
    ```
    [samueldr@aarch64:~/nixpkgs]$ nix path-info -S ./result-original
    /nix/store/c8k9n78gylx293rjh762fr05a069kxp2-nixos-sd-image-18.09.git.a7fd431-aarch64-linux.img   3844125000
    
    [samueldr@aarch64:~/nixpkgs]$ nix path-info -S ./result-slimmed
    /nix/store/962238skj5mnzhrsmjy23dyzmxk77sp4-nixos-sd-image-18.09.git.a7fd431-aarch64-linux.img   3447473208
    ```
    samueldr committed Dec 1, 2018
    Copy the full SHA
    61bdaad View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2018

  1. Merge pull request #51207 from samueldr/fix/sd-image-slimming

    sd-image: Slims the ext4 filesystem even more.
    samueldr committed Dec 6, 2018
    Copy the full SHA
    7048866 View commit details
    Browse the repository at this point in the history