linux-initrd: Use 'call-with-error-handling' when booting.
* guix/build/linux-initrd.scm (canonicalize-device-spec): When label
resolution fails, call 'error' instead of 'format' + 'start-repl'.
(boot-system): Wrap most of body in 'call-with-error-handling'.
Remove 'catch' around 'primitive-load' call.
linux-initrd: Remove unused local procedure.
* guix/build/linux-initrd.scm (boot-system)[resolve]: Remove.
gnu: Add youtube-dl.
* gnu/packages/video.scm (youtube-dl): New variable.
doc: Write about file system configuration.
* doc/guix.texi (Using the Configuration System): Change 'guix system
boot' to 'guix system reconfigure'.
(File Systems, User Accounts, Services): New nodes.
linux-initrd: Gracefully handle lack of or invalid ext2 superblocks.
Reported by David Thompson <dthompson2@worcester.edu>.
* guix/build/linux-initrd.scm (read-ext2-superblock): Add
'superblock-size' variable. Read with 'get-bytevector-n!' instead of
'getbytevector-n', and make sure we read exactly SUPERBLOCK-SIZE
bytes.
gnu: pdf: Add PoDoFo.
* gnu/packages/pdf.scm (podofo): New variable.
gnu: Add cmatrix.
* gnu/packages/games.scm (cmatrix): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu: Add node.
* gnu-system.am (GNU_SYSTEM_MODULES): Add new package.
* gnu/packages/node.scm: New file.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
services: Add lshd service.
* gnu/services/ssh.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
linux-initrd: Rename 'qemu-initrd' to 'base-initrd'.
* gnu/system/linux-initrd.scm (qemu-initrd): Rename to...
(base-initrd): ... this.
* gnu/system.scm (<operating-system>)[initrd]: Update accordingly.
* gnu/system/vm.scm (expression->derivation-in-linux-vm,
system-disk-image, virtualized-operating-system): Likewise.
linux-initrd: Disable QEMU networking by default.
* gnu/system/linux-initrd.scm (qemu-initrd): Remove default value for
#:qemu-networking?.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Pass
#:qemu-networking? #t.
(system-disk-image): Remove #:qemu-networking? #f.
(virtualized-operating-system): Pass #:qemu-networking? #t.
linux-initrd: Make the virtio kernel modules optional.
* gnu/system/linux-initrd.scm (qemu-initrd): Add #:virtio? parameter.
Use it.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Pass
'qemu-initrd' #:virtio?.
(virtualized-operating-system): Likewise.
gnu: Add jrnl, python-pycrypto, python-keyring, python-parsedatetime, and python-tzlocal.
* gnu/packages/jrnl.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/python.scm (python-pycrypto, python-keyring,
python-dateutil-2, python-parsedatetime, python-tzlocal): New
variables.
guix: Add CC0 license.
* guix/licenses.scm (cc0): New variable.
gnu: Add behave, python-six, python-enum34, python-parse-type, and python-parse.
* gnu/packages/python.scm (python-six, python-enum34, python-parse-type,
python-parse, behave): New variables.
gnu: Add goffice and gnumeric
gnu/packages/gnome.scm (goffice, gnumeric): New variables.
guix-register: Add explicit libgcrypt initialization.
* nix/guix-register/guix-register.cc (main): Add calls to
'gcry_check_version' and 'gcry_control', to appease libgcrypt.
gnu: Add ncmpcpp.
* gnu/packages/mpd.scm (ncmpcpp): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
services: udev: Make sure modules are found, and use "udevadm settle".
* gnu/services/base.scm (udev-service): Set $LINUX_MODULE_DIRECTORY. In
the parent, invoke "udevadm settle" before "udevadm trigger".