From 4de52c41c5ec8f348cec9f30613d4e30ff0fbc71 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 19 Jun 2023 16:42:15 -0400 Subject: [PATCH] postprocess: Use --refresh now This drops a deprecation warning. At this point, I think we can hard require the new policycoreutils. --- src/libpriv/rpmostree-postprocess.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libpriv/rpmostree-postprocess.cxx b/src/libpriv/rpmostree-postprocess.cxx index bfadaa73dd..9b38da931a 100644 --- a/src/libpriv/rpmostree-postprocess.cxx +++ b/src/libpriv/rpmostree-postprocess.cxx @@ -397,8 +397,8 @@ postprocess_final (int rootfs_dfd, rpmostreecxx::Treefile &treefile, gboolean un /* 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") }; + rust::Vec child_argv + = { rust::String ("semodule"), rust::String ("-n"), rust::String ("--refresh") }; ROSCXX_TRY (bubblewrap_run_sync (rootfs_dfd, child_argv, false, (bool)unified_core_mode), error); }