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
[Unit]
Description=launch_sm
-After=setup_refhw.service agl-trigger.service
-
+
[Service]
PermissionsStartOnly=yes
EnvironmentFile=/etc/basesystem/env.txt
LimitCORE=infinity
LimitNOFILE=65536
LimitMSGQUEUE=infinity
-
+
[Install]
WantedBy=multi-user.target
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