| |
@@ -0,0 +1,42 @@
|
| |
+ From 13dce68b20af1b2c6bb7898ba0ce74d323bccc16 Mon Sep 17 00:00:00 2001
|
| |
+ From: Neal Gompa <ngompa13@gmail.com>
|
| |
+ Date: Mon, 18 Feb 2019 22:34:17 -0500
|
| |
+ Subject: [PATCH] Revert "- removed unused variable"
|
| |
+
|
| |
+ The variable previously removed is actually used when SELinux is
|
| |
+ enabled.
|
| |
+
|
| |
+ This reverts commit 842721cd470ce5b97316fff250b0c1fa356a00f4.
|
| |
+ ---
|
| |
+ snapper/Lvm.cc | 2 +-
|
| |
+ snapper/Lvm.h | 1 +
|
| |
+ 2 files changed, 2 insertions(+), 1 deletion(-)
|
| |
+
|
| |
+ diff --git a/snapper/Lvm.cc b/snapper/Lvm.cc
|
| |
+ index 5dd0621..a944800 100644
|
| |
+ --- a/snapper/Lvm.cc
|
| |
+ +++ b/snapper/Lvm.cc
|
| |
+ @@ -63,7 +63,7 @@ namespace snapper
|
| |
+ Lvm::Lvm(const string& subvolume, const string& root_prefix, const string& mount_type)
|
| |
+ : Filesystem(subvolume, root_prefix), mount_type(mount_type),
|
| |
+ caps(LvmCapabilities::get_lvm_capabilities()),
|
| |
+ - cache(LvmCache::get_lvm_cache())
|
| |
+ + cache(LvmCache::get_lvm_cache()), sh(NULL)
|
| |
+ {
|
| |
+ if (access(LVCREATEBIN, X_OK) != 0)
|
| |
+ {
|
| |
+ diff --git a/snapper/Lvm.h b/snapper/Lvm.h
|
| |
+ index 5aa3098..5f29dd9 100644
|
| |
+ --- a/snapper/Lvm.h
|
| |
+ +++ b/snapper/Lvm.h
|
| |
+ @@ -115,6 +115,7 @@ namespace snapper
|
| |
+ const string mount_type;
|
| |
+ const LvmCapabilities* caps;
|
| |
+ LvmCache* cache;
|
| |
+ + SelinuxLabelHandle* sh;
|
| |
+
|
| |
+ bool detectThinVolumeNames(const MtabData& mtab_data);
|
| |
+ void activateSnapshot(const string& vg_name, const string& lv_name) const;
|
| |
+ --
|
| |
+ 2.20.1
|
| |
+
|
| |
This PR bumps snapper to 0.8.2, which builds on Fedora 30, and thus fixes the FTBFS issue for F30 Rawhide.
This should also be a safe upgrade for Fedora 28+, too.