Added -f key to patch command
This commit is contained in:
parent
4bb51970fc
commit
c4988bb0d8
1 changed files with 3 additions and 3 deletions
6
build.sh
6
build.sh
|
@ -42,15 +42,15 @@ fi
|
||||||
# TODO: This patch was submitted upstream at:
|
# TODO: This patch was submitted upstream at:
|
||||||
# https://salsa.debian.org/live-team/live-build/-/merge_requests/255
|
# 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
|
# 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
|
# 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
|
# 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.
|
# Increase number of blocks for creating efi.img.
|
||||||
# This prevents error with "Disk full" on the lb binary_grub-efi stage
|
# 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 () {
|
||||||
BUILD_ARCH="$1"
|
BUILD_ARCH="$1"
|
||||||
|
|
Loading…
Add table
Reference in a new issue