PKGBUILDs/community/ceph/remove-distro-version-detection.patch

13 lines
402 B
Diff
Raw Normal View History

2017-12-09 18:15:01 +00:00
--- a/src/common/util.cc 2017-09-26 18:27:07.000000000 +0200
+++ b/src/common/util.cc 2017-10-05 15:58:14.852647976 +0200
@@ -158,8 +158,7 @@
{
static const map<string, string> kvm = {
{ "distro", "ID=" },
- { "distro_description", "PRETTY_NAME=" },
- { "distro_version", "VERSION_ID=" }
+ { "distro_description", "PRETTY_NAME=" }
};
FILE *fp = fopen("/etc/os-release", "r");