Revision 6f0a1fef

b/create
19 19

  
20 20
set -e
21 21

  
22
. common.sh
23

  
22 24
if [ "${IMAGE_DEBUG} " = 1 ] ; then
23 25
    set -x
24 26
fi
25 27

  
26
. common.sh
27

  
28 28
IMAGE_FILE=""
29 29
if [ "$IMAGE_TYPE" = "tarball" ] ; then
30 30
    IMAGE_FILE="${IMAGE_DIR}/${IMAGE_NAME}-${ARCH}.tar.gz"
b/export
19 19

  
20 20
set -e
21 21

  
22
. common.sh
23

  
22 24
if [ "${IMAGE_DEBUG}" = "1" ] ; then
23 25
    set -x
24 26
fi
25 27

  
26
. common.sh
27

  
28 28
# If the target device is not a real block device we'll first losetup it.
29 29
# This is needed for file disks.
30 30
if [ ! -b $blockdev ]; then
b/import
19 19

  
20 20
set -e
21 21

  
22
. common.sh
23

  
22 24
if [ "${IMAGE_DEBUG}" = "1" ] ; then
23 25
    set -x
24 26
fi
25 27

  
26
. common.sh
27

  
28 28
# If the target device is not a real block device we'll first losetup it.
29 29
# This is needed for file disks.
30 30
if [ ! -b $blockdev ]; then

Also available in: Unified diff