aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-installer/anaconda/files/0011-disable-audit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-installer/anaconda/files/0011-disable-audit.patch')
-rw-r--r--recipes-installer/anaconda/files/0011-disable-audit.patch59
1 files changed, 0 insertions, 59 deletions
diff --git a/recipes-installer/anaconda/files/0011-disable-audit.patch b/recipes-installer/anaconda/files/0011-disable-audit.patch
deleted file mode 100644
index dceed78..0000000
--- a/recipes-installer/anaconda/files/0011-disable-audit.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-From 078ddfd93bbcb6e74b1c493615561d56e46bc2da Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <hongxu.jia@windriver.com>
-Date: Tue, 25 Jun 2019 11:23:05 +0800
-Subject: [PATCH] disable audit
-
-Upstream-Status: Inappropriate [oe specific]
-
-Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
----
- configure.ac | 3 ---
- pyanaconda/core/configuration/system.py | 2 +-
- pyanaconda/isys/Makefile.am | 6 ------
- 3 files changed, 1 insertion(+), 10 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 2321b62..dd1ad59 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -77,9 +77,6 @@ AC_CHECK_FUNCS([getcwd memset mkdir strchr strdup],
- [],
- [ANACONDA_SOFT_FAILURE([Function $ac_func not found.])])
-
--AC_CHECK_LIB([audit], [audit_open], [:],
-- [ANACONDA_SOFT_FAILURE([libaudit not found])])
--
- AM_PATH_PYTHON(python_required_version)
-
- # Check for the python extension paths
-diff --git a/pyanaconda/core/configuration/system.py b/pyanaconda/core/configuration/system.py
-index 77fae1f..e35da57 100644
---- a/pyanaconda/core/configuration/system.py
-+++ b/pyanaconda/core/configuration/system.py
-@@ -76,7 +76,7 @@ class SystemSection(Section):
- @property
- def can_audit(self):
- """Can we run the audit daemon?"""
-- return self._is_boot_iso
-+ return False
-
- @property
- def can_set_hardware_clock(self):
-diff --git a/pyanaconda/isys/Makefile.am b/pyanaconda/isys/Makefile.am
-index 3318eb8..227deda 100644
---- a/pyanaconda/isys/Makefile.am
-+++ b/pyanaconda/isys/Makefile.am
-@@ -28,10 +28,4 @@ _isys_la_LDFLAGS = -module -avoid-version
- _isys_la_LIBADD = $(PYTHON3_LIBS)
- _isys_la_SOURCES = isys.c
-
--auditddir = $(libexecdir)/$(PACKAGE_NAME)
--auditd_PROGRAMS = auditd
--auditd_SOURCES = auditd.c
--auditd_CFLAGS = $(SELINUX_CFLAGS)
--auditd_LDFLAGS = -laudit
--
- MAINTAINERCLEANFILES = Makefile.in
---
-2.7.4
-