Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
meta-openpower
/
dbd01d208b23dc0e119202542125ad4d913d171d
/
.
/
common
/
recipes-phosphor
/
flash
/
openpower-software-manager
/
obmc-flash-bios-ubiattach.service
blob: f90c437323066c5a9414be10f0661a1b54f430d3 [
file
] [
log
] [
blame
]
[
Unit
]
Description
=
Attach
the PNOR mtd device to UBI
[
Service
]
Type
=
oneshot
RemainAfterExit
=
yes
ExecStart
={
sbindir
}/
bios
-
ubiattach
ExecStop
=
/bin/
sh
-
c
'grep pnor /proc/mtd |cut -c 4 |xargs {sbindir}/ubidetach /dev/ubi_ctrl -m'