]> git.pld-linux.org Git - packages/rc-scripts.git/commitdiff
- merge msg cache spec changes from AC-branch
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 26 Sep 2006 23:50:31 +0000 (23:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rc-scripts.spec -> 1.239

rc-scripts.spec

index 255fb24101c06126df06c9fc3b79746ae6ca5b32..bb255055a748b8e9429d4459e5e0567d8935eae8 100644 (file)
@@ -148,6 +148,7 @@ for i in 0 1 6; do
        ln -s ../init.d/network $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K90network
        ln -s ../init.d/allowlogin $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K01allowlogin
        ln -s ../init.d/sys-chroots $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K01sys-chroots
+       ln -s ../init.d/local $RPM_BUILD_ROOT/etc/rc.d/rc$i.d/K01local
 done
 
 > $RPM_BUILD_ROOT/var/log/dmesg
@@ -158,6 +159,9 @@ ln -nfs rc.d/init.d $RPM_BUILD_ROOT/etc/init.d
 # in static-routes can be also rules:
 ln -s static-routes $RPM_BUILD_ROOT/etc/sysconfig/static-rules
 
+# msg cache
+touch $RPM_BUILD_ROOT/etc/rc.d/.rc-scripts.cache
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -170,9 +174,11 @@ if [ -f /etc/inittab.rpmsave ]; then
        mv -f /etc/inittab.rpmsave /etc/inittab
 fi
 touch /var/log/dmesg
-chmod 000 /var/log/dmesg
 chown root:root /var/log/dmesg
 chmod 640 /var/log/dmesg
+touch /etc/rc.d/.rc-scripts.cache
+chmod 644 /etc/rc.d/.rc-scripts.cache
+chown root:root /etc/rc.d/.rc-scripts.cache
 
 # move network interfaces description files to new location
 %triggerpostun -- initscripts
@@ -210,10 +216,10 @@ mv -f /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/interfaces
 %attr(754,root,root) /etc/rc.d/rc.init
 %attr(754,root,root) /etc/rc.d/rc.sysinit
 %attr(754,root,root) /etc/rc.d/rc.shutdown
-
 %attr(754,root,root) /etc/rc.d/rc?.d/K??allowlogin
 %attr(754,root,root) /etc/rc.d/rc?.d/K??cpusets
 %attr(754,root,root) /etc/rc.d/rc?.d/K??killall
+%attr(754,root,root) /etc/rc.d/rc?.d/K??local
 %attr(754,root,root) /etc/rc.d/rc?.d/K??network
 %attr(754,root,root) /etc/rc.d/rc?.d/K??random
 %attr(754,root,root) /etc/rc.d/rc?.d/K??single
@@ -228,6 +234,8 @@ mv -f /etc/sysconfig/network-scripts/ifcfg-* /etc/sysconfig/interfaces
 %attr(754,root,root) /etc/rc.d/rc?.d/S??sys-chroots
 %attr(754,root,root) /etc/rc.d/rc?.d/S??timezone
 
+%ghost /etc/rc.d/.rc-scripts.cache
+
 %attr(755,root,root) /etc/profile.d/lang.*sh
 
 %attr(755,root,root) %{_bindir}/doexec
This page took 0.092505 seconds and 4 git commands to generate.