From cc8aec5aceae9e3ed2704404a4d901a2b0c59b21 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 28 Feb 2019 10:02:12 -0500 Subject: [PATCH] Highlight mknb failure on upgrade If for example the filesystem fills, a more obvious message should be presented. --- xCAT/xCAT.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT/xCAT.spec b/xCAT/xCAT.spec index a832b11c1..547733957 100644 --- a/xCAT/xCAT.spec +++ b/xCAT/xCAT.spec @@ -241,6 +241,8 @@ fi mkdir -p /var/log/xcat date >> /var/log/xcat/upgrade.log $RPM_INSTALL_PREFIX0/sbin/xcatconfig -u -V >> /var/log/xcat/upgrade.log +if grep "Failed to copy /opt/xcat/share/xcat/netboot/genesis/x86_64/fs" /var/log/xcat/upgrade.log; then + echo 'mknb failed to complete successfully' fi exit 0