aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-07-29 13:44:30 -0400
committerBill Nottingham <notting@redhat.com>2008-07-29 13:44:30 -0400
commit41f09c72d1de3281adbe3574a7bb929f0735ba44 (patch)
tree1854af0d1034e9e2110bb8b3615f2c1ce3c0f80b
parent1c27e9e64ba2bec2868da849e86b227b56f03257 (diff)
downloadinitscripts-41f09c72d1de3281adbe3574a7bb929f0735ba44.tar
initscripts-41f09c72d1de3281adbe3574a7bb929f0735ba44.tar.gz
initscripts-41f09c72d1de3281adbe3574a7bb929f0735ba44.tar.bz2
initscripts-41f09c72d1de3281adbe3574a7bb929f0735ba44.tar.xz
initscripts-41f09c72d1de3281adbe3574a7bb929f0735ba44.zip
Move debug stuff to its own package.
-rw-r--r--initscripts.spec17
1 files changed, 16 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 48acebb5..a15c4e8d 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -47,6 +47,17 @@ your Red Hat or Fedora system, change runlevels, and shut the system down
cleanly. Initscripts also contains the scripts that activate and
deactivate most network interfaces.
+%package -n debugmode
+Summary: Scripts for running in debugging mode
+Requires: initscripts
+Group: System Environment/Base
+
+%description -n debugmode
+The debugmode package contains some basic scripts that are used to run
+the system in a debugging mode.
+
+Currently, this consists of various memory checking code.
+
%prep
%setup -q
@@ -119,7 +130,6 @@ rm -rf $RPM_BUILD_ROOT
%dir /etc/sysconfig/network-scripts
%config(noreplace) %verify(not md5 mtime size) /etc/adjtime
%config(noreplace) /etc/sysconfig/init
-%config(noreplace) /etc/sysconfig/debug
%config(noreplace) /etc/sysconfig/netconsole
%config(noreplace) /etc/sysconfig/readonly-root
/etc/sysconfig/network-scripts/ifdown
@@ -194,6 +204,7 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) /etc/rc.d/rc.local
%config /etc/rc.d/rc.sysinit
%config(noreplace) /etc/sysctl.conf
+%exclude /etc/profile.d/debug*
%config /etc/profile.d/*
/usr/sbin/sys-unconfig
/sbin/setsysfont
@@ -237,6 +248,10 @@ rm -rf $RPM_BUILD_ROOT
%ghost %attr(0664,root,utmp) /var/log/wtmp
%ghost %attr(0664,root,utmp) /var/run/utmp
+%files -n debugmode
+%config(noreplace) /etc/sysconfig/debug
+%config /etc/profile.d/debug*
+
%changelog
* Mon Jul 14 2008 Bill Nottingham <notting@redhat.com> - 8.79-1
- fix mcheck stuff to be installed correctly