blob: 7ff62be57d90975d5ad051cbea06210319259952 [file] [log] [blame]
Lei YU2c2604d2019-03-11 17:32:32 +08001PACKAGECONFIG_append = " ubifs_layout"
2
Lei YU2c2604d2019-03-11 17:32:32 +08003SYSTEMD_SERVICE_${PN} += " \
4 obmc-flash-bios-ubiattach.service \
5 obmc-flash-bios-ubimount@.service \
6 obmc-flash-bios-ubiumount-ro@.service \
7 obmc-flash-bios-ubiumount-rw@.service \
8 obmc-flash-bios-ubipatch.service \
9 obmc-flash-bios-ubiremount.service \
10 obmc-flash-bios-updatesymlinks.service \
11 obmc-flash-bios-cleanup.service \
12 obmc-flash-bios-enable-clearvolatile@.service \
13 obmc-flash-bios-check-clearvolatile@.service \
Lei YU2c2604d2019-03-11 17:32:32 +080014 "
15
16ENABLE_CLEAR_VOLATILE_TMPL = "obmc-flash-bios-enable-clearvolatile@.service"
17HOST_START_TGTFMT = "obmc-host-start@{0}.target"
18ENABLE_CLEAR_VOLATILE_INSTFMT = "obmc-flash-bios-enable-clearvolatile@{0}.service"
19ENABLE_CLEAR_VOLATILE_START_FMT = "../${ENABLE_CLEAR_VOLATILE_TMPL}:${HOST_START_TGTFMT}.requires/${ENABLE_CLEAR_VOLATILE_INSTFMT}"
20
21CHECK_CLEAR_VOLATILE_TMPL = "obmc-flash-bios-check-clearvolatile@.service"
22HOST_STARTMIN_TGTFMT = "obmc-host-startmin@{0}.target"
23CHECK_CLEAR_VOLATILE_INSTFMT = "obmc-flash-bios-check-clearvolatile@{0}.service"
24CHECK_CLEAR_VOLATILE_START_FMT = "../${CHECK_CLEAR_VOLATILE_TMPL}:${HOST_STARTMIN_TGTFMT}.requires/${CHECK_CLEAR_VOLATILE_INSTFMT}"
25
26SYSTEMD_LINK_${PN} += "${@compose_list_zip(d, 'ENABLE_CLEAR_VOLATILE_START_FMT', 'OBMC_HOST_INSTANCES')}"
27SYSTEMD_LINK_${PN} += "${@compose_list_zip(d, 'CHECK_CLEAR_VOLATILE_START_FMT', 'OBMC_HOST_INSTANCES')}"