all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#54440] Updates for genext2fs and genimage
@ 2022-03-18  0:39 Vagrant Cascadian
  2022-03-18  1:11 ` [bug#54440] [PATCH 1/2] gnu: genext2fs: Update to 1.5.0 Vagrant Cascadian
  2022-03-19 10:49 ` [bug#54440] Updates for genext2fs and genimage Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Vagrant Cascadian @ 2022-03-18  0:39 UTC (permalink / raw)
  To: 54440

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

I have updates for genext2fs and genimage!

Newer versions of the genext2fs tool have support for things like
SOURCE_DATE_EPOCH, and Guix seems keen on reproducible builds, so Guix
may as well have the latest and greatest genext2fs!

Updating genext2fs triggered test suite failures in genimage, which I
also noticed was a slightly out of date... so updated that too!

Will submit the patches once I get a bug number... (that's really how
this is supposed to be done still?)


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

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

* [bug#54440] [PATCH 1/2] gnu: genext2fs: Update to 1.5.0.
  2022-03-18  0:39 [bug#54440] Updates for genext2fs and genimage Vagrant Cascadian
@ 2022-03-18  1:11 ` Vagrant Cascadian
  2022-03-18  1:12   ` [bug#54440] [PATCH 2/2] gnu: genimage: Update to 15 Vagrant Cascadian
  2022-03-19 10:49 ` [bug#54440] Updates for genext2fs and genimage Ludovic Courtès
  1 sibling, 1 reply; 5+ messages in thread
From: Vagrant Cascadian @ 2022-03-18  1:11 UTC (permalink / raw)
  To: 54440

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

* gnu/packages/linux.scm (genext2fs): Update to 1.5.0.
  [source] Update URL.
  [arguments] Remove 'apply-debian-patches phase.
  [home-page] Update URL.
---
 gnu/packages/linux.scm | 25 +++++--------------------
 1 file changed, 5 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index bf18724990..db6eb2db6f 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8020,34 +8020,19 @@ (define-public xfs_repair/static
 (define-public genext2fs
   (package
     (name "genext2fs")
-    (version "1.4.1-4")
+    (version "1.5.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                    (url "https://github.com/jeremie-koenig/genext2fs")
-                    ;; 1.4.1-3 had a VCS tag but 1.4.1-4 doesn't.
-                    (commit "9ee43894634998b0b2b309d636f25c64314c9421")))
+                    (url "https://github.com/bestouff/genext2fs")
+                    (commit "474111097321f03de9e009aa9f7d4a8948e310b2")))
               (file-name (git-file-name name version))
               (sha256
-               (base32 "0ib5icn78ciz00zhc1bgdlrwaxvsdz7wnplwblng0jirwi9ml7sq"))))
+               (base32 "14lgvml5zz99845ja47jpf4iirjzfqv36ffzachh3hw2ggji9c7l"))))
     (build-system gnu-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'apply-debian-patches
-           ;; Debian changes (the revision after ‘-’ in VERSION) are
-           ;; maintained as separate patches.  Apply those relevant to us.
-           (lambda _
-             (for-each
-              (lambda (file-name)
-                (invoke "patch" "-p1" "-i"
-                        (string-append "debian/patches/" file-name)))
-              (list "blocksize+creator.diff" ; add -B/-o options
-                    "byteswap_fix.diff"))
-             #t)))))
     (native-inputs
      (list autoconf automake))
-    (home-page "https://github.com/jeremie-koenig/genext2fs")
+    (home-page "https://github.com/bestouff/genext2fs")
     (synopsis "Generate ext2 file system as a normal user")
     (description "This package provides a program to generate an ext2
 file system as a normal (non-root) user.  It does not require you to mount
-- 
2.35.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

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

* [bug#54440] [PATCH 2/2] gnu: genimage: Update to 15.
  2022-03-18  1:11 ` [bug#54440] [PATCH 1/2] gnu: genext2fs: Update to 1.5.0 Vagrant Cascadian
@ 2022-03-18  1:12   ` Vagrant Cascadian
  0 siblings, 0 replies; 5+ messages in thread
From: Vagrant Cascadian @ 2022-03-18  1:12 UTC (permalink / raw)
  To: 54440

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

* gnu/packages/genimage.scm (genimage): Update to 15.
  [arguments]: Update 'fix-failing-tests phase to reference new files.
---
 gnu/packages/genimage.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/genimage.scm b/gnu/packages/genimage.scm
index eb50141374..4a9d24fe78 100644
--- a/gnu/packages/genimage.scm
+++ b/gnu/packages/genimage.scm
@@ -41,11 +41,11 @@ (define-module (gnu packages genimage)
   #:use-module (gnu packages virtualization))
 
 (define-public genimage
-  (let ((commit "11bb04455eaf5434f0723c91a2224918ebd0a196")
+  (let ((commit "ec44ae086c705e6f0439e742c5a2e9b8f3d6ca82")
         (revision "1"))
     (package
       (name "genimage")
-      (version (git-version "14" revision commit))
+      (version (git-version "15" revision commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -54,7 +54,7 @@ (define-public genimage
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "1dq3lk0awk12v2aidry35gvrci5a3nr6rzcq0j9hyyf0w1z1rn0l"))
+                  "0amj2vjff58yna6kq959i2gqmbjywqr8j5kr5pjqsvbqam3vgg0r"))
                 (patches
                  (search-patches "genimage-mke2fs-test.patch"))))
       (build-system gnu-build-system)
@@ -93,9 +93,13 @@ (define-public genimage
                ;; We don't have /etc/passwd so uid 0 is not known as "root".
                ;; Thus patch it out.
                (substitute* '("test/ext2test.0.dump"
+                              "test/ext2test.1.dump"
                               "test/ext3test.0.dump"
+                              "test/ext3test.1.dump"
                               "test/ext4test.0.dump"
+                              "test/ext4test.1.dump"
                               "test/ext2test-percent.0.dump"
+                              "test/ext2test-percent.1.dump"
                               "test/mke2fs.0.dump")
                  (("root") "unknown"))))
            (add-before 'check 'setenv-check
-- 
2.35.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

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

* [bug#54440] Updates for genext2fs and genimage
  2022-03-18  0:39 [bug#54440] Updates for genext2fs and genimage Vagrant Cascadian
  2022-03-18  1:11 ` [bug#54440] [PATCH 1/2] gnu: genext2fs: Update to 1.5.0 Vagrant Cascadian
@ 2022-03-19 10:49 ` Ludovic Courtès
  2022-04-11 22:15   ` bug#54440: " Vagrant Cascadian
  1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2022-03-19 10:49 UTC (permalink / raw)
  To: Vagrant Cascadian; +Cc: 54440

Hello Vagrant,

Vagrant Cascadian <vagrant@debian.org> skribis:

> I have updates for genext2fs and genimage!
>
> Newer versions of the genext2fs tool have support for things like
> SOURCE_DATE_EPOCH, and Guix seems keen on reproducible builds, so Guix
> may as well have the latest and greatest genext2fs!

Yup, sounds like an interesting option!  I’m not sure yet it can be used
as a drop-in replacement in (gnu build images), but we’ll see.

> Updating genext2fs triggered test suite failures in genimage, which I
> also noticed was a slightly out of date... so updated that too!
>
> Will submit the patches once I get a bug number... (that's really how
> this is supposed to be done still?)

Yes.  :-)

The patches LGTM, thank you!

Ludo’.




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

* bug#54440: Updates for genext2fs and genimage
  2022-03-19 10:49 ` [bug#54440] Updates for genext2fs and genimage Ludovic Courtès
@ 2022-04-11 22:15   ` Vagrant Cascadian
  0 siblings, 0 replies; 5+ messages in thread
From: Vagrant Cascadian @ 2022-04-11 22:15 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 54440-done

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

On 2022-03-19, Ludovic Courtès wrote:
> Vagrant Cascadian <vagrant@debian.org> skribis:
>
>> I have updates for genext2fs and genimage!
>>
>> Newer versions of the genext2fs tool have support for things like
>> SOURCE_DATE_EPOCH, and Guix seems keen on reproducible builds, so Guix
>> may as well have the latest and greatest genext2fs!
>
> Yup, sounds like an interesting option!  I’m not sure yet it can be used
> as a drop-in replacement in (gnu build images), but we’ll see.

I have seen instructions for adding features using tune2fs after the
fact to make it ext3 or ext4 ... or other arbitrary features (though not
all can be) and who knows how that will affect the reproducibility of
the image!

>> Updating genext2fs triggered test suite failures in genimage, which I
>> also noticed was a slightly out of date... so updated that too!
...
> The patches LGTM, thank you!

Pushed as:

ba1ce250c8d2d0d3c215e06d722f8d561cbe095f gnu: genimage: Update to 15.
8aae96b44c2e84f31574200aa71c6ee4979b1620 gnu: genext2fs: Update to 1.5.0.


live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

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

end of thread, other threads:[~2022-04-11 22:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-18  0:39 [bug#54440] Updates for genext2fs and genimage Vagrant Cascadian
2022-03-18  1:11 ` [bug#54440] [PATCH 1/2] gnu: genext2fs: Update to 1.5.0 Vagrant Cascadian
2022-03-18  1:12   ` [bug#54440] [PATCH 2/2] gnu: genimage: Update to 15 Vagrant Cascadian
2022-03-19 10:49 ` [bug#54440] Updates for genext2fs and genimage Ludovic Courtès
2022-04-11 22:15   ` bug#54440: " Vagrant Cascadian

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.