diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-11-14 16:12:03 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-11-14 16:12:03 +0100 |
commit | 8f0ba0d6b31bb80cfa2b193716ddb61802e6db11 (patch) | |
tree | 80104c81bd71537e2e6a2e5f69b1186bda3733a1 /bin | |
parent | 08eb420ed367edc1f0a50551054ebaa1412cc3cf (diff) | |
download | jenkins.debian.net-8f0ba0d6b31bb80cfa2b193716ddb61802e6db11.tar.xz |
g-i: fixup 28d563df, thanks Steven
Diffstat (limited to 'bin')
-rw-r--r-- | bin/g-i-installation.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index 660198be..9740f71e 100644 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -188,7 +188,7 @@ bootstrap_system() { if [ "$RELEASE" != "jessie" ] ; then echo "Workaround to remove swap signature from previous installs, see #757818" bs=8192 - let count="1024*1024*1024*$LV/$bs" + let count="1024*1024*1024*${DISKSIZE_IN_GB}/$bs" time sudo dd if=/dev/zero of=$LV bs=$bs count=$count || true else echo "Release $RELEASE detected, where #757818 should be fixed, thus not applying workaround..." |