mirror of
https://github.com/openvswitch/ovs
synced 2025-10-17 14:28:02 +00:00
debian: Remove corekeeper package.
The corekeeper package has little or nothing to do with Open vSwitch itself, so remove it.
This commit is contained in:
1
debian/.gitignore
vendored
1
debian/.gitignore
vendored
@@ -2,7 +2,6 @@
|
||||
*.debhelper.log
|
||||
*.substvars
|
||||
/control
|
||||
/corekeeper
|
||||
/copyright
|
||||
/files
|
||||
/nicira-switch
|
||||
|
3
debian/automake.mk
vendored
3
debian/automake.mk
vendored
@@ -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 \
|
||||
|
7
debian/control
vendored
7
debian/control
vendored
@@ -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
|
||||
|
5
debian/corekeeper.cron.daily
vendored
5
debian/corekeeper.cron.daily
vendored
@@ -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
|
64
debian/corekeeper.init
vendored
64
debian/corekeeper.init
vendored
@@ -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
|
1
debian/corekeeper.override
vendored
1
debian/corekeeper.override
vendored
@@ -1 +0,0 @@
|
||||
non-standard-dir-perm
|
1
debian/rules
vendored
1
debian/rules
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user