Adriana Kobylak | 855404d | 2017-03-07 14:32:08 -0600 | [diff] [blame^] | 1 | [Unit] |
2 | Description=Mount UBIFS volume pnor-rw%I | ||||
3 | Requires=obmc-flash-bios-ubiattach.service | ||||
4 | After=obmc-flash-bios-ubiattach.service | ||||
5 | |||||
6 | [Service] | ||||
7 | Type=oneshot | ||||
8 | RemainAfterExit=yes | ||||
9 | ExecStart=/bin/sh -c '{sbindir}ubimkvol /dev/ubi0 -N pnor-rw%i -s 1MiB; \ | ||||
10 | mkdir /media/pnor-rw%i; \ | ||||
11 | mount -t ubifs ubi0:pnor-rw%i /media/pnor-rw%i' |