Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This version of systemd replaces autotools with meson as its build system. Note: Cross building with meson is not as straightforward as autotools since meson does not support the classic gcc tupple. Instead it requires a cross build configuration file which details the cross toolchain. Meaning, that anything that needs to be built using meson must reference a common meson cross configuration file. To do this, we simply put the meson cross configuration file in the global config directory for all builds to reference. For now, a CFG variable which allows to reference the config/ directory must be manually added to the config/config file until the buildgear tool automatically exports it.
- Loading branch information
Showing
2 changed files
with
57 additions
and
29 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
systemd/0001-meson-do-not-create-systemd-user-sessions.service-if.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
From 3bd469546b735b25255fba7163a8a43777fa5f93 Mon Sep 17 00:00:00 2001 | ||
From: Yu Watanabe <watanabe.yu+github@gmail.com> | ||
Date: Tue, 31 Oct 2017 16:20:53 +0900 | ||
Subject: [PATCH] meson: do not create systemd-user-sessions.service if PAM is | ||
disabled | ||
|
||
Fixes #7227. | ||
--- | ||
units/meson.build | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/units/meson.build b/units/meson.build | ||
index 4e2ae3f30..5772a27ca 100644 | ||
--- a/units/meson.build | ||
+++ b/units/meson.build | ||
@@ -208,7 +208,7 @@ in_units = [ | ||
'multi-user.target.wants/ graphical.target.wants/ rescue.target.wants/'], | ||
['systemd-update-utmp.service', 'ENABLE_UTMP', | ||
'sysinit.target.wants/'], | ||
- ['systemd-user-sessions.service', '', | ||
+ ['systemd-user-sessions.service', 'HAVE_PAM', | ||
'multi-user.target.wants/'], | ||
['systemd-vconsole-setup.service', 'ENABLE_VCONSOLE'], | ||
['systemd-volatile-root.service', ''], | ||
-- | ||
2.15.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters