From 14c3b13622af672ca0868dcab4e0e4c591dd70fb Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 9 Nov 2010 10:28:13 -0800 Subject: [PATCH] debian: Remove corekeeper package. The corekeeper package has little or nothing to do with Open vSwitch itself, so remove it. --- debian/.gitignore | 1 - debian/automake.mk | 3 -- debian/control | 7 ---- debian/corekeeper.cron.daily | 5 --- debian/corekeeper.init | 64 ------------------------------------ debian/corekeeper.override | 1 - debian/rules | 1 - 7 files changed, 82 deletions(-) delete mode 100755 debian/corekeeper.cron.daily delete mode 100755 debian/corekeeper.init delete mode 100644 debian/corekeeper.override diff --git a/debian/.gitignore b/debian/.gitignore index 24e62d94..746fc122 100644 --- a/debian/.gitignore +++ b/debian/.gitignore @@ -2,7 +2,6 @@ *.debhelper.log *.substvars /control -/corekeeper /copyright /files /nicira-switch diff --git a/debian/automake.mk b/debian/automake.mk index 7c73831a..a423c6b0 100644 --- a/debian/automake.mk +++ b/debian/automake.mk @@ -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 \ diff --git a/debian/control b/debian/control index 5f50cc8c..cae97e68 100644 --- a/debian/control +++ b/debian/control @@ -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 index badc192d..00000000 --- a/debian/corekeeper.cron.daily +++ /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 index b544568e..00000000 --- a/debian/corekeeper.init +++ /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 -# 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 index 32f34ec0..00000000 --- a/debian/corekeeper.override +++ /dev/null @@ -1 +0,0 @@ -non-standard-dir-perm diff --git a/debian/rules b/debian/rules index 8e7ad1e8..b1f9065c 100755 --- a/debian/rules +++ b/debian/rules @@ -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 -- 2.30.2