mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
sd-image: Add the compressed file path for hydra.
This makes the nixos on arm user instructions work again.
This commit is contained in:
parent
1c4b13bb5b
commit
c861f8083d
@ -140,7 +140,11 @@ in
|
|||||||
export img=$out/sd-image/${config.sdImage.imageName}
|
export img=$out/sd-image/${config.sdImage.imageName}
|
||||||
|
|
||||||
echo "${pkgs.stdenv.buildPlatform.system}" > $out/nix-support/system
|
echo "${pkgs.stdenv.buildPlatform.system}" > $out/nix-support/system
|
||||||
echo "file sd-image $img" >> $out/nix-support/hydra-build-products
|
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 in front of the first partition, in MiB
|
||||||
gap=8
|
gap=8
|
||||||
|
Loading…
Reference in New Issue
Block a user