Moved udev rules and systemd service to repository.

Refactoring code to support the multihost physical LEDs design.
https://gerrit.openbmc.org/c/openbmc/docs/+/55230

Moved the udev rules (70-leds.rules) and systemd service from
meta-phosphor to phosphor-led-sysfs repository. This daemon will
handle the udev events and service instead of copying from machine
layer.

Tested : Tested and verfied in Facebook YosemiteV2 platform.

Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com>
Change-Id: I978a135597eaa7f715af033b31cb50867e609710
diff --git a/meson.build b/meson.build
index 29c594c..c826d00 100644
--- a/meson.build
+++ b/meson.build
@@ -18,6 +18,15 @@
     phosphor_dbus_interfaces_dep,
 ]
 
+udevdir = dependency('udev').get_variable(pkgconfig: 'udevdir')
+install_data(['70-leds.rules'], install_dir : udevdir / 'rules.d')
+
+systemd = dependency('systemd')
+install_data(
+  ['xyz.openbmc_project.led.controller@.service'],
+  install_dir: systemd.get_variable(pkgconfig: 'systemdsystemunitdir')
+)
+
 sources = [
     'argument.cpp',
     'controller.cpp',
@@ -31,7 +40,7 @@
     implicit_include_directories: true,
     dependencies: deps,
     install: true,
-    install_dir: '/usr/sbin'
+    install_dir: '/usr/libexec/phosphor-led-sysfs'
 )
 
 build_tests = get_option('tests')