summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuilder/build-initramfs.sh4
1 files changed, 3 insertions, 1 deletions
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