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: a7924afc9fc3
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 7795a7ad5f03
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Dec 6, 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
    ```
    
    (cherry picked from commit 61bdaad)
    samueldr committed Dec 6, 2018
    Copy the full SHA
    7795a7a View commit details
    Browse the repository at this point in the history