lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 1786dd1 4/6: Copy another chroot log file to


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 1786dd1 4/6: Copy another chroot log file to host
Date: Wed, 26 Feb 2020 17:43:35 -0500 (EST)

branch: master
commit 1786dd135ff41fac086c5bef5aa69c43cf17e36a
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Copy another chroot log file to host
---
 install_redhat.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/install_redhat.sh b/install_redhat.sh
index bd13e73..d72a71e 100755
--- a/install_redhat.sh
+++ b/install_redhat.sh
@@ -142,7 +142,10 @@ schroot --chroot=${CHRTNAME} --user="${NORMAL_USER}" 
--directory=/tmp ./lmi_setu
 schroot --chroot=${CHRTNAME} --user="${NORMAL_USER}" --directory=/tmp 
./lmi_setup_42.sh
 schroot --chroot=${CHRTNAME} --user="${NORMAL_USER}" --directory=/tmp 
./lmi_setup_43.sh
 
-cp -a /srv/chroot/${CHRTNAME}/home/"${NORMAL_USER}"/log 
/home/"${NORMAL_USER}"/lmi_rhlog_"$stamp0"
+# Copy log files that may be useful for tracking down problems with
+# certain commands whose output is voluminous and often uninteresting.
+cp -a /srv/chroot/${CHRTNAME}/home/"${NORMAL_USER}"/log 
/home/"${NORMAL_USER}"/lmi_rhlog_"${stamp0}"
+cp -a /srv/chroot/${CHRTNAME}/tmp/${CHRTNAME}-apt-get-log 
/home/"${NORMAL_USER}"/apt-get-log-"${stamp0}"
 
 stamp1=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
 echo "Finished: $stamp1"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]