From 72501d545ded6bd516c386587129642831a3ba45 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 13 Apr 2016 11:42:52 +0200 Subject: [PATCH] Remove obsolete binary patch generation scripts --- generate-linear-patch-sequence.sh | 33 ------------------------------- generate-patches.sh | 14 ------------- 2 files changed, 47 deletions(-) delete mode 100755 generate-linear-patch-sequence.sh delete mode 100755 generate-patches.sh diff --git a/generate-linear-patch-sequence.sh b/generate-linear-patch-sequence.sh deleted file mode 100755 index de9e183..0000000 --- a/generate-linear-patch-sequence.sh +++ /dev/null @@ -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 diff --git a/generate-patches.sh b/generate-patches.sh deleted file mode 100755 index 4161b98..0000000 --- a/generate-patches.sh +++ /dev/null @@ -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"