[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#27661] ISO-9660 image working and ready
From: |
Ludovic Courtès |
Subject: |
[bug#27661] ISO-9660 image working and ready |
Date: |
Tue, 18 Jul 2017 22:57:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Danny Milosavljevic <address@hidden> skribis:
> On Tue, 18 Jul 2017 15:08:49 +0200 address@hidden (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?
All good points, indeed. Pushed with these changes as
8d033e3e1607d5722ef7288208551d0331c8a853.
>>+++ 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?
I find it marginally nicer to have an explicit “.iso” suffix. I pushed
this part as 5058bf56843baf3c0d82fbf0addbb30f00572428.
Thank you!
Ludo’.
- [bug#27661] [PATCH v2] build: Make ISO-9660 image bootable from USB flash drive., (continued)
- [bug#27661] [PATCH v2] build: Make ISO-9660 image bootable from USB flash drive., Ludovic Courtès, 2017/07/12
- [bug#27661] ISO-9660 image working and ready, Danny Milosavljevic, 2017/07/12
- [bug#27661] ISO-9660 image working and ready, ng0, 2017/07/12
- [bug#27661] ISO-9660 image working and ready, Marius Bakke, 2017/07/13
- [bug#27661] ISO-9660 image working and ready, Danny Milosavljevic, 2017/07/14
- [bug#27661] ISO-9660 image working and ready, Ludovic Courtès, 2017/07/17
- [bug#27661] ISO-9660 image working and ready, Danny Milosavljevic, 2017/07/17
- [bug#27661] ISO-9660 image working and ready, Danny Milosavljevic, 2017/07/17
- [bug#27661] ISO-9660 image working and ready, Ludovic Courtès, 2017/07/18
- [bug#27661] ISO-9660 image working and ready, Danny Milosavljevic, 2017/07/18
- [bug#27661] ISO-9660 image working and ready,
Ludovic Courtès <=
- [bug#27661] ISO-9660 image working and ready, Danny Milosavljevic, 2017/07/14
- [bug#27661] ISO-9660 image working and ready, Ludovic Courtès, 2017/07/17
- [bug#27661] ISO-9660 image working and ready, Danny Milosavljevic, 2017/07/17
- [bug#27661] ISO-9660 image working and ready, Danny Milosavljevic, 2017/07/20