From: Arvin Schnell Date: Wed, 3 Sep 2025 14:53:41 +0000 (+0200) Subject: - call grub with --refresh after read-only change X-Git-Tag: v0.13.0~4^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=30c2a24e4f144591b37ba581c33f062a332f7472;p=thirdparty%2Fsnapper.git - call grub with --refresh after read-only change --- diff --git a/snapper/PluginsImpl.cc b/snapper/PluginsImpl.cc index aff46dd9..eeed1d5c 100644 --- a/snapper/PluginsImpl.cc +++ b/snapper/PluginsImpl.cc @@ -220,7 +220,7 @@ namespace snapper break; case Stage::POST_ACTION: - grub(subvolume, filesystem, "--enable", report); + grub(subvolume, filesystem, "--refresh", report); run_scripts({ "set-read-only-post", subvolume, filesystem->fstype(), std::to_string(num) }, report); break;