Skip to content

Commit

Permalink
Merge pull request #5755 from KKoukiou/revert-fix-for-bz-2295482
Browse files Browse the repository at this point in the history
infra: Revert "infra: temporarily install selinux-policy-targeted in container
  • Loading branch information
KKoukiou authored Jul 12, 2024
2 parents 0e515f5 + b25605f commit 5f9b14a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
5 changes: 0 additions & 5 deletions dockerfile/anaconda-ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ RUN set -ex; \
fi; \
# Update the base container packages
dnf update -y; \
# FIXME
# https://bugzilla.redhat.com/show_bug.cgi?id=2295428
# https://issues.redhat.com/browse/RHEL-46558
# Remove selinux-policy targeted when the rhbz / RHEL issue above is fixed
# Install rest of the dependencies
dnf install -y \
/usr/bin/xargs \
Expand All @@ -61,7 +57,6 @@ RUN set -ex; \
bzip2 \
rpm-ostree \
python3-pip \
selinux-policy-targeted \
rsync \
# Need to have restorecon for the tests execution
policycoreutils; \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ def test_set_rpm_macros_default(self, mock_rpm):
data = PackagesConfigurationData()

macros = [
('__dbi_htconfig', 'hash nofsync %{__dbi_other} %{__dbi_perms}'),
('__file_context_path', '/etc/selinux/targeted/contexts/files/file_contexts')
('__dbi_htconfig', 'hash nofsync %{__dbi_other} %{__dbi_perms}')
]

task = self._run_task(data)
Expand All @@ -74,7 +73,6 @@ def test_set_rpm_macros_exclude_docs(self, mock_rpm):
macros = [
('__dbi_htconfig', 'hash nofsync %{__dbi_other} %{__dbi_perms}'),
('_excludedocs', '1'),
('__file_context_path', '/etc/selinux/targeted/contexts/files/file_contexts')
]

task = self._run_task(data)
Expand All @@ -88,7 +86,6 @@ def test_set_rpm_macros_install_langs(self, mock_rpm):
macros = [
('__dbi_htconfig', 'hash nofsync %{__dbi_other} %{__dbi_perms}'),
('_install_langs', 'en:es'),
('__file_context_path', '/etc/selinux/targeted/contexts/files/file_contexts')
]

task = self._run_task(data)
Expand All @@ -102,7 +99,6 @@ def test_set_rpm_macros_no_install_langs(self, mock_rpm):
macros = [
('__dbi_htconfig', 'hash nofsync %{__dbi_other} %{__dbi_perms}'),
('_install_langs', '%{nil}'),
('__file_context_path', '/etc/selinux/targeted/contexts/files/file_contexts')
]

task = self._run_task(data)
Expand Down

0 comments on commit 5f9b14a

Please sign in to comment.