From 4348a95c62648434d2c9698a8f91321c6b900136 Mon Sep 17 00:00:00 2001 From: sinetek Date: Sun, 15 Jan 2023 19:25:07 +0100 Subject: [PATCH] WoeUSB: make some room for uefi image. --- .../0001-Make-some-room-for-uefi-img.patch | 34 +++++++++++++++++++ srcpkgs/WoeUSB/template | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/WoeUSB/patches/0001-Make-some-room-for-uefi-img.patch diff --git a/srcpkgs/WoeUSB/patches/0001-Make-some-room-for-uefi-img.patch b/srcpkgs/WoeUSB/patches/0001-Make-some-room-for-uefi-img.patch new file mode 100644 index 0000000000000..1135b19630ba5 --- /dev/null +++ b/srcpkgs/WoeUSB/patches/0001-Make-some-room-for-uefi-img.patch @@ -0,0 +1,34 @@ +From aa1299fdbc92a2723016568735a07ebc5bc85914 Mon Sep 17 00:00:00 2001 +From: sinetek +Date: Sun, 15 Jan 2023 19:21:18 +0100 +Subject: [PATCH] Make some room for uefi img + +--- + src/woeusb | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/woeusb b/src/woeusb +index 8cb292c..f9986c4 100755 +--- a/src/woeusb ++++ b/src/woeusb +@@ -1093,7 +1093,7 @@ create_target_partition(){ + primary \ + "${parted_mkpart_fs_type}" \ + 4MiB \ +- -- -1025s # Leave 512KiB==1024sector in traditional 512bytes/sector disk, disks with sector with more than 512bytes only result in partition size greater than 512KiB and is intentionally let-it-be. ++ -- -2049s # Leave 512KiB==1024sector in traditional 512bytes/sector disk, disks with sector with more than 512bytes only result in partition size greater than 512KiB and is intentionally let-it-be. + # FIXME: Leave exact 512KiB in all circumstances is better, but the algorithm to do so is quite brainkilling. + ;; + *) +@@ -1149,7 +1149,7 @@ create_uefi_ntfs_support_partition(){ + primary \ + fat16 \ + -- \ +- -1024s \ ++ -2048s \ + -1s + + return "$?" +-- +2.39.0 + diff --git a/srcpkgs/WoeUSB/template b/srcpkgs/WoeUSB/template index 32298bc2f32fa..bd00e84da9eb1 100644 --- a/srcpkgs/WoeUSB/template +++ b/srcpkgs/WoeUSB/template @@ -1,7 +1,7 @@ # Template file for 'WoeUSB' pkgname=WoeUSB version=3.3.1 -revision=3 +revision=4 build_style=gnu-configure configure_args="--with-wx-config=wx-config-gtk3" hostmakedepends="automake gettext libtool"