Skip to content

Commit 1f7b152

Browse files
authored
Mount persist partition via var-lib-tee.mount (#1895)
Added runtime recommends dependency on mount-tee-partition to ensure var-lib-tee.mount is installed to mount the persist partition. Also ensure var-lib-tee.mount unit is started before sfsconfig so that persist partition is mounted before sfsconfig attempts to create qtee_supplicant directories in the partition. Closes: #1541
2 parents 66dab84 + 1cd346f commit 1f7b152

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

dynamic-layers/openembedded-layer/recipes-security/minkipc/minkipc_1.1.1.bb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,5 @@ FILES:${PN}-qteesupplicant = "${bindir}/qtee_supplicant \
3737
"
3838

3939
RDEPENDS:${PN}-qteesupplicant = "${PN}"
40+
RRECOMMENDS:${PN}-qteesupplicant = "mount-tee-partition"
4041

recipes-bsp/partition/mount-tee-partition/var-lib-tee.mount

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[Unit]
66
Description=Mount persist partition at /var/lib/tee
7-
Before=local-fs.target
7+
Before=local-fs.target sfsconfig.service
88
Requires=format-tee-partition.service
99
After=format-tee-partition.service
1010

0 commit comments

Comments
 (0)