[lxc/lxc] 6d6f0e: meson.build: set `LXC_DISTRO_SYSCONF` when `-Dspec...

0 views
Skip to first unread message

Stéphane Graber

unread,
Jun 2, 2025, 11:22:26 AM6/2/25
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/main
Home: https://github.com/lxc/lxc
Commit: 6d6f0e1b090112442cfdaa79e7f15a8020211016
https://github.com/lxc/lxc/commit/6d6f0e1b090112442cfdaa79e7f15a8020211016
Author: Roman Azarenko <roman.az...@genexis.eu>
Date: 2025-05-31 (Sat, 31 May 2025)

Changed paths:
M meson.build

Log Message:
-----------
meson.build: set `LXC_DISTRO_SYSCONF` when `-Dspecfile=true`

Before the change, the `setup` meson step would fail when disabling the
`install-init-files` option:

$ meson setup -Dinstall-init-files=false build
<snip>
meson.build:936:44: ERROR: Entry LXC_DISTRO_SYSCONF not in configuration data.

This is because setting the `LXC_DISTRO_SYSCONF` option is conditional
and requires `install-init-files` to be enabled.

Meanwhile the `specfile` option (default enabled) also requires the
variable above, resulting in a failure when it is unset.

Amend the conditional to also set `LXC_DISTRO_SYSCONF` when `specfile`
option is `true`.

Fixes: 872db5424363 ("build: add more options for customizing install")
Signed-off-by: Roman Azarenko <roman.az...@genexis.eu>


Commit: 76975058b99252de6f1cfbbc9d3dba9029365287
https://github.com/lxc/lxc/commit/76975058b99252de6f1cfbbc9d3dba9029365287
Author: Stéphane Graber <stgr...@stgraber.org>
Date: 2025-06-02 (Mon, 02 Jun 2025)

Changed paths:
M meson.build

Log Message:
-----------
Merge pull request #4557 from RomanGenexis/meson-specfile-distrosysconfdir

meson.build: set `LXC_DISTRO_SYSCONF` when `-Dspecfile=true`


Compare: https://github.com/lxc/lxc/compare/9ace7b388a0b...76975058b992

To unsubscribe from these emails, change your notification settings at https://github.com/lxc/lxc/settings/notifications
Reply all
Reply to author
Forward
0 new messages