GNU bug report logs -
#27661
[PATCH] build: Make ISO-9660 image bootable from USB flash drive.
Previous Next
Full log
Message #52 received at 27661-done <at> debbugs.gnu.org (full text, mbox):
Hi Ludo,
On Tue, 18 Jul 2017 15:08:49 +0200 ludo <at> gnu.org (Ludovic Courtès) wrote:
>--- a/gnu/build/vm.scm
>+the result to OUTPUT. Unless SINGLE-FILE-OUTPUT? is true, the result is
>+copied recursively to OUTPUT.
What happens when SINGLE-FILE-OUTPUT? is true? :)
I'd say something like,
If SINGLE-FILE-OUTPUT? is true, copy a single file from /xchg to OUTPUT.
Otherwise, copy the contents of /xchg to a new directory OUTPUT.
>+ (if single-file-output?
>+ (let ((graph? (lambda (name stat)
>+ (member (basename name) references-graphs))))
>+ (copy-file (first (find-files "xchg" (negate graph?)))
Maybe raise error when there's more than one possibility?
>+derivation). In the virtual machine, EXP has access to all its inputs from
>+the store; it should put its output files in the `/xchg' directory, which is
>+copied to the derivation's output when the VM terminates, recursively, unless
>+SINGLE-FILE-OUTPUT? is true.
What if it's true?
>+++ b/guix/scripts/system.scm
[...]
>+ (system-disk-image os
>+ #:name (match file-system-type
>+ ("iso9660" "image.iso")
>+ (_ "disk-image"))
If we called it "disk-image" in the iso9660 case as well we'd not have this special case. Do we want to?
Overall LGTM!
This bug report was last modified 8 years and 2 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.