From 9ef3d30d9b5c6c8dd8fe72d7aaad499fcda6192a Mon Sep 17 00:00:00 2001
From: wangyueliang <wangyueliang@kylinos.cn>
Date: Mon, 18 Sep 2023 17:29:08 +0800
Subject: [PATCH] fix compose error for selinux

---
 src/libpriv/rpmostree-postprocess.cxx | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/libpriv/rpmostree-postprocess.cxx b/src/libpriv/rpmostree-postprocess.cxx
index bfadaa7..668b06e 100644
--- a/src/libpriv/rpmostree-postprocess.cxx
+++ b/src/libpriv/rpmostree-postprocess.cxx
@@ -395,13 +395,6 @@ postprocess_final (int rootfs_dfd, rpmostreecxx::Treefile &treefile, gboolean un
                     error);
       }
 
-      /* Temporary workaround for https://github.com/openshift/os/issues/1036. */
-      {
-        rust::Vec child_argv = { rust::String ("semodule"), rust::String ("-n"),
-                                 rust::String ("--rebuild-if-modules-changed") };
-        ROSCXX_TRY (bubblewrap_run_sync (rootfs_dfd, child_argv, false, (bool)unified_core_mode),
-                    error);
-      }
     }
 
   auto container = treefile.get_container ();
-- 
2.25.1

