SHA256
1
0
forked from pool/aaa_base

Accepting request 824320 from home:kukuk:branches:Base:System

- Don't create/ship halt.local, systemd support for it was dropped.

OBS-URL: https://build.opensuse.org/request/show/824320
OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=703
This commit is contained in:
Thorsten Kukuk 2020-08-04 11:19:19 +00:00 committed by Git OBS Bridge
parent 8af7dab5b6
commit dbad0684b3
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Aug 4 11:15:19 UTC 2020 - Thorsten Kukuk <kukuk@suse.com>
- Don't create/ship halt.local, systemd support for it was dropped.
-------------------------------------------------------------------
Tue Aug 04 09:14:39 UTC 2020 - werner@suse.de

View File

@ -123,9 +123,8 @@ esac
# make sure it does not creep in again
test -d $RPM_BUILD_ROOT/root/.gnupg && exit 1
mkdir -p $RPM_BUILD_ROOT/etc/init.d
for i in boot.local after.local halt.local ; do
echo "#!bin/bash" > $RPM_BUILD_ROOT/etc/init.d/$i
chmod 755 $RPM_BUILD_ROOT/etc/init.d/$i
for i in boot.local after.local ; do
touch $RPM_BUILD_ROOT/etc/init.d/$i
done
#
install -d -m 755 %buildroot%{_libexecdir}/initscripts/legacy-actions
@ -200,7 +199,6 @@ mkdir -p %{buildroot}%{_fillupdir}
%config /etc/ttytype
%ghost /etc/init.d/boot.local
%ghost /etc/init.d/after.local
%ghost /etc/init.d/halt.local
%ghost %config /etc/inittab
# don't forget to also change aaa_base.post, boot.cleanup
# and /etc/permissions!