From f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 2 Feb 2023 14:10:02 +0000 Subject: Work --- repo/lxc/sysconfdir.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 repo/lxc/sysconfdir.patch (limited to 'repo/lxc/sysconfdir.patch') diff --git a/repo/lxc/sysconfdir.patch b/repo/lxc/sysconfdir.patch new file mode 100644 index 0000000..503f0b2 --- /dev/null +++ b/repo/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 -- cgit v1.2.1