Skip to content

Commit

Permalink
postprocess: Use --refresh now
Browse files Browse the repository at this point in the history
This drops a deprecation warning.

At this point, I think we can hard require the new policycoreutils.
  • Loading branch information
cgwalters committed Jun 21, 2023
1 parent 526ea97 commit 4de52c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libpriv/rpmostree-postprocess.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 4de52c4

Please sign in to comment.