Github messages for voidlinux
 help / color / mirror / Atom feed
From: sinetek <sinetek@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] WoeUSB: make some room for uefi image.
Date: Sun, 15 Jan 2023 19:28:29 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41669@inbox.vuxu.org> (raw)

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

             reply	other threads:[~2023-01-15 18:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-15 18:28 sinetek [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41669@inbox.vuxu.org \
    --to=sinetek@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).