From c4988bb0d8305c60eca8fc6584998a7621e1bd91 Mon Sep 17 00:00:00 2001 From: Ivan Fonarev Date: Sun, 29 Oct 2023 00:37:43 +0300 Subject: [PATCH] Added -f key to patch command --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 10ee200..8541a3b 100755 --- a/build.sh +++ b/build.sh @@ -42,15 +42,15 @@ fi # TODO: This patch was submitted upstream at: # https://salsa.debian.org/live-team/live-build/-/merge_requests/255 # This can be removed when our Debian container has a version containing this fix -patch -d /usr/lib/live/build/ < live-build-fix-shim-remove.patch +patch -f -d /usr/lib/live/build/ < live-build-fix-shim-remove.patch # TODO: This can be removed when our Debian container has debootstrap 1.0.124 or later # It's needed to support the new zstd .deb package compression that Ubuntu is doing -patch -d /usr/share/debootstrap/ < debootstrap-backport-zstd-support.patch +patch -f -d /usr/share/debootstrap/ < debootstrap-backport-zstd-support.patch # Increase number of blocks for creating efi.img. # This prevents error with "Disk full" on the lb binary_grub-efi stage -patch -d /usr/lib/live/build/ < increase_number_of_blocks.patch +patch -f -d /usr/lib/live/build/ < increase_number_of_blocks.patch build () { BUILD_ARCH="$1"