diff options
author | jmbills <42755197+jmbills@users.noreply.github.com> | 2019-10-25 19:09:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-25 19:09:05 +0300 |
commit | cc9cea46d74d280de03c713c8b555153fd811f09 (patch) | |
tree | 58c803818ec2e09bb24d6cab4c84ee190e4d9ce9 /meta-openbmc-mods/meta-common/recipes-phosphor | |
parent | 0f1b8401f7058fc88fbcf06c7e98c5ebadc23212 (diff) | |
parent | 11aca1d6bf839d173947f47f95f66d481f4ccba9 (diff) | |
download | openbmc-cc9cea46d74d280de03c713c8b555153fd811f09.tar.xz |
Merge pull request #16 from lprylli/intel
openbmc-mods/preinit-mount: fix restore_op/reformat_ubi_volume case
Diffstat (limited to 'meta-openbmc-mods/meta-common/recipes-phosphor')
-rwxr-xr-x | meta-openbmc-mods/meta-common/recipes-phosphor/preinit-mounts/preinit-mounts/init | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-openbmc-mods/meta-common/recipes-phosphor/preinit-mounts/preinit-mounts/init b/meta-openbmc-mods/meta-common/recipes-phosphor/preinit-mounts/preinit-mounts/init index 9de00fd2f..1ea94ed3a 100755 --- a/meta-openbmc-mods/meta-common/recipes-phosphor/preinit-mounts/preinit-mounts/init +++ b/meta-openbmc-mods/meta-common/recipes-phosphor/preinit-mounts/preinit-mounts/init @@ -135,6 +135,7 @@ reformat_ubi_volume() { local mnt="$2" local mtd="/dev/mtd${nv_num}" local ubi="/dev/ubi${nv_num}" + local mtd="/dev/mtd${nv_num}" local vol="${ubi}_0" # unmount the volume to reformat it umount -f "$mnt" |