Merge pull request #72751 from c00w/sd_image_hydra

sd-image: Add the compressed file path for hydra.
This commit is contained in:
Samuel Dionne-Riel 2019-11-10 13:44:52 -05:00 committed by GitHub
commit 40f7a343e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,11 @@ in
export img=$out/sd-image/${config.sdImage.imageName}
echo "${pkgs.stdenv.buildPlatform.system}" > $out/nix-support/system
if test -n "$compressImage"; then
echo "file sd-image $img.bz2" >> $out/nix-support/hydra-build-products
else
echo "file sd-image $img" >> $out/nix-support/hydra-build-products
fi
# Gap in front of the first partition, in MiB
gap=8