Remove obsolete binary patch generation scripts

This commit is contained in:
Eelco Dolstra 2016-04-13 11:42:52 +02:00
parent 852e1b6bf2
commit 72501d545d
2 changed files with 0 additions and 47 deletions

View file

@ -1,33 +0,0 @@
#! /bin/sh -e
releasesDir=/data/releases/nixpkgs
prev=""
for i in $(cd "$releasesDir" && ls -d nixpkgs-*pre* | sort -n); do
if test -e "$releasesDir/$i/MANIFEST"; then
if test -n "$prev" -a ! -e "$releasesDir/$i/.patches-created"; then
echo $prev "->" $i
date
time ./generate-patches.sh "$releasesDir/$prev" "$releasesDir/$i"
touch "$releasesDir/$i/.patches-created"
fi
prev=$i
fi
done
releasesDir=/data/releases/nixos
prev=""
for i in $(cd "$releasesDir" && ls -d nixos-*pre* | sort -n); do
if test -e "$releasesDir/$i/MANIFEST"; then
if test -n "$prev" -a ! -e "$releasesDir/$i/.patches-created"; then
echo $prev "->" $i
date
time ./generate-patches.sh "$releasesDir/$prev" "$releasesDir/$i"
touch "$releasesDir/$i/.patches-created"
fi
prev=$i
fi
done

View file

@ -1,14 +0,0 @@
#! /bin/sh -e
src="$1"
dst="$2"
if test ! -d "$src" -o ! -d "$dst"; then
echo "syntax: $0 source-dir dest-dir"
exit 1
fi
nix-generate-patches \
/data/releases/nars \
/data/releases/patches \
http://nixos.org/releases/patches \
"$src/MANIFEST" "$dst/MANIFEST"