Commit 48af2403 authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Run partprobe after diskpart.py

After disklabel.py enlarges the partition the kernel must be
informed about this
parent 365b2ed3
......@@ -37,6 +37,8 @@ fi
if [ "$SNF_IMAGE_PROPERTY_OSFAMILY" = openbsd ]; then
@scriptsdir@/disklabel.py -d "$(blockdev --getsz "$SNF_IMAGE_DEV")" -p "$SNF_IMAGE_DEV"
# Inform the kernel about the changes
partprobe "$SNF_IMAGE_DEV"
exit 0
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment