From 8b240de840dd96fda6caf14786b877e00ff557778f159fd9d66faa53ba3ef49a Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Thu, 28 Mar 2019 16:59:24 +0000 Subject: [PATCH 1/4] Accepting request 689420 from home:cyphar:lxc - Add workaround for pre-15 distros, where _sharedstatedir was inexplicably /usr/com, to use the correct directory of /var/lib. OBS-URL: https://build.opensuse.org/request/show/689420 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxcfs?expand=0&rev=18 --- lxcfs.changes | 2 ++ lxcfs.spec | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/lxcfs.changes b/lxcfs.changes index f9259b9..5b77d3a 100644 --- a/lxcfs.changes +++ b/lxcfs.changes @@ -4,6 +4,8 @@ Tue Mar 26 02:28:48 UTC 2019 - Aleksa Sarai - Update to version 3.0.3. The changelog is fairly significant from 2.x, but the main difference is tha the PAM module has been moved to the LXC project, and is no longer hosted in lxcfs. +- Add workaround for pre-15 distros, where _sharedstatedir was inexplicably + /usr/com, to use the correct directory of /var/lib. ------------------------------------------------------------------- Tue Mar 26 00:09:22 UTC 2019 - Aleksa Sarai diff --git a/lxcfs.spec b/lxcfs.spec index 4852289..b979262 100644 --- a/lxcfs.spec +++ b/lxcfs.spec @@ -16,6 +16,11 @@ # +%if 0%{suse_version} < 1500 +# On pre-15 SLE versions, _sharedstatedir was /usr/com -- which is just wrong. +%define _sharedstatedir /var/lib +%endif + Name: lxcfs Version: 3.0.3 Release: 0 From 16e3efb0bd89bad173d25a3a524cf364e2ee1ee30158f4e7b9d80ba03066524b Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Thu, 28 Mar 2019 21:48:53 +0000 Subject: [PATCH 2/4] Updating link to change in openSUSE:Factory/lxcfs revision 6.0 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxcfs?expand=0&rev=0ab933b2e92738d827abadeab84e0007 --- lxcfs.changes | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lxcfs.changes b/lxcfs.changes index 5b77d3a..ae45aec 100644 --- a/lxcfs.changes +++ b/lxcfs.changes @@ -1,6 +1,13 @@ ------------------------------------------------------------------- Tue Mar 26 02:28:48 UTC 2019 - Aleksa Sarai +- Update to version 3.0.3. The changelog is fairly significant from 2.x, but + the main difference is tha the PAM module has been moved to the LXC project, + and is no longer hosted in lxcfs. + +------------------------------------------------------------------- +Tue Mar 26 02:28:48 UTC 2019 - Aleksa Sarai + - Update to version 3.0.3. The changelog is fairly significant from 2.x, but the main difference is tha the PAM module has been moved to the LXC project, and is no longer hosted in lxcfs. From 36b5c7c1ec22b43c0b6885657ba78f21da44421bd4006e382e7d9a6d58a8a871 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Thu, 28 Mar 2019 21:48:53 +0000 Subject: [PATCH 3/4] Accepting request 689181 from Virtualization:containers baserev update by copy to link target OBS-URL: https://build.opensuse.org/request/show/689181 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxcfs?expand=0&rev=19 --- lxcfs.changes | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lxcfs.changes b/lxcfs.changes index ae45aec..5b77d3a 100644 --- a/lxcfs.changes +++ b/lxcfs.changes @@ -1,13 +1,6 @@ ------------------------------------------------------------------- Tue Mar 26 02:28:48 UTC 2019 - Aleksa Sarai -- Update to version 3.0.3. The changelog is fairly significant from 2.x, but - the main difference is tha the PAM module has been moved to the LXC project, - and is no longer hosted in lxcfs. - -------------------------------------------------------------------- -Tue Mar 26 02:28:48 UTC 2019 - Aleksa Sarai - - Update to version 3.0.3. The changelog is fairly significant from 2.x, but the main difference is tha the PAM module has been moved to the LXC project, and is no longer hosted in lxcfs. From ced374fdc4461b8cedfe554e277be7ad03039e5556a6855b53b902c03e497b22 Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Tue, 9 Apr 2019 16:48:21 +0000 Subject: [PATCH 4/4] Accepting request 692669 from home:cyphar:lxc - Add workaround for pre-15 distros, where _sharedstatedir was inexplicably /usr/com, to use the correct directory of /var/lib. OBS-URL: https://build.opensuse.org/request/show/692669 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxcfs?expand=0&rev=20 --- lxcfs.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxcfs.spec b/lxcfs.spec index b979262..36c7ad7 100644 --- a/lxcfs.spec +++ b/lxcfs.spec @@ -16,8 +16,8 @@ # -%if 0%{suse_version} < 1500 # On pre-15 SLE versions, _sharedstatedir was /usr/com -- which is just wrong. +%if 0%{suse_version} < 1500 %define _sharedstatedir /var/lib %endif