[pbs-devel] [PATCH proxmox-backup-restore-image 1/5] add LVM (thin) tooling

Stefan Reiter s.reiter at proxmox.com
Wed Jun 30 17:57:55 CEST 2021


FILE_LOCKING is required for LVM, the 4 lib* dependencies are not
automatically resolved for some reason, but are required.

Signed-off-by: Stefan Reiter <s.reiter at proxmox.com>
---
 src/build_initramfs.sh | 6 ++++++
 src/config-base        | 1 +
 2 files changed, 7 insertions(+)

diff --git a/src/build_initramfs.sh b/src/build_initramfs.sh
index 29eeedb..4d81b39 100755
--- a/src/build_initramfs.sh
+++ b/src/build_initramfs.sh
@@ -51,6 +51,12 @@ add_pkgs "
     libblkid1:amd64 \
     libuuid1:amd64 \
     zlib1g:amd64 \
+    libzstd1:amd64 \
+    liblz4-1:amd64 \
+    liblzma5:amd64 \
+    libgcrypt20:amd64 \
+    lvm2:amd64 \
+    thin-provisioning-tools:amd64 \
 "
 
 # install custom ZFS tools (built without libudev)
diff --git a/src/config-base b/src/config-base
index 92f1fc9..e9af0ba 100644
--- a/src/config-base
+++ b/src/config-base
@@ -104,6 +104,7 @@ CONFIG_NLS_UTF8=y
 CONFIG_NLS_ISO8859_1=y
 CONFIG_MSDOS_PARTITION=y
 CONFIG_EFI_PARTITION=y
+CONFIG_FILE_LOCKING=y
 
 # filesystem support
 CONFIG_MISC_FILESYSTEMS=y
-- 
2.30.2






More information about the pbs-devel mailing list