]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
initscripts: Fix installation of rc.local script.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 26 Jan 2013 21:27:33 +0000 (22:27 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 26 Jan 2013 21:36:40 +0000 (22:36 +0100)
initscripts/initscripts.nm

index 0941a42fe8b4e1cab569edb3500b9c5726520fdd..a8ad505dc188b995260b7350d1d56ea6cf2c9229 100644 (file)
@@ -6,7 +6,7 @@
 name       = initscripts
 epoch      = 1
 version    = 2.99
-release    = 18
+release    = 19
 
 groups     = System/Boot
 url        =
@@ -14,7 +14,7 @@ license    = GPLv3+
 summary    = The set of scripts that initalize the system.
 
 description
-       The initscripts package contains the basic system scripts used to boot \
+       The initscripts package contains the basic system scripts used to boot
        your system and shut the system down cleanly.
 end
 
@@ -47,7 +47,8 @@ build
                cd src && make install clean DESTDIR=%{BUILDROOT}
 
                # Install rc.local
-               install -v -m 755 %{DIR_SOURCE}/rc.local %{BUILDROT}/etc/rc.local
+               mkdir -pv %{BUILDROOT}%{sysconfdir}
+               install -v -m 755 %{DIR_SOURCE}/rc.local %{BUILDROOT}%{sysconfdir}/rc.local
 
                # Install udev rules
                mkdir -pv %{BUILDROOT}%{prefix}/lib/udev/rules.d/
@@ -81,7 +82,7 @@ packages
                        filesystem  < 002
                end
 
-               configfiles
+               datafiles
                        /etc/rc.local
                end