Added user-defined image volume label support.

The default label is as previously: Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27636 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2008-09-19 17:32:57 +00:00
parent 0a2452f0da
commit 127456e5b5
3 changed files with 6 additions and 3 deletions
+3 -2
View File
@@ -8,6 +8,7 @@
# isImage
# imagePath
# imageSize
# imageLabel
# addBuildCompatibilityLibDir
# updateOnly
# dontClearImage
@@ -128,8 +129,8 @@ if [ $isImage ]; then
|| exit 1
fi
$bfsShell --initialize $imageOffsetFlags "$imagePath" Haiku \
"block_size 2048" || exit 1
$bfsShell --initialize $imageOffsetFlags "$imagePath" \
"$imageLabel" "block_size 2048" || exit 1
$makebootable $imageOffsetFlags "$imagePath"
fi
$bfsShell -n $imageOffsetFlags "$imagePath" > /dev/null &