Signed-off-by: Xin Shi <shixin21@huawei.com> (cherry picked from commit decc956d9cea842432cea9e6d6f03e520b9b9414)
123 lines
4.4 KiB
Diff
123 lines
4.4 KiB
Diff
From e64cff49bced685b5abeb03e89940314d72e49ae Mon Sep 17 00:00:00 2001
|
|
From: Xin Shi <shixin21@huawei.com>
|
|
Date: Wed, 23 Aug 2023 18:06:49 +0800
|
|
Subject: [PATCH 1/5] embedded: sysuesrs_dir, sysctl_dir, binfmt_dir,
|
|
modules_load_dir reference directories in /usr/lib
|
|
|
|
Signed-off-by: Xin Shi <shixin21@huawei.com>
|
|
---
|
|
embedded/systemd.pc.in | 101 +++++++++++++++++++++++++++++++++++++++++
|
|
1 file changed, 101 insertions(+)
|
|
create mode 100644 embedded/systemd.pc.in
|
|
|
|
diff --git a/embedded/systemd.pc.in b/embedded/systemd.pc.in
|
|
new file mode 100644
|
|
index 0000000..65996bb
|
|
--- /dev/null
|
|
+++ b/embedded/systemd.pc.in
|
|
@@ -0,0 +1,101 @@
|
|
+# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
+#
|
|
+# This file is part of systemd.
|
|
+#
|
|
+# systemd is free software; you can redistribute it and/or modify it
|
|
+# under the terms of the GNU Lesser General Public License as published by
|
|
+# the Free Software Foundation; either version 2.1 of the License, or
|
|
+# (at your option) any later version.
|
|
+
|
|
+# Names with prefixes are preferred, and the run-together names should be
|
|
+# considered deprecated (though there is no plan to remove them). New names
|
|
+# shall have underscores.
|
|
+
|
|
+prefix=/usr
|
|
+root_prefix={{ROOTPREFIX_NOSLASH}}
|
|
+rootprefix=${root_prefix}
|
|
+sysconf_dir={{SYSCONF_DIR}}
|
|
+sysconfdir=${sysconf_dir}
|
|
+
|
|
+systemd_util_dir=${root_prefix}/lib/systemd
|
|
+systemdutildir=${systemd_util_dir}
|
|
+
|
|
+systemd_system_unit_dir=${rootprefix}/lib/systemd/system
|
|
+systemdsystemunitdir=${systemd_system_unit_dir}
|
|
+
|
|
+systemd_system_preset_dir=${rootprefix}/lib/systemd/system-preset
|
|
+systemdsystempresetdir=${systemd_system_preset_dir}
|
|
+
|
|
+systemd_user_unit_dir=${prefix}/lib/systemd/user
|
|
+systemduserunitdir=${systemd_user_unit_dir}
|
|
+
|
|
+systemd_user_preset_dir=${prefix}/lib/systemd/user-preset
|
|
+systemduserpresetdir=${systemd_user_preset_dir}
|
|
+
|
|
+systemd_system_conf_dir=${sysconfdir}/systemd/system
|
|
+systemdsystemconfdir=${systemd_system_conf_dir}
|
|
+
|
|
+systemd_user_conf_dir=${sysconfdir}/systemd/user
|
|
+systemduserconfdir=${systemd_user_conf_dir}
|
|
+
|
|
+systemd_system_unit_path=${systemd_system_conf_dir}:/etc/systemd/system:/run/systemd/system:/usr/local/lib/systemd/system:${systemd_system_unit_dir}:/usr/lib/systemd/system:/lib/systemd/system
|
|
+systemdsystemunitpath=${systemd_system_unit_path}
|
|
+
|
|
+systemd_user_unit_path=${systemd_user_conf_dir}:/etc/systemd/user:/run/systemd/user:/usr/local/lib/systemd/user:/usr/local/share/systemd/user:${systemd_user_unit_dir}:/usr/lib/systemd/user:/usr/share/systemd/user
|
|
+systemduserunitpath=${systemd_user_unit_path}
|
|
+
|
|
+systemd_system_generator_dir=${root_prefix}/lib/systemd/system-generators
|
|
+systemdsystemgeneratordir=${systemd_system_generator_dir}
|
|
+
|
|
+systemd_user_generator_dir=${prefix}/lib/systemd/user-generators
|
|
+systemdusergeneratordir=${systemd_user_generator_dir}
|
|
+
|
|
+systemd_system_generator_path=/run/systemd/system-generators:/etc/systemd/system-generators:/usr/local/lib/systemd/system-generators:${systemd_system_generator_dir}
|
|
+systemdsystemgeneratorpath=${systemd_system_generator_path}
|
|
+
|
|
+systemd_user_generator_path=/run/systemd/user-generators:/etc/systemd/user-generators:/usr/local/lib/systemd/user-generators:${systemd_user_generator_dir}
|
|
+systemdusergeneratorpath=${systemd_user_generator_path}
|
|
+
|
|
+systemd_sleep_dir=${root_prefix}/lib/systemd/system-sleep
|
|
+systemdsleepdir=${systemd_sleep_dir}
|
|
+
|
|
+systemd_shutdown_dir=${root_prefix}/lib/systemd/system-shutdown
|
|
+systemdshutdowndir=${systemd_shutdown_dir}
|
|
+
|
|
+tmpfiles_dir=${prefix}/lib/tmpfiles.d
|
|
+tmpfilesdir=${tmpfiles_dir}
|
|
+
|
|
+sysusers_dir=${prefix}/lib/sysusers.d
|
|
+sysusersdir=${sysusers_dir}
|
|
+
|
|
+sysctl_dir=${prefix}/lib/sysctl.d
|
|
+sysctldir=${sysctl_dir}
|
|
+
|
|
+binfmt_dir=${prefix}/lib/binfmt.d
|
|
+binfmtdir=${binfmt_dir}
|
|
+
|
|
+modules_load_dir=${prefix}/lib/modules-load.d
|
|
+modulesloaddir=${modules_load_dir}
|
|
+
|
|
+catalog_dir=${prefix}/lib/systemd/catalog
|
|
+catalogdir=${catalog_dir}
|
|
+
|
|
+system_uid_max={{SYSTEM_UID_MAX}}
|
|
+systemuidmax=${system_uid_max}
|
|
+system_gid_max={{SYSTEM_GID_MAX}}
|
|
+systemgidmax=${system_gid_max}
|
|
+
|
|
+dynamic_uid_min={{DYNAMIC_UID_MIN}}
|
|
+dynamicuidmin=${dynamic_uid_min}
|
|
+dynamic_uid_max={{DYNAMIC_UID_MAX}}
|
|
+dynamicuidmax=${dynamic_uid_max}
|
|
+
|
|
+container_uid_base_min={{CONTAINER_UID_BASE_MIN}}
|
|
+containeruidbasemin=${container_uid_base_min}
|
|
+container_uid_base_max={{CONTAINER_UID_BASE_MAX}}
|
|
+containeruidbasemax=${container_uid_base_max}
|
|
+
|
|
+Name: systemd
|
|
+Description: systemd System and Service Manager
|
|
+URL: {{PROJECT_URL}}
|
|
+Version: {{PROJECT_VERSION}}
|
|
--
|
|
2.27.0
|
|
|