GNU bug report logs -
#64042
[PATCH] gnu: image: Build partitions with only necessary inputs.
Previous Next
Reported by: Efraim Flashner <efraim <at> flashner.co.il>
Date: Tue, 13 Jun 2023 10:54:01 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64042 in the body.
You can then email your comments to 64042 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#64042
; Package
guix-patches
.
(Tue, 13 Jun 2023 10:54:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 13 Jun 2023 10:54:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/system/image.scm (system-disk-image)[partition-image]: Adjust the
inputs used by the image-builder to only use the packages necessary to
build that partition.
---
gnu/system/image.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/system/image.scm b/gnu/system/image.scm
index 958ba5cbb2..81346495c2 100644
--- a/gnu/system/image.scm
+++ b/gnu/system/image.scm
@@ -418,7 +418,14 @@ (define* (system-disk-image image
(with-imported-modules*
(let ((initializer (or #$(partition-initializer partition)
initialize-root-partition))
- (inputs '#+(list e2fsprogs fakeroot dosfstools mtools))
+ (inputs '#+(cond
+ ((string-prefix? "ext" type)
+ (list e2fsprogs fakeroot))
+ ((or (string=? type "vfat")
+ (string-prefix? "fat" type))
+ (list dosfstools fakeroot mtools))
+ (else
+ '())))
(image-root "tmp-root"))
(sql-schema #$schema)
base-commit: b188c41d930dbe8142c1f377d3c8f2580ff1277c
prerequisite-patch-id: 2ed36a7d0b049eb3bad8e16c2c167735bc8fbee1
prerequisite-patch-id: 68db7897e7d9cdcb940175892e8f5b0637a27cb1
prerequisite-patch-id: 830b043d4bee7ea66530e11972e65ad390b89ece
prerequisite-patch-id: 55858a370c68c4b64ccadd34a3e03e22bfb3cc7d
prerequisite-patch-id: bc9f36d509bee03fcbc238acb6ba722c32e5f7aa
prerequisite-patch-id: b8b557edd1da6a6347928d5b6fe9728f71e69d58
--
Efraim Flashner <efraim <at> flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
Information forwarded
to
guix-patches <at> gnu.org
:
bug#64042
; Package
guix-patches
.
(Sun, 18 Jun 2023 21:31:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 64042 <at> debbugs.gnu.org (full text, mbox):
Hi,
Efraim Flashner <efraim <at> flashner.co.il> skribis:
> * gnu/system/image.scm (system-disk-image)[partition-image]: Adjust the
> inputs used by the image-builder to only use the packages necessary to
> build that partition.
LGTM!
Ludo’.
Reply sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
You have taken responsibility.
(Mon, 19 Jun 2023 13:34:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
bug acknowledged by developer.
(Mon, 19 Jun 2023 13:34:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 64042-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Patch pushed!
--
Efraim Flashner <efraim <at> flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 18 Jul 2023 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 28 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.