~ruther/guix-local

ref: 03776ebd36615277cfec6b85b84fc4cc8fcaa0bb guix-local/gnu/build d---------
9833bcfc — Danny Milosavljevic 8 years ago
build: Allow mounting of entire disks.

* gnu/build/file-systems.scm (disk-partitions): Also return entire drives.
49962b15 — Ludovic Courtès 8 years ago
activation: Make sure /etc exists.

Fixes <http://bugs.gnu.org/27146>.
Reported by ng0 <ng0@pragmatique.xyz>.

* gnu/build/activation.scm (activate-etc): Add call to 'mkdir-p'.
8d033e3e — Ludovic Courtès 8 years ago
vm: 'iso9660-image' produces a single-file output.

* gnu/system/vm.scm (expression->derivation-in-linux-vm): Add
  #:single-file-output? and pass it to 'load-in-linux-vm'.
(iso9660-image): Pass #:single-file-output? to
'expression->derivation-in-linux-vm'.
* gnu/build/vm.scm (load-in-linux-vm): Add #:single-file-output? and
honor it.
21ffcd65 — Tobias Geerinckx-Rice 8 years ago
vm: Increase disk size overhead estimate.

* gnu/build/vm.scm (estimated-partition-size): Add 25% to the graph size.
0862b954 — Tobias Geerinckx-Rice 8 years ago
build, vm: Use a less common label.

* gnu/build/vm.scm (initialize-hard-disk): Use "GuixSD_image" as label.
* gnu/system/install.scm (installation-os): Likewise.
* gnu/system/vm.scm (system-disk-image): Likewise.
911a53a5 — Danny Milosavljevic 8 years ago
build: Make ISO-9660 image bootable from USB flash drive.

* gnu/build/vm.scm (make-iso9660-image): Make image bootable from USB flash
drive.
651de2bd — Danny Milosavljevic 8 years ago
build, vm: Use "GuixSD" or "GUIXSD" as volume label.

* gnu/build/vm.scm (initialize-hard-disk): Use "GuixSD" as label.
* gnu/system/install.scm (installation-os): Use "GuixSD" as label.
* gnu/system/vm.scm (system-disk-image): Use "GuixSD" or "GUIXSD" as volume
label.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
08c1f2d2 — Danny Milosavljevic 8 years ago
build: Add (gnu build file-systems) import.

* gnu/build/vm.scm: Add (gnu build file-systems) import.
4f80be73 — Danny Milosavljevic 8 years ago
build: Clarify error message when make-iso9660-image fails.

* gnu/build/vm.scm (make-iso9660-image): Clarify error message.
1feb3076 — Danny Milosavljevic 8 years ago
build: Allow specifying volume-uuid with make-iso9660-image.

* gnu/build/file-systems.scm (iso9660-uuid->string): Export.
* gnu/build/vm.scm (make-iso9660-image): Add volume-uuid.
be1033a3 — Danny Milosavljevic 8 years ago
build: Add iso9660 system image generator.

* build-aux/hydra/gnu-system.scm (qemu-jobs): Add 'iso9660-image .
* gnu/build/vm.scm (make-iso9660-image): New variable.  Export it.
* gnu/system/vm.scm (iso9660-image): New variable.  Use make-iso9660-image.
(system-disk-image): Use iso9660-image.
1b0f266e — Ludovic Courtès 8 years ago
gnu: Switch guile-cairo and dependents to Guile 2.2 again.

Fixes <https://bugs.gnu.org/27551>.
Reported by Leo Famulari <leo@famulari.name>.

This reinstates the following commits:

  e3ddb1e83 * gnu: guile-cairo: Switch to Guile 2.2.
  ae5c6ef39 * gnu: guile-gnome: Update to 2.16.5.
  0fd8013fc * gnu: guile-rsvg: Update to commit 05c6a2fd.
  66b9183c4 * gnu: guile-lib: Switch to Guile 2.2.

and adds the following changes:

* gnu/bootloader/grub.scm (svg->png): Add 'package->derivation' call for
GUILE-2.2.  Pass #:guile-for-build to 'gexp->derivation'.
* gnu/build/svg.scm (svg->png): Add 'em' and 'ex' to the 'let-values'
form to account for all the values returned by
'rsvg-handle-get-dimensions', which Guile 2.2 does not truncate.
9c0a05b3 — Danny Milosavljevic 8 years ago
file-systems: iso9660-uuid->string: Use "-" as separator in the result.

* gnu/build/file-systems.scm (iso9660-uuid->string): Use "-" as separator
in the result.
a2278922 — Ludovic Courtès 8 years ago
vm: Use 'fold2' from (guix combinators).

* gnu/build/vm.scm: Use (guix combinators).
(fold2): Remove.
a8ac4f08 — Ludovic Courtès 8 years ago
vm: Estimate the disk size by default.

* gnu/build/vm.scm (estimated-partition-size): New procedure.
* gnu/system/vm.scm (expression->derivation-in-linux-vm):
Change #:disk-image-size default to 'guess.
[builder]: When DISK-IMAGE-SIZE is 'guess, use
'estimated-partition-size' and compute and estimate of the image size.
(qemu-image): Likewise.
* guix/build/store-copy.scm (file-size, closure-size): New procedures.
* guix/scripts/system.scm (%default-options): Change 'image-size' to
'guess.
* doc/guix.texi (Building the Installation Image): Remove '--image-size'
flag from example.
(Invoking guix system): Document the image size estimate.
a2cf57e7 — Ludovic Courtès 8 years ago
vm: Display the disk and partition sizes.

* gnu/build/vm.scm (load-in-linux-vm): Add 'format' call when
MAKE-DISK-IMAGE? is true.
(initialize-partition-table): Show the size of the partitions being
created.
6efb98ed — Ludovic Courtès 8 years ago
vm: Fix 'load-in-linux-vm' docstring.

* gnu/build/vm.scm (load-in-linux-vm): Change default value of
  #:disk-image-size.  Update docstring to note that DISK-IMAGE-SIZE is
  in bytes.
5fa7cc53 — Ludovic Courtès 8 years ago
marionette: Factorize 'wait-for-file'.

* gnu/build/marionette.scm (wait-for-file): New procedure.
* gnu/tests/base.scm (run-mcron-test)[test](wait-for-file): Remove.
Pass second argument in 'wait-for-file' calls.
* gnu/tests/ssh.scm (run-ssh-test)[test](wait-for-file): Remove.
Pass second argument in 'wait-for-file' calls.
* gnu/tests/messaging.scm (run-xmpp-test)[test](guest-wait-for-file):
Remove.
Use 'wait-for-file' instead, with second argument.
b53510e0 — Adam Van Ymeren 8 years ago
file-systems: Handle EIO error in 'ENOENT-safe' as well.

Trying to boot GuixSD when an audio CD is in the drive will die with an
"input/output error" when trying to read the superblock from the cd
drive.

This patch catches and warns in this case rather than dying.

* gnu/build/file-systems.scm (ENOENT-safe): Handle EIO.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
a81cae38 — Danny Milosavljevic 8 years ago
file-systems: Provide string->ext*-uuid, string->btrfs-uuid.

* gnu/build/file-systems.scm (string->ext2-uuid, string->ext3-uuid,
string->ext4-uuid, string->btrfs-uuid): New variables.  Export them.
Next