1061 |
# if we mounted the U-Boot directory, unmount it. |
# if we mounted the U-Boot directory, unmount it. |
1062 |
[[ -n ${mounted} ]] && umount ${ubootDir} |
[[ -n ${mounted} ]] && umount ${ubootDir} |
1063 |
|
|
1064 |
|
# make sure changes make it to the disk. |
1065 |
|
# if /boot is a mountpoint, force the meta data on disk |
1066 |
|
# to by-pass writeback delay. |
1067 |
|
# PPC64LE-only to deal with Petitboot issues |
1068 |
|
if [[ ${ARCH} = ppc64le ]] |
1069 |
|
then |
1070 |
|
sync && mountpoint -q /boot && fsfreeze -f /boot && fsfreeze -u /boot |
1071 |
|
fi |
1072 |
|
|
1073 |
exit 0 |
exit 0 |