summaryrefslogtreecommitdiffstats
path: root/agl-systemd
diff options
context:
space:
mode:
authorRiku Nomoto <riku_nomoto@mail.toyota.co.jp>2020-12-30 15:55:03 +0900
committerRiku Nomoto <riku_nomoto@mail.toyota.co.jp>2020-12-30 16:34:40 +0900
commit96b0b0d6ac11323456912b3148b8d183ee9c627a (patch)
tree5e4668350012285fb831c58ef20d4930421f2a2b /agl-systemd
parentb852ab28854769b90e68a474d479fcde33e5b950 (diff)
Reworked by rearranging agl-systemd's recipe
The current AGL is running the process as root user. Therefore, there is no need to configure the capability. This patch changes the script to not run the capability setting. I'm not sure if these scripts are working as expected now. Toyota will not implement the capability settings this time. This will be worked out in future Production Readiness activities. Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp> Change-Id: Ie425edd64441f7526f0774e75011b594802fbd4a
Diffstat (limited to 'agl-systemd')
-rwxr-xr-xagl-systemd/99-basesystem.rules (renamed from agl-systemd/99-agl.rules)0
-rwxr-xr-xagl-systemd/launch_sm.service5
-rwxr-xr-xagl-systemd/systemd-udev-trigger.service1
3 files changed, 2 insertions, 4 deletions
diff --git a/agl-systemd/99-agl.rules b/agl-systemd/99-basesystem.rules
index dd4e245..dd4e245 100755
--- a/agl-systemd/99-agl.rules
+++ b/agl-systemd/99-basesystem.rules
diff --git a/agl-systemd/launch_sm.service b/agl-systemd/launch_sm.service
index 0a8d591..b1ada76 100755
--- a/agl-systemd/launch_sm.service
+++ b/agl-systemd/launch_sm.service
@@ -1,7 +1,6 @@
[Unit]
Description=launch_sm
-After=setup_refhw.service agl-trigger.service
-
+
[Service]
PermissionsStartOnly=yes
EnvironmentFile=/etc/basesystem/env.txt
@@ -17,6 +16,6 @@ LimitRSS=infinity
LimitCORE=infinity
LimitNOFILE=65536
LimitMSGQUEUE=infinity
-
+
[Install]
WantedBy=multi-user.target
diff --git a/agl-systemd/systemd-udev-trigger.service b/agl-systemd/systemd-udev-trigger.service
index e6431e7..c390f5b 100755
--- a/agl-systemd/systemd-udev-trigger.service
+++ b/agl-systemd/systemd-udev-trigger.service
@@ -18,5 +18,4 @@ ConditionPathIsReadWrite=/sys
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=/etc/basesystem/env.txt
-ExecStartPre=/usr/bin/set_capability.sh
ExecStart=/bin/udevadm trigger --type=subsystems --action=add ; /bin/udevadm trigger --type=devices --action=add