Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] WoeUSB: make some room for uefi image.
@ 2023-01-15 18:28 sinetek
  2023-01-15 18:33 ` classabbyamp
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: sinetek @ 2023-01-15 18:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 755 bytes --]

There is a new pull request by sinetek against master on the void-packages repository

https://github.com/sinetek/void-packages woe
https://github.com/void-linux/void-packages/pull/41669

WoeUSB: make some room for uefi image.
Add a patch for WoeUSB. Version of the program stays the same.
The patch is required because one of the files that is used, downloaded from a github repository at runtime, has doubled in size, and so a small change in the code is needed to accommodate this boot file.

#### Testing the changes
- I tested the changes in this PR: YES

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc



A patch file from https://github.com/void-linux/void-packages/pull/41669.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-woe-41669.patch --]
[-- Type: text/x-diff, Size: 2338 bytes --]

From 4348a95c62648434d2c9698a8f91321c6b900136 Mon Sep 17 00:00:00 2001
From: sinetek <pitwuu@gmail.com>
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 <pitwuu@gmail.com>
+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"

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-01-31 17:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-15 18:28 [PR PATCH] WoeUSB: make some room for uefi image sinetek
2023-01-15 18:33 ` classabbyamp
2023-01-15 18:33 ` classabbyamp
2023-01-15 18:37 ` sinetek
2023-01-15 18:42 ` classabbyamp
2023-01-15 18:44 ` sinetek
2023-01-20 10:32 ` kruceter
2023-01-30  2:07 ` [PR PATCH] [Closed]: " the-maldridge
2023-01-31 17:03 ` sinetek
2023-01-31 17:56 ` liarimu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).