Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-image
Commits
63a3904a
Commit
63a3904a
authored
Nov 01, 2013
by
Nikos Skalkotos
Browse files
Fix a minor bash variable expansion error
It only affects the printing of an information string
parent
748282cb
Changes
3
Hide whitespace changes
Inline
Side-by-side
snf-image-helper/tasks/10FixPartitionTable.in
View file @
63a3904a
...
...
@@ -36,7 +36,7 @@ if [ ! -b "$SNF_IMAGE_DEV" ]; then
fi
if
[[
"
$SNF_IMAGE_PROPERTY_OSFAMILY
"
=
~
(
net
)
|
(
open
)
bsd
]]
;
then
os
=
${
SNF_IMAGE_PROPERTY_OSFAMILY
^[bsd]
}
os
=
${
SNF_IMAGE_PROPERTY_OSFAMILY
^
^
[bsd]
}
warn
"Partition resizing currently not supported for
${
os
^?
}
"
exit
0
fi
...
...
snf-image-helper/tasks/20FilesystemResizeUnmounted.in
View file @
63a3904a
...
...
@@ -46,7 +46,7 @@ if [ -n "$SNF_IMAGE_PROPERTY_DO_SYNC" ]; then
fi
if
[[
"
$SNF_IMAGE_PROPERTY_OSFAMILY
"
=
~
(
net
)
|
(
open
)
bsd
]]
;
then
os
=
${
SNF_IMAGE_PROPERTY_OSFAMILY
^[bsd]
}
os
=
${
SNF_IMAGE_PROPERTY_OSFAMILY
^
^
[bsd]
}
warn
"File sytem resizing currently not supported for
${
os
^?
}
"
exit
0
fi
...
...
snf-image-helper/tasks/30MountImage.in
View file @
63a3904a
...
...
@@ -47,7 +47,7 @@ fi
if
[[
"
$SNF_IMAGE_PROPERTY_OSFAMILY
"
==
*
bsd
]]
;
then
if
!
$DUMPFS_UFS
"
$rootdev
"
&> /dev/null
;
then
os
=
${
SNF_IMAGE_PROPERTY_OSFAMILY
^[bsd]
}
os
=
${
SNF_IMAGE_PROPERTY_OSFAMILY
^
^
[bsd]
}
log_error
"For
${
os
^?
}
images only UFS root partitions are supported."
fi
ufstype
=
"
$(
get_ufstype
"
$rootdev
"
)
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment