~ruther/guix-local

ref: 2db3a03445aed196ffdcd0a92fe642b4e72d8745 guix-local/gnu/build d---------
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.
bb7cf4f5 — Danny Milosavljevic 8 years ago
file-systems: Provide string->iso9660-uuid.

* gnu/build/file-systems.scm (string->iso9660-uuid): New variable.  Export it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
c6aee77e — Danny Milosavljevic 8 years ago
file-systems: Use creation time if modification time is unset for ISO9660.

* gnu/build/file-systems.scm (iso9660-superblock-uuid): Modify.
fb03f44b — Danny Milosavljevic 8 years ago
file-systems: Improve error handling in the iso9660 case - fixes boot problem.

* gnu/build/file-systems.scm (read-iso9660-superblock): Modify.
203a9455 — Danny Milosavljevic 8 years ago
file-systems: Improve error reporting.

Suggested by Chris Marusich <cmmarusich@gmail.com>.
Fixes <https://bugs.gnu.org/27143>.

* gnu/build/file-systems.scm (read-iso9660-primary-volume-descriptor):
Improve error reporting.
cdc701ea — Danny Milosavljevic 8 years ago
gnu: build: Improve comments.

* gnu/build/file-systems.scm (iso9660-superblock-volume-name):
Add clarifying comment.
41db5a75 — Ludovic Courtès 8 years ago
activation: Change permissions on /root to #o700.

Reported by Alex Griffin <a@ajgrf.com>.
Fixes <http://bugs.gnu.org/27135>.

* gnu/build/activation.scm (add-user): When UID is zero, add 'chmod'
call.
* gnu/tests/base.scm (run-basic-test)["permissions on /root"]: New test.
6f8cda18 — Marius Bakke 8 years ago
Merge branch 'master' into staging
Next