mirror of git://git.2f30.org/morpheus.git
Refuse to run create-bootable if $ROOT is not set
This commit is contained in:
parent
8363d8251b
commit
b5228bae46
|
@ -2,9 +2,17 @@
|
||||||
#
|
#
|
||||||
# Ensure you've loaded the loop module with max_part=15
|
# Ensure you've loaded the loop module with max_part=15
|
||||||
|
|
||||||
if test "$2" = ""; then
|
usage() {
|
||||||
echo "Usage: $0 <rootdir> <imgfile>"
|
echo "Usage: $0 <rootdir> <imgfile>"
|
||||||
exit
|
exit
|
||||||
|
}
|
||||||
|
|
||||||
|
if test "$1" = ""; then
|
||||||
|
usage
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$2" = ""; then
|
||||||
|
usage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e -x
|
set -e -x
|
||||||
|
|
Loading…
Reference in New Issue