* Include .sha256 files.

git-svn-id: https://nixos.org/repos/nix/release/trunk/channels@34853 70bd8c7a-acb8-0310-9f0d-9cc1c95dcdbb
This commit is contained in:
Eelco Dolstra 2014-08-29 15:19:00 +00:00
parent 1c063dced7
commit 3ac156edb9

View file

@ -52,6 +52,10 @@ else
$wget --directory=$tmpDir $url/job/nixos.ova.i686-linux/download $wget --directory=$tmpDir $url/job/nixos.ova.i686-linux/download
$wget --directory=$tmpDir $url/job/nixos.ova.x86_64-linux/download $wget --directory=$tmpDir $url/job/nixos.ova.x86_64-linux/download
for i in $tmpDir/*.iso $tmpDir/*.ova; do
nix-hash --type sha256 --flat $i > $i.sha256
done
perl -w ./mirror-channel.pl "$url/channel" "$tmpDir" \ perl -w ./mirror-channel.pl "$url/channel" "$tmpDir" \
nix-cache http://cache.nixos.org \ nix-cache http://cache.nixos.org \
/data/releases/patches/all-patches "$url/job/nixos.channel/download/1" /data/releases/patches/all-patches "$url/job/nixos.channel/download/1"