debian: Remove corekeeper package.
authorBen Pfaff <blp@nicira.com>
Tue, 9 Nov 2010 18:28:13 +0000 (10:28 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 10 Nov 2010 17:54:25 +0000 (09:54 -0800)
The corekeeper package has little or nothing to do with Open vSwitch
itself, so remove it.

debian/.gitignore
debian/automake.mk
debian/control
debian/corekeeper.cron.daily [deleted file]
debian/corekeeper.init [deleted file]
debian/corekeeper.override [deleted file]
debian/rules

index 24e62d9..746fc12 100644 (file)
@@ -2,7 +2,6 @@
 *.debhelper.log
 *.substvars
 /control
-/corekeeper
 /copyright
 /files
 /nicira-switch
index 7c73831..a423c6b 100644 (file)
@@ -5,9 +5,6 @@ EXTRA_DIST += \
        debian/control.modules.in \
        debian/copyright \
        debian/copyright.in \
-       debian/corekeeper.cron.daily \
-       debian/corekeeper.init \
-       debian/corekeeper.override \
        debian/dirs \
        debian/openvswitch-common.dirs \
        debian/openvswitch-common.install \
index 5f50cc8..cae97e6 100644 (file)
@@ -92,13 +92,6 @@ Description: Open vSwitch controller implementation
  .
  Open vSwitch is a full-featured software-based Ethernet switch.
 
-Package: corekeeper
-Architecture: all
-Depends: tmpreaper, ${misc:Depends}
-Description: Core file centralizer and reaper
- The corekeeper package configures the system to dump all core files to
- /var/log/core.  It also deletes core files older than 7 days.
-
 Package: openvswitch-dbg
 Section: debug
 Architecture: any
diff --git a/debian/corekeeper.cron.daily b/debian/corekeeper.cron.daily
deleted file mode 100755 (executable)
index badc192..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-#! /bin/sh
-
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-
-tmpreaper 7d --mtime --all /var/log/core
diff --git a/debian/corekeeper.init b/debian/corekeeper.init
deleted file mode 100755 (executable)
index b544568..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/sh 
-#
-# Example init.d script with LSB support.
-#
-# Please read this init.d carefully and modify the sections to
-# adjust it to the program you want to run.
-#
-# Copyright (c) 2007 Javier Fernandez-Sanguino <jfs@debian.org>
-# Copyright (c) 2009 Nicira Networks, Inc.
-#
-# This is free software; you may redistribute it and/or modify
-# it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2,
-# or (at your option) any later version.
-#
-# This 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 with
-# the Debian operating system, in /usr/share/common-licenses/GPL;  if
-# not, write to the Free Software Foundation, Inc., 59 Temple Place,
-# Suite 330, Boston, MA 02111-1307 USA
-#
-### BEGIN INIT INFO
-# Provides:          corekeeper
-# Required-Start:    $remote_fs
-# Required-Stop:     $remote_fs
-# Should-Start:      $syslog
-# Should-Stop:       
-# Default-Start:     2 3 4 5
-# Default-Stop:      0 1 6
-# Short-Description: Configure core file dump location
-### END INIT INFO
-
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-
-. /lib/lsb/init-functions
-
-set -e
-
-case "$1" in
-  start)
-        log_daemon_msg "Initializing core dump location..."
-        if echo "/var/log/core/core.%e.%t.%p" > /proc/sys/kernel/core_pattern
-        then
-            log_progress_msg "success"
-            log_end_msg 0
-            exit 0
-        else 
-            log_end_msg 1
-            exit 1
-        fi
-        ;;
-  stop|restart|force-reload|status|reload)
-        exit 0
-        ;;
-  *)
-        N=/etc/init.d/corekeeper
-        echo "Usage: $N {start|stop|restart|force-reload|status}" >&2
-        exit 1
-        ;;
-esac
diff --git a/debian/corekeeper.override b/debian/corekeeper.override
deleted file mode 100644 (file)
index 32f34ec..0000000
+++ /dev/null
@@ -1 +0,0 @@
-non-standard-dir-perm
index 8e7ad1e..b1f9065 100755 (executable)
@@ -74,7 +74,6 @@ install-indep: build-indep
        chmod 755 debian/openvswitch-datapath-source/usr/src/modules/openvswitch-datapath/debian/rules
        cd debian/openvswitch-datapath-source/usr/src && tar -c modules | bzip2 -9 > openvswitch-datapath.tar.bz2 && rm -rf modules
        install -m644 debian/openvswitch-pki-server.apache2 debian/openvswitch-pki-server/etc/apache2/sites-available/openvswitch-pki
-       install -m1777 -d debian/corekeeper/var/log/core
 
 install-arch: build-arch
        dh_testdir