diff options
| -rw-r--r-- | recipes-tpm/trousers/trousers_git.bb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/recipes-tpm/trousers/trousers_git.bb b/recipes-tpm/trousers/trousers_git.bb index 5737de3..6671808 100644 --- a/recipes-tpm/trousers/trousers_git.bb +++ b/recipes-tpm/trousers/trousers_git.bb | |||
| @@ -39,7 +39,6 @@ do_install_append() { | |||
| 39 | install -m 0644 ${WORKDIR}/tcsd.service ${D}${systemd_unitdir}/system/ | 39 | install -m 0644 ${WORKDIR}/tcsd.service ${D}${systemd_unitdir}/system/ |
| 40 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/tcsd.service | 40 | sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/tcsd.service |
| 41 | fi | 41 | fi |
| 42 | chown -R root:root ${D}${sysconfdir}/tcsd.conf | ||
| 43 | } | 42 | } |
| 44 | 43 | ||
| 45 | CONFFILES_${PN} += "${sysconfig}/tcsd.conf" | 44 | CONFFILES_${PN} += "${sysconfig}/tcsd.conf" |
| @@ -107,8 +106,8 @@ INITSCRIPT_NAME = "trousers" | |||
| 107 | INITSCRIPT_PARAMS = "start 99 2 3 4 5 . stop 19 0 1 6 ." | 106 | INITSCRIPT_PARAMS = "start 99 2 3 4 5 . stop 19 0 1 6 ." |
| 108 | 107 | ||
| 109 | USERADD_PACKAGES = "${PN}" | 108 | USERADD_PACKAGES = "${PN}" |
| 110 | GROUPADD_PARAM_${PN} = "tss" | 109 | GROUPADD_PARAM_${PN} = "--system tss" |
| 111 | USERADD_PARAM_${PN} = "-M -d /var/lib/tpm -s /bin/false -g tss tss" | 110 | USERADD_PARAM_${PN} = "--system -M -d /var/lib/tpm -s /bin/false -g tss tss" |
| 112 | 111 | ||
| 113 | SYSTEMD_PACKAGES = "${PN}" | 112 | SYSTEMD_PACKAGES = "${PN}" |
| 114 | SYSTEMD_SERVICE_${PN} = "tcsd.service" | 113 | SYSTEMD_SERVICE_${PN} = "tcsd.service" |
