mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Don't fail if optional RPM macros file is missing
With fix for https://pagure.io/freeipa/issue/7951 we started to modify RPM macros in Azure CI environment. Don't fail if the file does not exist anymore like it happens now in Fedora. Fixes: https://pagure.io/freeipa/issue/9347 Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Francisco Trivino <ftrivino@redhat.com>
This commit is contained in:
parent
4acd9fe9f7
commit
779aa6bc11
@ -5,7 +5,7 @@ ENV container=docker LANG=en_US.utf8 LANGUAGE=en_US.utf8 LC_ALL=en_US.utf8
|
||||
ADD dist /root
|
||||
RUN echo 'deltarpm = false' >> /etc/dnf/dnf.conf \
|
||||
&& dnf update -y dnf \
|
||||
&& sed -i 's/%_install_langs \(.*\)/\0:fr/g' /etc/rpm/macros.image-language-conf \
|
||||
&& (sed -i 's/%_install_langs \(.*\)/\0:fr/g' /etc/rpm/macros.image-language-conf ||:) \
|
||||
&& dnf install -y systemd \
|
||||
&& dnf install -y \
|
||||
firewalld \
|
||||
|
@ -7,7 +7,7 @@ ENV container=docker LANG=en_US.utf8 LANGUAGE=en_US.utf8 LC_ALL=en_US.utf8
|
||||
ADD dist /root
|
||||
RUN echo 'deltarpm = false' >> /etc/dnf/dnf.conf \
|
||||
&& dnf update -y dnf \
|
||||
&& sed -i 's/%_install_langs \(.*\)/\0:fr/g' /etc/rpm/macros.image-language-conf \
|
||||
&& (sed -i 's/%_install_langs \(.*\)/\0:fr/g' /etc/rpm/macros.image-language-conf ||:) \
|
||||
&& dnf install -y systemd \
|
||||
&& dnf install -y \
|
||||
firewalld \
|
||||
|
Loading…
Reference in New Issue
Block a user