mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 20:30:26 -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:
1 parent
4acd9fe9f7
commit
779aa6bc11
2 files changed
+2
-2
No files matched your search
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user