diff options
Diffstat (limited to 'meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios-ubimount@.service')
-rw-r--r-- | meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios-ubimount@.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios-ubimount@.service b/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios-ubimount@.service new file mode 100644 index 0000000000..d03041dad9 --- /dev/null +++ b/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios-ubimount@.service @@ -0,0 +1,13 @@ +[Unit] +Description=Mount UBIFS volumes pnor-ro-%I, pnor-rw-%I and pnor-prsv +Requires=obmc-flash-bios-ubiattach.service +After=obmc-flash-bios-ubiattach.service +OnFailure=obmc-flash-bios-ubiumount-ro@%i.service obmc-flash-bios-ubiumount-rw@%i.service + +[Service] +Type=oneshot +RemainAfterExit=no +ExecStart=/usr/bin/env obmc-flash-bios squashfsmount pnor-ro-%i %i +ExecStart=/usr/bin/env obmc-flash-bios ubimount pnor-rw-%i +ExecStart=/usr/bin/env obmc-flash-bios ubimount pnor-prsv +SyslogIdentifier=obmc-flash-bios |