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:
@@ -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 &
|
||||
|
||||
Reference in New Issue
Block a user