From dbad0684b3c991845f0d355db31a81ef33efb48dfe7232db922915c130595885 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Tue, 4 Aug 2020 11:19:19 +0000 Subject: [PATCH] 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 --- aaa_base.changes | 5 +++++ aaa_base.spec | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/aaa_base.changes b/aaa_base.changes index f39a52d..5ad3b6a 100644 --- a/aaa_base.changes +++ b/aaa_base.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 4 11:15:19 UTC 2020 - Thorsten Kukuk + +- Don't create/ship halt.local, systemd support for it was dropped. + ------------------------------------------------------------------- Tue Aug 04 09:14:39 UTC 2020 - werner@suse.de diff --git a/aaa_base.spec b/aaa_base.spec index 0ac0690..82a7269 100644 --- a/aaa_base.spec +++ b/aaa_base.spec @@ -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!