From a67e0803aae88c34b3008c19fa7812b942c40ab9 Mon Sep 17 00:00:00 2001 From: Lucien Mueller Date: Mon, 10 Dec 2018 16:49:21 +0100 Subject: [PATCH] nmhw-auto-part: Now prints a small help message when the script finishes. BugzID:54512 Signed-off-by: Lucien Mueller --- .../nmhw-auto-part/nmhw-auto-part/nmhw-auto-part | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/recipes-support/nmhw-auto-part/nmhw-auto-part/nmhw-auto-part b/recipes-support/nmhw-auto-part/nmhw-auto-part/nmhw-auto-part index e1fe598..0da870c 100644 --- a/recipes-support/nmhw-auto-part/nmhw-auto-part/nmhw-auto-part +++ b/recipes-support/nmhw-auto-part/nmhw-auto-part/nmhw-auto-part @@ -14,6 +14,7 @@ device_available(){ partn_first=${partdevice_first: -1} if (( $partn_first > 1 )) ; then echo "Device $device has already too many partitions." + echo "It seems like $device is already partitioned." echo "Please use this script only once." exit 1 else @@ -301,6 +302,13 @@ execute(){ echo "Partitioning successful." echo "Partitioning successful." >> /tmp/log/nmhw-auto-part.log + + echo "A new partition is now available and mounted on /mnt." + if [ "$ptype" == "overlay" ] ; then + echo "There is now an overlay mounted over /usr." + echo "/usr is now writeable." + echo "All changes to /usr are now saved under /mnt/overlay." + fi } usage(){