Merge "Move the ensure_nbd function call."
This commit is contained in:
commit
1e28c18c50
@ -92,9 +92,6 @@ IMAGE_ELEMENT=$($SCRIPT_HOME/element-info --expand-dependencies $IMAGE_ELEMENT)
|
|||||||
echo "Building elements: $IMAGE_ELEMENT"
|
echo "Building elements: $IMAGE_ELEMENT"
|
||||||
echo "If prompted for sudo, install sudoers.d/img-build-sudoers into /etc/sudoers.d and restart the build."
|
echo "If prompted for sudo, install sudoers.d/img-build-sudoers into /etc/sudoers.d and restart the build."
|
||||||
|
|
||||||
# TODO: make into an element.
|
|
||||||
ensure_nbd
|
|
||||||
|
|
||||||
mk_build_dir
|
mk_build_dir
|
||||||
create_base
|
create_base
|
||||||
run_d extra-data
|
run_d extra-data
|
||||||
|
@ -68,6 +68,8 @@ source $_LIB/img-functions
|
|||||||
|
|
||||||
echo "Extracting kernel + ramdisk from $IMAGE_FILE and writing them to $OUT_DIR"
|
echo "Extracting kernel + ramdisk from $IMAGE_FILE and writing them to $OUT_DIR"
|
||||||
|
|
||||||
|
ensure_nbd
|
||||||
|
|
||||||
# sets WORK_DIR
|
# sets WORK_DIR
|
||||||
mount_qcow_image $IMAGE_FILE
|
mount_qcow_image $IMAGE_FILE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user