]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
Remove sbuild-post-build-copy-chroot-to-tmp (use sbuild --purge=successful instead)
authorBenjamin Drung <benjamin.drung@profitbricks.com>
Mon, 22 Sep 2014 12:32:52 +0000 (14:32 +0200)
committerBenjamin Drung <benjamin.drung@profitbricks.com>
Mon, 22 Sep 2014 12:32:52 +0000 (14:32 +0200)
sbuild-post-build-copy-chroot-to-tmp [deleted file]

diff --git a/sbuild-post-build-copy-chroot-to-tmp b/sbuild-post-build-copy-chroot-to-tmp
deleted file mode 100755 (executable)
index ead9737..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-set -eu
-
-chrootdir=$1
-if test ! -d "$chrootdir"; then
-    echo "$0: Given chroot directory '$chrootdir' does not exists or is no directory!" >&2
-    exit 1
-fi
-
-echo "sudo rsync -a --exclude=/dev/ --exclude=/proc/ --exclude=/sys/ $chrootdir/ /tmp/$(basename $chrootdir)"
-sudo rsync -a --exclude=/dev/ --exclude=proc/ --exclude=/sys/ $chrootdir/ /tmp/$(basename $chrootdir)