mirror of
https://github.com/systemd/systemd.git
synced 2024-10-26 08:55:40 +03:00
sysupdated: Disable by default in release builds
Since sysupdated is unstable, we shouldn't build it in release builds unless the distro opts in (i.e. GNOME OS would). But we enable it in development builds, so that it gets exercised in CI and we can easily iterate on it.
This commit is contained in:
parent
f6deab4424
commit
f89e4efe70
12
meson.build
12
meson.build
@ -1611,10 +1611,14 @@ conf.set10('ENABLE_SYSUPDATE', have)
|
||||
if have
|
||||
sysupdate_mode = get_option('sysupdate-mode')
|
||||
if sysupdate_mode == 'default'
|
||||
sysupdate_mode = 'sysupdated'
|
||||
# TODO: Should the default be both? Packagers will need to split
|
||||
# out sub-packages by default then. Maybe default should
|
||||
# cause a build failure instead, so you _have_ to pick one?
|
||||
if conf.get('BUILD_MODE_DEVELOPER') == 1
|
||||
sysupdate_mode = 'sysupdated'
|
||||
# TODO: Should the default be both? Packagers will need to split
|
||||
# out sub-packages by default then. Maybe default should
|
||||
# cause a build failure instead, so you _have_ to pick one?
|
||||
else
|
||||
sysupdate_mode = 'units'
|
||||
endif
|
||||
endif
|
||||
|
||||
conf.set10('ENABLE_SYSUPDATED', sysupdate_mode == 'sysupdated' or sysupdate_mode == 'both')
|
||||
|
Loading…
Reference in New Issue
Block a user