From 90597f3edddbc43c598d48dee1f5465babd1733f Mon Sep 17 00:00:00 2001 From: Wolfgang Date: Thu, 20 Jan 2022 20:05:42 +0100 Subject: [PATCH] remove obsolete compile patch --- patches/proxmox-backup-compile.patch | 53 ---------------------------- 1 file changed, 53 deletions(-) delete mode 100644 patches/proxmox-backup-compile.patch diff --git a/patches/proxmox-backup-compile.patch b/patches/proxmox-backup-compile.patch deleted file mode 100644 index 827e628..0000000 --- a/patches/proxmox-backup-compile.patch +++ /dev/null @@ -1,53 +0,0 @@ -diff --git a/src/api2/backup/environment.rs b/src/api2/backup/environment.rs -index 5906cb57..bdac20bd 100644 ---- a/src/api2/backup/environment.rs -+++ b/src/api2/backup/environment.rs -@@ -195,7 +195,7 @@ impl BackupEnvironment { - if size < data.chunk_size { - data.small_chunk_count += 1; - if data.small_chunk_count > 1 { -- bail!("fixed writer '{}' - detected multiple end chunks (chunk size too small)"); -+ bail!("fixed writer '{}' - detected multiple end chunks (chunk size too small)", data.name); - } - } - -diff --git a/src/tape/drive/mod.rs b/src/tape/drive/mod.rs -index 16845973..67b75557 100644 ---- a/src/tape/drive/mod.rs -+++ b/src/tape/drive/mod.rs -@@ -260,7 +260,7 @@ pub fn media_changer( - None => Ok(None), - } - } -- _ => bail!("unknown drive type '{}' - internal error"), -+ _ => bail!("unknown drive type '{}' - internal error", section_type_name), - } - } - None => { -@@ -308,7 +308,7 @@ pub fn open_drive( - let handle = open_lto_tape_drive(&tape)?; - Ok(Box::new(handle)) - } -- _ => bail!("unknown drive type '{}' - internal error"), -+ _ => bail!("unknown drive type '{}' - internal error", section_type_name), - } - } - None => { -@@ -498,7 +498,7 @@ pub fn request_and_load_media( - update_and_log_request_error(&mut last_error, request_error)?; - } - } -- _ => bail!("drive type '{}' not implemented!"), -+ _ => bail!("drive type '{}' not implemented!", section_type_name), - } - } - None => { -@@ -587,7 +587,7 @@ fn tape_device_path( - "lto" => { - LtoTapeDrive::deserialize(config)?.path - } -- _ => bail!("unknown drive type '{}' - internal error"), -+ _ => bail!("unknown drive type '{}' - internal error", section_type_name), - }; - Ok(path) - }