summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Arapov <aarapov@redhat.com>2009-03-26 16:32:22 +0100
committerAnton Arapov <aarapov@redhat.com>2009-03-26 16:32:22 +0100
commit120fb2a9b88f737181de23a8085ddd527101da9a (patch)
tree95df07291edb7bdd8f98438fd86d7b5abdb3bb57
parentd879ebf08c48bbe8ed9bd344fceee9163fe464da (diff)
downloadabrt-120fb2a9b88f737181de23a8085ddd527101da9a.tar.gz
abrt-120fb2a9b88f737181de23a8085ddd527101da9a.tar.xz
abrt-120fb2a9b88f737181de23a8085ddd527101da9a.zip
kerneloops - hook: remove
there is no need for hook so far.
-rw-r--r--src/Hooks/Kerneloops.cpp35
-rw-r--r--src/Hooks/Makefile.am10
2 files changed, 1 insertions, 44 deletions
diff --git a/src/Hooks/Kerneloops.cpp b/src/Hooks/Kerneloops.cpp
deleted file mode 100644
index 74a21928..00000000
--- a/src/Hooks/Kerneloops.cpp
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright 2009, Red Hat Inc.
- *
- * This file is part of %TBD%
- *
- * This program file is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; version 2 of the License.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program in a file named COPYING; if not, write to the
- * Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301 USA
- *
- * Authors:
- * Anton Arapov <anton@redhat.com>
- */
-
-#include "KerneloopsDmesg.h"
-
-int main()
-{
- int ret;
-
- // reuses the code of Kerneloop Plugin
- ret = scan_logs();
-
- return ret;
-}
diff --git a/src/Hooks/Makefile.am b/src/Hooks/Makefile.am
index f99b5306..2e682f57 100644
--- a/src/Hooks/Makefile.am
+++ b/src/Hooks/Makefile.am
@@ -1,15 +1,7 @@
-libexec_PROGRAMS = hookCCpp hookKerneloops
+libexec_PROGRAMS = hookCCpp
# CCpp
hookCCpp_SOURCES = CCpp.cpp
hookCCpp_LDADD = ../../lib/Utils/libUtils.la
hookCCpp_CPPFLAGS = -I$(srcdir)/../../lib/Utils \
-DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\"
-
-# Kerneloops
-hookKerneloops_SOURCES = Kerneloops.cpp ../../lib/Plugins/KerneloopsDmesg.cpp ../../lib/Plugins/KerneloopsDmesg.h
-hookKerneloops_LDADD = ../../lib/Utils/libUtils.la
-hookKerneloops_CPPFLAGS = -static \
- -I$(srcdir)/../../lib/Utils \
- -I$(srcdir)/../../lib/Plugins \
- -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\"