Remove obsolete binary patch generation scripts
This commit is contained in:
parent
852e1b6bf2
commit
72501d545d
|
@ -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
|
|
|
@ -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"
|
|
Loading…
Reference in a new issue