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
This commit is contained in:
jbjohnso 2012-02-09 16:18:40 +00:00
parent 0c37139db0
commit b201b45c7f

View File

@ -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");