SHA256
3
0
forked from pool/aaa_base

Accepting request 545877 from home:dimstar:Factory

- Fix installation of fillup-templates.

- Replace references to /var/adm/fillup-templates with new

OBS-URL: https://build.opensuse.org/request/show/545877
OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=597
This commit is contained in:
Dirk Mueller 2017-11-27 09:57:16 +00:00 committed by Git OBS Bridge
parent 13c524e93a
commit fb56230291
2 changed files with 11 additions and 1 deletions

View File

@ -1,7 +1,12 @@
-------------------------------------------------------------------
Mon Nov 27 08:44:34 UTC 2017 - dimstar@opensuse.org
- Fix installation of fillup-templates.
-------------------------------------------------------------------
Thu Nov 23 13:39:19 UTC 2017 - rbrown@suse.com
- Replace references to /var/adm/fillup-templates with new
- Replace references to /var/adm/fillup-templates with new
%_fillupdir macro (boo#1069468)
-------------------------------------------------------------------

View File

@ -135,6 +135,11 @@ install -d -m 755 %buildroot/usr/lib/initscripts/legacy-actions
# keep as ghost for migration
touch %buildroot/etc/inittab
%if "%{_fillupdir}" != "/var/adm/fillup-templates"
mkdir -p %{buildroot}$(dirname %{_fillupdir})
mv %{buildroot}/var/adm/fillup-templates %{buildroot}%{_fillupdir}
%endif
%pre -f aaa_base.pre
%post -f aaa_base.post