diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-10-27 12:28:02 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-10-27 12:28:02 +0100 |
commit | 53e094da768f81aa1775cb5fdd1771f9ea9aceb5 (patch) | |
tree | 2659d8b507f12a944eed17d5ff1aee85ecb9ff78 /bin | |
parent | ae0d68031343ea6d087e7fcdae88b3d730d9b635 (diff) | |
download | jenkins.debian.net-53e094da768f81aa1775cb5fdd1771f9ea9aceb5.tar.xz |
g-i-i: be more verbose
Diffstat (limited to 'bin')
-rw-r--r-- | bin/g-i-installation.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index e7b8ee9c..435823ab 100644 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -1058,7 +1058,7 @@ save_logs() { # copy logs (and continue if some logs cannot be copied) # set +e - sudo cp -r $SYSTEM_MNT/var/log/installer $SYSTEM_MNT/etc/fstab $RESULTS/log/ || ( ls $SYSTEM_MNT ; echo ; ls $SYSTEM_MNT/var ; echo ; ls $SYSTEM_MNT/var/log/ ; figlet "why no logs" ) || true + sudo cp -rv $SYSTEM_MNT/var/log/installer $SYSTEM_MNT/etc/fstab $RESULTS/log/ || ( ls -lad $SYSTEM_MNT ; echo ; ls $SYSTEM_MNT/var ; echo ; ls $SYSTEM_MNT/var/log/ ; figlet "why no logs" ) || true set -e # # get list of installed packages @@ -1081,7 +1081,7 @@ save_logs() { echo "Warning: no LTSP chroot found." fi if [ ! -z "$LTSPARCH" ] ; then - sudo cp -r $SYSTEM_MNT/opt/ltsp/$LTSPARCH/var/log $RESULTS/log/opt/ + sudo cp -rv $SYSTEM_MNT/opt/ltsp/$LTSPARCH/var/log $RESULTS/log/opt/ sudo chroot $SYSTEM_MNT/opt/ltsp/$LTSPARCH dpkg -l > $RESULTS/log/opt/dpkg-l || ( echo "Warning: cannot run dpkg inside the ltsp chroot." ; sudo ls -la $SYSTEM_MNT/opt/ltsp/$LTSPARCH ; figlet "fail" ) fi sudo umount -l $SYSTEM_MNT/opt || ( echo "Warning: cannot un-mount $SYSTEM_MNT/opt" ; figlet "fail" ) |