From b201b45c7f9452a7b1292eb89300ab41b0b90141 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 9 Feb 2012 16:18:40 +0000 Subject: [PATCH] Fix mknb construction of genesis when lzma is missing git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11527 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/mknb.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/mknb.pm b/xCAT-server/lib/xcat/plugins/mknb.pm index 16488ddaf..a2d8a33eb 100644 --- a/xCAT-server/lib/xcat/plugins/mknb.pm +++ b/xCAT-server/lib/xcat/plugins/mknb.pm @@ -121,12 +121,12 @@ sub process_request { } else { $done = 1; } + } if (not $done) { $callback->({data=>["Creating genesis.fs.$arch.gz in $tftpdir/xcat"]}); system("cd $tempdir; find . | cpio -o -H newc | gzip -9 > $tftpdir/xcat/genesis.fs.$arch.gz"); } - } } else { $callback->({data=>["Creating nbfs.$arch.gz in $tftpdir/xcat"]}); system("cd $tempdir; find . | cpio -o -H newc | gzip -9 > $tftpdir/xcat/nbfs.$arch.gz");