commit | 90e792a45ac1ca2fbd237df40212308abe90c09f | [log] [tgz] |
---|---|---|
author | Thang Q. Nguyen <thang@os.amperecomputing.com> | Fri Apr 07 16:26:32 2023 +0700 |
committer | Thang Q. Nguyen <thang@os.amperecomputing.com> | Mon Apr 10 01:41:27 2023 +0000 |
tree | d97171c6b0cef29672e42f0443727424480544cd | |
parent | d1d733b5bc0348de3752efeed45d1218cde62f37 [diff] [blame] |
meta-ampere: remove env call from service file We are suppose to use direct executable calls in service files rather than indirections through /bin/env (See Anti-patterns). Tested: - Check related services to work like before Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: Idb494ce781fa1bdcac176cd89612e6016e6e04d9
diff --git a/meta-ampere/meta-jade/recipes-ampere/platform/mtjade-gpio-config/ampere-gpio-poweron@.service b/meta-ampere/meta-jade/recipes-ampere/platform/mtjade-gpio-config/ampere-gpio-poweron@.service index ec2cd68..03a1de7 100644 --- a/meta-ampere/meta-jade/recipes-ampere/platform/mtjade-gpio-config/ampere-gpio-poweron@.service +++ b/meta-ampere/meta-jade/recipes-ampere/platform/mtjade-gpio-config/ampere-gpio-poweron@.service
@@ -6,5 +6,5 @@ [Service] Type=oneshot -ExecStart=/usr/bin/env ampere_gpio_utils.sh power on +ExecStart=/usr/sbin/ampere_gpio_utils.sh power on SyslogIdentifier=ampere_gpio_utils