Bug 33404 - Most updated version of woeusb-ng
Summary: Most updated version of woeusb-ng
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: David GEIGER
QA Contact:
URL: https://github.com/WoeUSB/WoeUSB-ng
Whiteboard:
Keywords: advisory
Depends on:
Blocks:
 
Reported: 2024-07-17 01:08 CEST by Michael Martins
Modified: 2024-07-18 20:16 CEST (History)
1 user (show)

See Also:
Source RPM: woeusb-ng-0.2.10-4.mga9.src.rpm
CVE:
Status comment:


Attachments

Description Michael Martins 2024-07-17 01:08:06 CEST
The repository version is from 2021, but the latest version is from 2023, with some bug fixes.
Comment 1 David GEIGER 2024-07-17 18:27:53 CEST
Assigning to QA,

Package in 9/Core/Updates_testing:
=====================
woeusb-ng-0.2.12-1.mga9.noarch.rpm

From SRPMS:
woeusb-ng-0.2.12-1.mga9.src.rpm

CC: (none) => geiger.david68210
Assignee: bugsquad => qa-bugs

katnatek 2024-07-17 23:56:10 CEST

Keywords: (none) => advisory

Comment 2 katnatek 2024-07-18 00:36:11 CEST
RH mageia 9 x86_64

LC_ALL=C urpmi woeusb-ng
To satisfy dependencies, the following packages are going to be installed:
  Package                        Version      Release       Arch    
(medium "QA Testing (64-bit)")
  woeusb-ng                      0.2.12       1.mga9        noarch  
(medium "Core Release (distrib1)")
  python3-termcolor              1.1.0        8.mga9        noarch  
555KB of additional disk space will be used.
199KB of packages will be retrieved.
Proceed with the installation of the 2 packages? (Y/n) y


    https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/python3-termcolor-1.1.0-8.mga9.noarch.rpm
installing /var/cache/urpmi/rpms/python3-termcolor-1.1.0-8.mga9.noarch.rpm                                                          
//home/katnatek/qa-testing/x86_64/woeusb-ng-0.2.12-1.mga9.noarch.rpm
Preparing...                     ##################################################################################################
      1/2: python3-termcolor     ##################################################################################################
      2/2: woeusb-ng             ##################################################################################################

Sorry, need to ask for root rights and fail to aks for them
this is due upstream hardcode /usr/local/bin as path, for fix this I add in the spec after the autosetup line

sed -e 's:/usr/local:/usr:' -i miscellaneous/com.github.woeusb.woeusb-ng.policy

Also you not require grub so you must 
1. add grub as require 
or 
2. patch the gui for use by omission the option "skip legacy boot loader"

Also as upstream recommends p7zip and parted must be added as require
Comment 3 katnatek 2024-07-18 01:47:21 CEST
(In reply to katnatek from comment #2)
> Also you not require grub so you must 
> 1. add grub as require 
> or 
> 2. patch the gui for use by omission the option "skip legacy boot loader"
>
Forget the above , I test with a windows image and works without grub even if not mark the option
Comment 4 katnatek 2024-07-18 20:16:46 CEST
David I see you fix the policy other way but something in the changes you did are breaking the ask for root , I can't detect what can be but in AUR have the same issue https://aur.archlinux.org/packages/woeusb-ng#comment-950328

I just know my current package works but is using the "old" way of build python stuff

Assignee: qa-bugs => geiger.david68210


Note You need to log in before you can comment on or make changes to this bug.