aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-10-14 14:52:38 -0400
committerBill Nottingham <notting@redhat.com>2010-10-14 14:52:38 -0400
commit085379e516dee15cd3a8aeea77b10c0178c5c788 (patch)
treecc1642b978cffda5258aac79614e3ce7be620fe0
parent5a0f7b4452d97ea9f16094c0b445ce94ffccb557 (diff)
downloadinitscripts-085379e516dee15cd3a8aeea77b10c0178c5c788.tar
initscripts-085379e516dee15cd3a8aeea77b10c0178c5c788.tar.gz
initscripts-085379e516dee15cd3a8aeea77b10c0178c5c788.tar.bz2
initscripts-085379e516dee15cd3a8aeea77b10c0178c5c788.tar.xz
initscripts-085379e516dee15cd3a8aeea77b10c0178c5c788.zip
Create a 'legacy' subpackage for use with older init daemons.
This will dual-own files for now... various ones will fall out of the main package as systemd no longer needs them.
-rw-r--r--initscripts.spec24
1 files changed, 24 insertions, 0 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 55ac44d3..c837be56 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -66,6 +66,15 @@ 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 legacy
+Summary: Support for legacy booting methods
+Requires: initscripts
+Group System Environment/Base
+
+%description legacy
+The initscripts-legacy package contains basic scripts that may be
+required to boot the system using older init systems
+
%package -n debugmode
Summary: Scripts for running in debugging mode
Requires: initscripts
@@ -274,6 +283,21 @@ rm -rf $RPM_BUILD_ROOT
%ghost %attr(0664,root,utmp) /var/log/wtmp
%ghost %attr(0664,root,utmp) /var/run/utmp
+%files legacy
+%defattr(-,root,root)
+%config(noreplace) /etc/inittab
+%dir /etc/rc.d
+%dir /etc/rc.d/rc[0-9].d
+%config(missingok) /etc/rc.d/rc[0-9].d/*
+/etc/rc[0-9].d
+/etc/rc
+%dir /etc/rc.d/init.d
+/etc/rc.sysinit
+/etc/rc.d/init.d/*
+/etc/rc.d/rc
+/etc/rc.d/rc.sysinit
+/lib/udev/rules.d/*
+
%files -n debugmode
%defattr(-,root,root)
%config(noreplace) /etc/sysconfig/debug