From 1123fae104fdf2c804a41b212cbaaad0c5fd40df Mon Sep 17 00:00:00 2001 From: torben Date: Thu, 10 Dec 2015 11:35:11 +0100 Subject: Add dmsetup dependency. --- builder/build-initramfs.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'builder') diff --git a/builder/build-initramfs.sh b/builder/build-initramfs.sh index 160f70d4..b4e58d40 100755 --- a/builder/build-initramfs.sh +++ b/builder/build-initramfs.sh @@ -89,7 +89,7 @@ build_initramfs_debug='no' build_initramfs_create_system_image='' build_initramfs_cleanup='no' build_initramfs_dependencies=(bash cpio git test shift echo mktemp cat rm sed \ - gzip curl tar grep make gcc cmake readlink dirname) + gzip curl tar grep make gcc cmake readlink dirname dmsetup) # endregion @@ -234,6 +234,7 @@ function build_initramfs_create_qcow2_system() { # # >>> build_initramfs_create_qcow2_system echo TODO + # dmsetup snapshot ... #qemu-img create -f qcow2 "${CONTAINER_PATH}" "${QCOW_SIZE}" return $? } @@ -256,6 +257,7 @@ function build_initramfs_cleanup() { utils.dependency_check "${build_initramfs_dependencies[*]}" # TODO check for existing kernel headers. +# Find lib locations: $(gcc -print-prog-name=cc1plus) -v if false; then logging.error "You have to install the compression library \"libz\". Otherwise we aren't able to compile dnbd3 for your kernel." exit 1 -- cgit v1.2.3-55-g7522