chiark / gitweb /
login/meson.build: require ACL for uaccess rules
authorAndrew Jeddeloh <andrew.jeddeloh@coreos.com>
Thu, 25 Jan 2018 21:17:17 +0000 (13:17 -0800)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:50:19 +0000 (07:50 +0200)
Don't install udev rules that requires the uaccess builtin if systemd is
being built without the uaccess builtin.

src/login/meson.build

index 401741e6be90d4089b83c87f7768350912661d95..d5ec1786adbff8cb37bc7f1f914640e9aff51574 100644 (file)
@@ -13,8 +13,8 @@
 # Lesser General Public License for more details.
 #
 # You should have received a copy of the GNU Lesser General Public License
-# along with elogind; If not, see <http://www.gnu.org/licenses/>.
 
+# along with systemd; If not, see <http://www.gnu.org/licenses/>.
 #if 0 /// rename to elogind
 # 
 # systemd_logind_sources = files('''
@@ -132,19 +132,27 @@ loginctl_sources += files('''
 #                 install : install_polkit,
 #                 install_dir : polkitpolicydir)
 # 
-#         install_data('70-power-switch.rules',
-#                      '70-uaccess.rules',
+#         install_data('70-power-switch.rules', install_dir : udevrulesdir)
+# 
+#         if conf.get('HAVE_ACL') == 1
+#                 install_data('70-uaccess.rules', install_dir : udevrulesdir)
+#         endif
+# 
+#         seat_rules = configure_file(
+#                 input : '71-seat.rules.in',
+#                 output : '71-seat.rules',
+#                 configuration : substs)
+#         install_data(seat_rules,
 #                      install_dir : udevrulesdir)
 # 
-#         foreach file : ['71-seat.rules',
-#                         '73-seat-late.rules']
-#                 gen = configure_file(
-#                         input : file + '.in',
-#                         output : file,
-#                         configuration : substs)
-#                 install_data(gen,
-#                              install_dir : udevrulesdir)
-#         endforeach
+#         custom_target(
+#                 '73-seat-late.rules',
+#                 input : '73-seat-late.rules.m4',
+#                 output: '73-seat-late.rules',
+#                 command : [m4, '-P'] + m4_defines + ['@INPUT@'],
+#                 capture : true,
+#                 install : true,
+#                 install_dir : udevrulesdir)
 # 
 #         custom_target(
 #                 'systemd-user',