diff options
Diffstat (limited to 'crn/packages/patches')
| -rw-r--r-- | crn/packages/patches/woeusb-include-gui.patch | 12 | ||||
| -rw-r--r-- | crn/packages/patches/woeusb-ntfs.patch | 13 |
2 files changed, 25 insertions, 0 deletions
diff --git a/crn/packages/patches/woeusb-include-gui.patch b/crn/packages/patches/woeusb-include-gui.patch new file mode 100644 index 0000000..2a7cdf6 --- /dev/null +++ b/crn/packages/patches/woeusb-include-gui.patch @@ -0,0 +1,12 @@ +diff -r -u a/miscellaneous/com.github.woeusb.woeusb-ng.policy b/miscellaneous/com.github.woeusb.woeusb-ng.policy +--- a/miscellaneous/com.github.woeusb.woeusb-ng.policy 2026-06-29 13:43:15.989599585 -0400 ++++ b/miscellaneous/com.github.woeusb.woeusb-ng.policy 2026-06-29 13:43:19.805539285 -0400 +@@ -22,7 +22,7 @@ + <allow_active>auth_admin_keep</allow_active> + </defaults> + +- <annotate key="org.freedesktop.policykit.exec.path">/usr/local/bin/woeusbgui</annotate> ++ <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/woeusbgui</annotate> + <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate> + </action> + </policyconfig> diff --git a/crn/packages/patches/woeusb-ntfs.patch b/crn/packages/patches/woeusb-ntfs.patch new file mode 100644 index 0000000..615df0c --- /dev/null +++ b/crn/packages/patches/woeusb-ntfs.patch @@ -0,0 +1,13 @@ +diff --git a/src/WoeUSB/core.py b/src/WoeUSB/core.py +index 1392b2f..a394f93 100644 +--- a/src/WoeUSB/core.py ++++ b/src/WoeUSB/core.py +@@ -435,6 +435,8 @@ def mount_target_filesystem(target_partition, target_fs_mountpoint): + return 1 + + if subprocess.run(["mount", ++ "-t", "ntfs3", ++ "-o", "rw", + target_partition, + target_fs_mountpoint]).returncode != 0: + utils.print_with_color(_("Error: Unable to mount target media"), "red")
\ No newline at end of file |
