Overview

Request 543847 accepted

- Introduce new %_fillupdir macro for fillup-templates location
- Set %_fillupdir macro to /usr/share/fillup-templates
- Change fillup macros to support new %_fillupdir in addition
to old /var/adm/fillup-templates location

- Make %post compatibility symlink creation more resiliant

Loading...

Dominique Leuenberger's avatar
+    SYSC_TEMPLATE=%{_fillupdir}/sysconfig.$PNAME$SUBPNAME \
+    # If template not in new %{_fillupdir}, fallback to old TEMPLATE_DIR
+    if [ ! -f $SYSC_TEMPLATE ] ; then \
+        TEMPLATE_DIR=/var/adm/fillup-templates \
+        SYSC_TEMPLATE=$TEMPLATE_DIR/sysconfig.$PNAME$SUBPNAME \
+    fi \

there is a \ missing after the COMMENT line - the resulting fillup_onlu macro stops after the comment


Anonymous User's avatar

This comment has been deleted


Dominique Leuenberger's avatar

are you sure this is how RPM macro expansion works?

Request History
Richard Brown's avatar

RBrownSUSE created request

- Introduce new %_fillupdir macro for fillup-templates location
- Set %_fillupdir macro to /usr/share/fillup-templates
- Change fillup macros to support new %_fillupdir in addition
to old /var/adm/fillup-templates location

- Make %post compatibility symlink creation more resiliant


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto added repo-checker as a reviewer

Please review build success


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Staging Bot's avatar

staging-bot set openSUSE:Factory:Staging:B as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:B"


Staging Bot's avatar

staging-bot accepted review

Picked openSUSE:Factory:Staging:B


Saul Goodman's avatar

licensedigger accepted review

ok


Repo Checker's avatar

repo-checker accepted review

cycle and install check passed


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse approved review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse accepted request

Accept to openSUSE:Factory

openSUSE Build Service is sponsored by