summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/sbin/pc-sysinstall/backend/functions-bsdlabel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/sbin/pc-sysinstall/backend/functions-bsdlabel.sh b/usr/sbin/pc-sysinstall/backend/functions-bsdlabel.sh
index 316b46c..25dfcc5 100755
--- a/usr/sbin/pc-sysinstall/backend/functions-bsdlabel.sh
+++ b/usr/sbin/pc-sysinstall/backend/functions-bsdlabel.sh
@@ -123,7 +123,7 @@ gen_glabel_name()
# Check if we are doing /, and rename it
if [ "$MOUNT" = "/" ]
then
- NAME="rootfs"
+ NAME=`cat /etc/inc/globals.inc | grep product_name | awk '{ print $3 }' | cut -d'"' -f2`
else
# If doing a swap partition, also rename it
if [ "${TYPE}" = "SWAP" ]
OpenPOWER on IntegriCloud