summaryrefslogtreecommitdiff
path: root/main/lxc/sysconfdir.patch
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-08-30 22:19:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2022-09-13 11:17:57 +0000
commit5e96c04d461920a8f08bb55764fc6ba3f547255f (patch)
tree76a4606d1fa6d6ee5fe8e6e15a8b2b9e009ec9b2 /main/lxc/sysconfdir.patch
parent1c9ffb897ed6182c44e0a6288b038293573613d4 (diff)
downloadaports-5e96c04d461920a8f08bb55764fc6ba3f547255f.zip
main/lxc: upgrade to 5.0.1
Diffstat (limited to 'main/lxc/sysconfdir.patch')
-rw-r--r--main/lxc/sysconfdir.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/main/lxc/sysconfdir.patch b/main/lxc/sysconfdir.patch
new file mode 100644
index 00000000000..503f0b2e8f3
--- /dev/null
+++ b/main/lxc/sysconfdir.patch
@@ -0,0 +1,17 @@
+diff --git a/meson.build b/meson.build
+index 5d1bb36..fbbf271 100644
+--- a/meson.build
++++ b/meson.build
+@@ -117,10 +117,10 @@ conf.set('SYSCONFDIR', sysconfdir)
+
+ # Set sysconfdir
+ fs = import('fs')
+-if fs.is_dir('/etc/sysconfig')
++if false
+ distrosysconfdir = join_paths(sysconfdir, 'sysconfig')
+ conf.set('LXC_DISTRO_SYSCONF', distrosysconfdir)
+-elif fs.is_dir('/etc/default')
++elif true
+ distrosysconfdir = join_paths(sysconfdir, 'default')
+ conf.set('LXC_DISTRO_SYSCONF', distrosysconfdir)
+ else