use ipmiblob library from ipmi-blob-tool
Drop all code that is now handled by the ipmiblob library provided by
the new ipmi-blob-tool. This is a library that can be included on the
BMC if necessary, but relies on nothing that is strictly meant for the
BMC.
Change-Id: Iadbf0bd89c58cafc436fba05ea43e21c49e2b669
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/tools/bt.cpp b/tools/bt.cpp
index 297bc30..c49aecf 100644
--- a/tools/bt.cpp
+++ b/tools/bt.cpp
@@ -1,8 +1,7 @@
#include "bt.hpp"
-#include "blob_errors.hpp"
-
#include <cstdint>
+#include <ipmiblob/blob_errors.hpp>
#include <vector>
namespace host_tool
@@ -37,7 +36,7 @@
}
} while (bytesRead > 0);
}
- catch (const BlobException& b)
+ catch (const ipmiblob::BlobException& b)
{
sys->close(inputFd);
return false;