From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MM+cIpyxOWU9IQAAG6o9tA:P1 (envelope-from ) for ; Thu, 26 Oct 2023 02:23:56 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MM+cIpyxOWU9IQAAG6o9tA (envelope-from ) for ; Thu, 26 Oct 2023 02:23:56 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2387441DD4 for ; Thu, 26 Oct 2023 02:23:56 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=IMsDOQ2U; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698279836; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=H8/JvFB7BN0+iThoc/w0K1adZ8qYQBLSfwJW4+9fQDs=; b=oNAjxRmVto7iFKz79Z63t2b01F5PyU0z5372OlDPQ06jc0eiLnOEMxOdxKVqug+wUZtFKa nsAH4apDDHDGcDunVIluLVXjFKoy3YZDnG/EY6KMwoDCgpnQxQ8aMfPOD9i0wX/6E06NPA pbRFbv+/OUBu5RGUBhV9BAWFuj/yCPoAZ//q/YwBvsZr5GX8VZvFZ3mh63qpJElJJ7oVct I7l5lZxTHaBQIvs0RtjfZaC781ch4EYiBGYAtMvaSOSwQOEkpUQ9Ez20ZXZnsTtYSzQfum vyDdL0IUSWSA4Nu4Ulb/DBOH2dfpDIsq/9sTSXaQTroRttb0Y7Dz/pwoBYEbDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698279836; a=rsa-sha256; cv=none; b=KUIUBrkyLc7aPqbvzSotc5A+OKzghyPo3Py5sZccyYpjqRLHsbzBCF4uIoyxY2F7lAbAWe IU5fupxCx3HbszukuQ5o3yMhLTa4He9938l4nxNva6cV7r+Y+Sat7qpbIdvL434IV8FWsP l+Ruoji6U4hVtEs5vkjxSCM4ESSq1Qti4T7MLoLMYxcMWkD4SAp8VTgUVGD0B+X74wGzHk beQc3298/XlQQ5r+0PwA4CwynW8sxkrqtFu8K8TlMm1lT1S+U+AycVd4XYCmXofixoLd+L J6ay+bQFeXvdFm+YPoVWOPfhucqHzO8Dr74o1FXgfT6KFiXxCqnQyVOCEZGz8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=IMsDOQ2U; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qvo5K-0005pU-UI; Wed, 25 Oct 2023 20:18:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvo52-0005GW-Ij for guix-patches@gnu.org; Wed, 25 Oct 2023 20:18:32 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qvo52-0006VG-9C for guix-patches@gnu.org; Wed, 25 Oct 2023 20:18:32 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qvo5W-0003K1-FC for guix-patches@gnu.org; Wed, 25 Oct 2023 20:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65784] [PATCH] gnu: Add woeusb. Resent-From: Adam Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 26 Oct 2023 00:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65784 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 65784@debbugs.gnu.org Received: via spool by 65784-submit@debbugs.gnu.org id=B65784.169827952112737 (code B ref 65784); Thu, 26 Oct 2023 00:19:02 +0000 Received: (at 65784) by debbugs.gnu.org; 26 Oct 2023 00:18:41 +0000 Received: from localhost ([127.0.0.1]:60262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvo5B-0003JN-C4 for submit@debbugs.gnu.org; Wed, 25 Oct 2023 20:18:41 -0400 Received: from mail-ua1-x930.google.com ([2607:f8b0:4864:20::930]:49463) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvo58-0003J7-IV for 65784@debbugs.gnu.org; Wed, 25 Oct 2023 20:18:40 -0400 Received: by mail-ua1-x930.google.com with SMTP id a1e0cc1a2514c-7b9ba0c07f9so120957241.3 for <65784@debbugs.gnu.org>; Wed, 25 Oct 2023 17:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698279482; x=1698884282; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=H8/JvFB7BN0+iThoc/w0K1adZ8qYQBLSfwJW4+9fQDs=; b=IMsDOQ2U8xXe4TUnqZkHbN9+6t+IjcSaE59oyGubA19r+vKnz3j/oVt4343PmKBxou xo/FLjv4ITFU18RFDSRARzMewgxdpaMeh6HRhsX4RxkomcCGhUCcL/QcWc2myQYj1EfC vTBCPnfHLf1xZkMoODxquLiXspQSAZaIDTJ5NIWc8q7+9ypY/kx8vT/xsF6Khqpti/Ow hUsEPxJXkldcBMPO38omSvlyib8aFKLVTYF6H+UXuEqrWYW3OTPToq25P/Y/wLoPlI/L kXR+/a797fx/s/N4j2e+jqiy+BLA+hKe4MHwQBYo3SjbX7ST4RTPWe+EgjQ/GQqHVgGm JHyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698279482; x=1698884282; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=H8/JvFB7BN0+iThoc/w0K1adZ8qYQBLSfwJW4+9fQDs=; b=kOuW/Y+Bmlu0rw98oefgJbDTCU96gzHUEFqSAe+JhkN9SLdCYk4Tf993kvzYp2XFkL y1M96ER/1OpUc38s4pvvK/EobKZbcrSnTzmX+nMXd+o/K+ZEfYvnBc/Lpm6sIFwLcxwN +G7RMgdVWqlzXinzVHXxgTkzXSB20brRbtE5k9zLwfq9Im2ug9FZFf1Q+zZethXCSjEA wd7SVV7LzF8RkIS9VQ1XagOfwKRsezbFmshyvpFvB+AIqx4psXGztUmyeAYVRbvsyHxC 5mSDLMCVROoF7tJL05aj+3OdK9i5iNbBrCYpWeazD76mK1FzXgPTp5DWXG/tEDe0MKMS 01fg== X-Gm-Message-State: AOJu0YxG08mpfMmv5sK1Tsa5O/jtOzki1FjvC83Md1+x8c3njSfaKL+v tiMVfeIAksQFajPcmOG1zuvkZ5NvKjF03bsVv0s= X-Google-Smtp-Source: AGHT+IFFbTS1g0COUZM4JjHR24C+F2R8+JXM6opkCFfOv1RyI8RGz1PKatpP4HaILWOjKnm9yfDmfCEOI/5owFtcfn0= X-Received: by 2002:a05:6102:4746:b0:45a:adb1:e731 with SMTP id ej6-20020a056102474600b0045aadb1e731mr5273365vsb.18.1698279482289; Wed, 25 Oct 2023 17:18:02 -0700 (PDT) MIME-Version: 1.0 References: <20230906130103.3121-1-adam.mohidin.kandur@gmail.com> <87lebx4oj6.fsf@cbaines.net> In-Reply-To: <87lebx4oj6.fsf@cbaines.net> From: Adam Date: Thu, 26 Oct 2023 03:17:51 +0300 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -5.03 X-Migadu-Queue-Id: 2387441DD4 X-Spam-Score: -5.03 X-TUID: H0186tyu3yWl yeah, my bad will send a new one On Fri, 20 Oct 2023 at 12:43, Christopher Baines wrote: > > > Adam Kandur writes: > > > * gnu/packages/admin.scm (woeusb): New variable. > > --- > > gnu/packages/admin.scm | 65 ++++++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 65 insertions(+) > > > > diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm > > index 604cd70..6b971e8 100644 > > --- a/gnu/packages/admin.scm > > +++ b/gnu/packages/admin.scm > > @@ -2388,6 +2388,71 @@ (define-public wakelan > > network, which causes enabled computers to power on.") > > (license license:gpl2+))) > > > > +(define-public woeusb > > + (let ((revision "0") > > + ;; named branch is outdated > > + (commit "34b400d99d3c4089f487e1d4f7d71970b2d4429e")) > > + (package > > + (name "woeusb") > > + (version (git-version "0.0.0" revision commit)) > > + (source > > + (origin > > + (method git-fetch) > > + (uri (git-reference > > + (url "https://github.com/WoeUSB/WoeUSB.git") > > + (commit commit))) > > + (file-name (git-file-name name version)) > > + (sha256 > > + (base32 "05ghja2rpn4kqak9yll398na54dscsfnm3z5f2pi54lan98wzimh")= ))) > > + (build-system trivial-build-system) > > + (inputs > > + (list ntfs-3g grub ncurses parted coreutils util-linux wimlib)) > > + (arguments > > + `(#:modules ((guix build utils)) > > + #:builder > > + (begin > > + (use-modules (guix build utils)) > > + ;; copy source > > + (copy-recursively (assoc-ref %build-inputs "source") ".") > > + ;; patch source > > + (substitute* "sbin/woeusb" > > + (("tput sgr0") (string-append (assoc-ref %build-inputs "n= curses") > > + "/bin/tput" > > + " sgr0")) > > + (("parted --script") > > + (string-append (assoc-ref %build-inputs "parted") > > + "/sbin/parted --script")) > > + (("parted \\\\") > > + (string-append (assoc-ref %build-inputs "parted") > > + "/sbin/parted \\")) > > + (("grub-install") (string-append (assoc-ref %build-inputs= "grub") > > + "/sbin/grub-install")) > > + (("command -v mkntfs") (string-append > > + "command -v " > > + (assoc-ref %build-inputs "ntfs-3g= ") > > + "/sbin/mkntfs")) > > + (("command_mkntfs_ref=3Dmkntfs") (string-append > > + "command_mkntfs_ref=3D" > > + (assoc-ref %build-inputs = "ntfs-3g") > > + "/sbin/mkntfs")) > > + (("readlink \\\\") (string-append > > + (assoc-ref %build-inputs "coreutils") > > + "/bin/readlink \\")) > > + (("wimlib-imagex") (string-append > > + (assoc-ref %build-inputs "wimlib") > > + "/bin/wimlib-imagex")) > > + ;; could not find partprobe package > > + ;; as i see this command never used in the program > > + (("partprobe \\\\") "\\")) > > + ;; install phase > > + (install-file "sbin/woeusb" (string-append %output "/bin")) > > + #t))) > > + (home-page "https://github.com/WoeUSB/WoeUSB") > > + (synopsis "A Microsoft Windows=C2=AE USB installation media prep= arer for GNU+Linux") > > + (description "Very usefull package for anyone who wants to make = a bootable Windows=C2=AE USB stick > > +using free and open source operating system.") > > + (license license:gpl3+)))) > > + > > (define-public dmidecode > > (package > > (name "dmidecode") > > Hi Adam, > > Does this build for you locally? According to QA, grub is undefined, so > maybe there's an import missing. > > Thanks, > > Chris