Added -f key to patch command

This commit is contained in:
Ivan Fonarev 2023-10-29 00:37:43 +03:00
parent 4bb51970fc
commit c4988bb0d8

View file

@ -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"